Download & Extend

Anonymous nicknames change every two seconds

Project:phpfreechat
Version:6.x-1.1
Component:Miscellaneous
Category:support request
Priority:critical
Assigned:Unassigned
Status:closed (works as designed)

Issue Summary

On one of my sites I managed to install phpfreechat, my problem now is that the nickname keeps on changing and it is a logged in user (Not an Anonymous user) for example:

21/05/2009 15:38:03 * Anonymous418 changes nickname to Anonymous669
21/05/2009 15:38:05 * Anonymous669 changes nickname to Anonymous930
21/05/2009 15:38:08 * Anonymous930 changes nickname to Anonymous801
21/05/2009 15:38:10 * Anonymous801 changes nickname to Anonymous537
21/05/2009 15:38:13 * Anonymous537 changes nickname to Anonymous472
21/05/2009 15:38:15 * Anonymous472 changes nickname to Anonymous398
21/05/2009 15:38:17 * Anonymous398 changes nickname to Anonymous363
21/05/2009 15:38:19 * Anonymous363 changes nickname to Anonymous513

To see it live go to http://www.synecobusinessit.co.za/content/syneco-chat-room

And another thing is, on images (icons, smilies) are showing up, why, why???

Comments

#1

i have same problem too
please help

#2

Same problem here...
Drupal 6.12 phpfreechat 6.x.1.1
Drupal user no problem, chat works, but anonymous user doesn't work, nickname changes every 2 sec. (every time the chat refreshes..)
Please help...
How long will it take until this fix is done or how much money does it cost?!?

#3

Happening to me too - I just got around it by asking user's to logon manually. any joy in fixing this one ?

#4

THIS HAS BEEN REPEATEDLY POSTED!..... without the maintainer coughing up a fur ball of an answer. SO!

Doesn't anybody """READ""" the install.

Open the folder were your "chat" is....

Open index.php....

Change setting...

$params["isadmin"] = true; // do not use it on production servers ;)

TO

$params["isadmin"] = false; // do not use it on production servers ;)

EVEN if you change the setting in site configuration, which is not needed because it is set to false by default, you still have to change above.

Also, the change above is the "ONLY" change required for chat to work right out of the box if installed correctly.

The maintainer of this module requires $$$$$$ to answer a simple question, and does no documentation except copy/paste from phpfreechat....etc....etc...etc.
.
Grizz

#5

$params["isadmin"] = false; // do not use it on production servers ;)
is the default setting, I didn't make any changes there, but the problem as I described in #2 is still there.

#6

The solution to this problem is in the installation instructions included in the package. I get tired of answering the same question over and over. Read the instructions.

#7

Base url? or what?? I have read the installation instructions, but I can't find any hint on my issue..

#8

BASE URL:

...sites/default/settings.php

Default is:
*/
# $base_url = 'http://www.example.com'; // NO trailing slash!

/**

uncomment it, add site url

*/
$base_url = 'http://www.yourdomain.com'; // NO trailing slash!

/**

#9

Yes, I did this. I'm not a total newbie.. Base Url setting is definitely correct. Everything works fine with registered users, but anonymous usern can't use the chat, because every 2 sec (when chat refreshes) their nickname will be changed (new get a new randoom number like Anonymous123).

#10

People who are not logged in are not supposed to be able to chat. That is how the module is designed. It's integrated with the Drupal login. It is working as designed.

#11

Thats a pity..
As I said, I would spend some money if anybody could design this module with functionallity for anonymous user..

#12

I set my settings.php to the base url of my drupal installation, but I still get new anonymous users every 2 seconds when logged in.

Do I need to restart some service for this change to take effect, or is there something else that might be wrong?

Also, is there a way to avoid giving guests new anonymous nicknames every 2 seconds? This makes it so they can't navigate site at all, since the browser jumps to the chat window every time the nick changes.

#13

Hello, I have same problem with the phpfreechat 1.3 and anonymous users in Drupal 6.

I did the install and tested the chat trough /modules/phpfreechat/phpfreechat/demo
It works fine in all proposed configurations..
So the install was OK.
If I open the chat window in Drupal I see that icons are not shown (broken links) and that the logon for anonymous users keeps changing. I guess that the chatserver is not connected as I can not send/receive messages.
I did the changes as above mentioned but nothing changes.
What I found out that the broken links of the icons are caused by a wrong domain name. It is linked to:

www.www.mysite.com/sites/default/files/phpfreechat/public/themes/default...
For one or other reason the address get's a double www.
The rest is ok

Does somebody have the same trouble?

#14

I have followed the instructions and everything is working just fine for me on MAMP setup. I found that I had the changing anonymous nickname problem, but setting my base_url in sites/default/settings.php solved this problem for me.

#15

Title:nickname keeps on changing» Anonymous nicknames change every two seconds
Status:active» closed (works as designed)

I'll confirm that from what the maintainer says in #10 that this issue will not be fixed. He says that anonymous users are not intended to participate in chat, and based on the activity level on this module I bet it never intends to be that way.

I hope this helps some people get their final answer

#16

Version:6.x-1.x-dev» 6.x-1.1

I have this issue. The problem is if a user has multiple windows open in his browser, one or more with a chat on but logs out on another window the chat is still open, until someone happens to reload the chat page or close the browser completely. The user name changes to anonymousXXX and then changes number XXX every 2 seconds so the user never timeouts. Presumably this could cause server problems if many users leave chats open when they log out. All open chats must somehow be closed when a user logs out.

#17

Hi, any help really appreciated. When a user logs out I want all the users' active chats closed so that chats in browser windows left open do not continue to generate calls to handler.php. If I insert :

if (!user_is_logged_in()) drupal_goto('user/login');

in handler.php. I expect when an open chat calls handler.php the page should be redirected, but it doesn't work and generates an internal server error 500. What am I doing wrong! Thanks.

nobody click here