phpfreechat 6.1.1 doesn't use user names, but word anonymous is instead it
igorik - January 23, 2009 - 16:58
| Project: | phpfreechat |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | permutations |
| Status: | active |
Jump to:
Description
Hi
I enabled phpfreechat 6.1.1, so I have phpfreechat settings already.
I set default title and default channel only and rest is default.
I set it for content type page, with visibility option Per node.
After phpfreedchat is loaded, I see that it doesn't use nicknames of users,
Anonymous xxx is instead user name. Except this, The name anonymous xxx which is instead my username, changed each second!!! to another number - e.g. Anonymous411
(Anonymous213 changes nickname to Anonymous410 etc, each second) (I test it with only one user)
thanks
Igorik

#1
I had this problem, too, and I explained in the install.txt file how to fix it. You must set the $base_url variable in your Settings.php file. By default this is commented out. I have phpFreeChat installed in a subdirectory, so my Settings.php file has this line:
$base_url = 'http://www.permutations.com/drup'; // NO trailing slash!
This is where I have Drupal 6.9 installed on my site. You can go to this URL and see it (and phpFreeChat).
#2
oops, you are right, I didn't notice it (I thought that allow for drupal in subdirectories only)
I am sorry.
Now, I set base_url to: http://www.somvprahe.sk , it works great.
Thanks for explanation, I am closing this issue.
Igorik
#3
I don't know why this is necessary. There is code in the module to determine the base_url and I know it works correctly - I checked. But for some reason, base_url needs to be set in Settings.php for phpFreeChat to recognize the login. It took me many hours to find the fix for this - longer than the update of the entire rest of the module.
#4
It still has problems.
When you click to the user nickname and his profile you get YOUR profile, not the one of the other user.
Also there is no option to send private messages.
#5
agrigor1 - just FYI... Reporting the same problem in multiple issue threads doesn't get me to respond faster, it just annoys me.
#6
Looked at this issue.
It has to do with the following:
1. Chat is designed to append a temporary number at the end of anonymous when they start the session. The issue is that every time the screen refreshes, it resets this number and chat session.
My Suggested fixes:
1. BEST - When an anonymous user logs into the chat, make a pop-up to ask for a username that will remain in effect until the user disconnects.
2. When an anonymous user logs into the chat, append the username with an unique number as it currently does. Just do not kill the name until the user disconnects from the chat.
#7
I am very sorry I annoyed you.
I am a newbie with drupal, so forgive me.
I also believed that I posted some other issues on phpfreechat with some code changes and now I see nothing.
I dont know, maybe it was too late at night... or someone has deleted them.
#8
igorik
Do private messages work for you?
If yes, could you help me with my server settings?
It seems it doesnt work to me and I cannot figure out why
I have drupal 6.9