• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Joomla, Drupal, and Wordpress (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

some things not working in Drupal integration

Integration help for Joomla, Drupal, and Wordpress

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
4 posts • Page 1 of 1

Postby permutations » Thu Apr 24, 2008 1:42 pm

I'm running Drupal 5.7 and phpfreechat 1.1, and I'm seeing a few problems. I don't think the problems are related to running phpfreechat 1.1 instead of 1.0-final because the same problems are reported on Drupal with 1.0 (beta and final). Here are the problems I've noticed:

- The default channels are ignored when you launch the chat, and there is this error message:

Missing parameter (/join {channelname})

- The default title is ignored. Instead of using the title you specify or the name of the node, it uses "My chat" (the default).

- I hear no sounds. I did when I first ran it, but no more. When are there supposed to be sounds (on join? on sending message? on receiving message?). Come to think of it, I don't see this when running outside Drupal, either.

- There is a problem with scrolling in IE7 when the chatbox fills with text. According to the report below, this problem is caused by running the chat inside a table, as it is in Drupal (at least with my theme):

http://www.phpfreechat.net/forum/viewtopic.php?id=1204

Is there any way around this (besides not using IE7)?

- The phpfreechat blocks don't work - they are all empty. Actually, the didn't display at all until I added an "include" line that was missing.

- Nothing is written to the phpfreechat table in the Drupal database. I don't know if this is the cause of the problems or not. I do see phpfreechat data in the variables table. What is the phpfreechat table supposed to be used for? The MySQL database container, maybe? Or is the fact that it's empty a bug?

I'm a PHP programmer, but I haven't written Drupal modules and there's no documentation on how the module works. I do understand module basics like hooks - I wrote the theme for my site. If you can give me a brief overview of the module structure (where is data stored, etc.), I can help look for the bugs.

Please take a look at this! Chat is important on my site, and I upgraded our version of Drupal just so I could run phpfreechat.
permutations
Member
 
Posts: 88
Joined: Thu Apr 24, 2008 1:09 pm
Top

Postby permutations » Tue Apr 29, 2008 7:02 am

I sat down with the code and fixed all the bugs myself. I've posted all the changes in the phpfreechat project space on Drupal:

Database bug (fix this first - blocks bug needs it):
http://drupal.org/node/250069

Blocks bug:
http://drupal.org/node/200962

Scrolling bug in IE 7:
http://drupal.org/node/225162

Rooms and other default settings bug:
http://drupal.org/node/187468

The author of the Drupal module never answered my messages and I don't know how to get the changes incorporated into a release version. But you can copy and paste the code into your own copy and everything will work.
Last edited by permutations on Thu May 01, 2008 4:22 am, edited 1 time in total.
permutations
Member
 
Posts: 88
Joined: Thu Apr 24, 2008 1:09 pm
Top

Postby permutations » Thu May 01, 2008 4:27 am

I made a few last changes (including updating the module for phpFreeChat 1.1), updated the module version to 5.x-1.1, and posted the full package on my Web site here:

http://permutations.com/drupal/phpfreechat.php

I emailed the original author of the module about creating a new download, but he never answered me. There were too many changes to track of as individual patches.
permutations
Member
 
Posts: 88
Joined: Thu Apr 24, 2008 1:09 pm
Top

Postby permutations » Sat Nov 29, 2008 5:40 am

I updated the phpFreeChat module for Drupal to 5.x-1.2. A few more bugs are fixed and it includes an "away" command.

http://permutations.com/drupal/phpfreechat.php

Those not using Drupal can grab the "away" command from the "extras" directory.

This package also will be uploaded to Drupal.org in the next day or two - I'm still learning CVS.
permutations
Member
 
Posts: 88
Joined: Thu Apr 24, 2008 1:09 pm
Top


Post a reply
4 posts • Page 1 of 1

Return to Joomla, Drupal, and Wordpress (v1.x)

Who is online

Users browsing this forum: No registered users and 1 guest

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
cron
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub