Quote:
Originally Posted by ncangler
You need to make sure that your users click on the Red exit button in the upper right corner of the FlashChat screen before leaving. That logs them out of the chat but they stay logged in to the MysQL database of the site (assuming your forum, chat, etc. are integrated in the same MySQL database. At least this is the way it works on my system.
I'd like to figure out a way to label that red button as "Exit" or "log out Chat" or something like that.
|
ncangler and all,
Go to the chat/inc/langs/en.php file , near the end of the file, around line 222, look for:
PHP Code:
'room' => 'Room',
'welcome' => 'Welcome USER_LABEL',
'ringTheBell' => 'No Answer? Ring The Bell:',
'logOffBtn' => 'X',
Edit to:
PHP Code:
'room' => 'Room',
'welcome' => 'Welcome USER_LABEL , Note: Please use "Exit the Chat Room" Button when you want to log out of Chat',
'ringTheBell' => 'No Answer? Ring The Bell:',
'logOffBtn' => 'Exit the Chat Room',
, Or what ever wording you care to use, but you get the idea. This is only the english langauge file. Of course you would have to edit all the langauge files if you are using them.
See the screen shot:
Seems to help, but I wish ther was a way to have users log out when ever they leave the Chat Room automatically.
You can try this too: in the chat/inc/config.php around line 246,
PHP Code:
//Logout behavior
'logout' => array(
'close' => false, // if true, then FlashChat window is closed upon logout
Change to:
PHP Code:
//Logout behavior
'logout' => array(
'close' => true, // if true, then FlashChat window is closed upon logout
, The users is logged out of Chat by either hitting the "X" button, or if they close the window. If set to true, you won't get the Log In screen after logging out. The window will close and you won't still be shown in the chat room.
John