Complete noob that dive into the deep end. Not sure if this is the right place to post, if not, I would appreciate getting pointed to the proper place.

phpfreechat is the one I am trying to get working.

I believe I have it installed correctly, I can see the mod and I can configure it...but...how do I access a chat room? Or how do I link to the chat room from a menu?

Very confused

Vmpre

Comments

Vmpre’s picture

I set the Content type to Always and now I get this error when access the node

Error: undefined or obsolete parameter 'theme_url', please correct or remove this parameter

Any ideas?

Willdex’s picture

Don't know how to fix it yet.

lionheart8’s picture

I installed the php-chat not long ago, but not today. In the course of trying to do some unconnected configurations, I realized whenever I went to some pages I had created, the following error started turning up, out of the blue:

Please correct these errors:

Error: undefined or obsolete parameter 'theme_url', please correct or remove this parameter

After seeing it being mentioned in connection to php-....chat, I decided to try disabling it. The problem immediately went away.

I think it is connected to it.

Willdex’s picture

It is definitely connected to it, and we're still looking for a way of fixing it...

pinnatus’s picture

I too would like to link a "global" chatroom to the menu and can't figure it out. With Beta 9 on Drupal 5 I can join chat rooms just fine within a blog/poll etc., but that's not the functionality I'm after, I just want a single chat room for my users. Is this doable?

gurukripa’s picture

hi. i did the following..i installed the module..and the 2 plus MB file also..but the name is a little different..its phpfreechat 1.8 etc..

anyways..i installed this folder in the modules/phpfreechat folder..so its phpfreechat inside phpfreechat...

well ..i dont know how to make it work...i get this error

phpFreeChat script is not found.
Before you can use this module you must download the script from http://www.phpfreechat.net/ and extract in to the /modules/phpfreechat/phpfreechat directory on your web server.
See INSTALL.txt for more details.

pls help..
thanks

shuklasp’s picture

I am also experiencing the same problem. I am getting following error message:

Please correct these errors:

* Error: undefined or obsolete parameter 'theme_url', please correct or remove this parameter

If someone has solution, please provide!

StrangeLove’s picture

I simply commented out the line:

$params['theme_url'] = base_path() . drupal_get_path('module', 'phpfreechat') . '/phpfreechat/themes'; in the file phpfreechat.module

and this seems to make it work. I haven't really looked at it further - I assume this is going to affect themes in some way.

igorik’s picture

Hi!

I installed Phpfreechat on my Drupal 4.7.6, everythings looks fine, but...
There is serious problem - I had chat enabled as always for blog, forum, event and always visible,
and now if there is visible chat (inside those content types) - I CANNOT LOGIN,,,
If I am on homepage, or on page where is not visible chat, login is correct.
This problem is on firefox, IE and Opera too.

Another "not nice" thing is that if I am reading article with visible chat, when anybody join in chat, page jumps down on chat window.
So if there is many users/visitors on page, it is impossible to read the article. (page each few seconds jump down on chat)

Sorry for my english

Igor www.somvprahe.sk

tomlin’s picture

I'm using drupal 4.7.6. I found that the ONLY version of phpfreehat that worked for me was 1.0-beta9.

1. Untarred phpfreechat-1.0-beta9.tar.gz into modules/phpfreechat (giving me modules/phpfreechat/phpfreechat).
2. admin >> modules and enabled the module.
3. admin >> access control and enabled all 3 permissions for "authorized" (you can do for both - I only wanted authorized to use).
4. admin >> settings >>phpfreechat and filled in Default Title and Default Channel. Left everthing else at defaults.
5. admin >> settings >> content types and set the "page" type to "show chat room" - per node.
6. admin >> settings >> page and filled in the Title and Body descriptions.

When I saved, the chat popped up. I made a note of the node (mine was node/64).

7. admin >> menues >>add item (to appropriate place, i.e. navigation) and filled in a title and description and for the path put in node/64.

That added a menu item and when i click on it, it fires up a "single" page for a "single" chat room.

I'm still fairly new at this and my way may be 'round about, but it works how I want it.

YMMV

I did encounter a problem with the link beneath the chat window "clear chat log for xxxx". It couldn't find a specific file/directory. I edited:

modules/phpfreechat/phpfreechat.module and changed lines 347-349

/* if (user_access('admin phpfreechat')) {
$output .= l('Clear chat log for '.$node->title, 'phpfreechat/nuke/'.strtolower(str_replace(' ', '', $node->title)));
}*/

So, I'm not able to clear the logs that aren't created anyway. I just did all this today, so I'm not sure if I'll run into trouble down the road. I'm going to try and test it thoroughly .

Good luck.

Tomlin

scarer’s picture

Hi,

Just wondering, how do you set up multiple chat rooms to be displayed and navigated to from the one node?

I've set up my page type nodes to be associated with chat always.

I have nominated some chat rooms in the chat room settings separated by commas.

Only the one chat room is appearing.

Any help would be great.

Cheers,

Sarah