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
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

permutations - January 23, 2009 - 17:26

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

igorik - January 23, 2009 - 17:56
Status:active» closed

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

permutations - January 23, 2009 - 18:05
Assigned to:Anonymous» permutations

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

agrigor1 - February 28, 2009 - 17:11

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

permutations - February 28, 2009 - 18:54

agrigor1 - just FYI... Reporting the same problem in multiple issue threads doesn't get me to respond faster, it just annoys me.

#6

bfdexp - March 1, 2009 - 21:25
Status:closed» active

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

agrigor1 - March 2, 2009 - 19:36

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

agrigor1 - March 3, 2009 - 18:24

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

 
 

Drupal is a registered trademark of Dries Buytaert.