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.
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.
I'm currently beta testing FlashChat 4.0, it becomes more apparent as a logout button (it now includes a mouseover X ). Also in my tests at least the staying logged in problem can be corrected if you edit your chat config file and select close window on exit as true. This will have a small pop-up come up which logs them out of chat on either logging out or closing the window. It saved me countless headaches .
IAlso in my tests at least the staying logged in problem can be corrected if you edit your chat config file and select close window on exit as true. This will have a small pop-up come up which logs them out of chat on either logging out or closing the window. It saved me countless headaches .
Flashchat 3.9 has this, and it works fine in IE - the problem is that the pop-up is blocked by firefox unless you allow it.
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.
Great news! Thanks for letting us know. Any idea on release date? The CMPS hack that indicates who is in the Chat rooms is not that helpful as right now you see folks logged in that left some time ago. When it is accurate it will be very nice.
Quote:
Originally Posted by Mr_Bob
I'm currently beta testing FlashChat 4.0, it becomes more apparent as a logout button (it now includes a mouseover X ). Also in my tests at least the staying logged in problem can be corrected if you edit your chat config file and select close window on exit as true. This will have a small pop-up come up which logs them out of chat on either logging out or closing the window. It saved me countless headaches .
I can't view your attachment for some reason (I get a "not logged in" message with a log in screen...wierd). Thanks for the code. I'll give it a try. A visible message will certainly help folks 'do the right thing'.
Quote:
Originally Posted by wirewolf
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.
I can't view your attachment for some reason (I get a "not logged in" message with a log in screen...wierd). Thanks for the code. I'll give it a try. A visible message will certainly help folks 'do the right thing'.
We cross posted. I just added on to my post (two up) the same fix as Mr_Bob had about the config.php file . It seems to help.
One other thing. As you know in vbulletin we use session control for members in it's urls. Ex:
If a member fails to "Log Out" of the forum and just closes his browser, the session control will time out his session after a time as set by the admin, IE -
Quote:
Time-Out for Cookie - This is the time in seconds that a user must remain inactive before any unread posts are marked read. This setting also controls how long a user will remain on Who's Online after their last activity. set to - 900 seconds (15 minutes)
and the users name is then removed from the forum online list automatically. I'm just wondering if this Time out could be incorporated in to flashchat, or could a session url be added to to /site@url.com for flashchat.
Like
PHP Code:
href="chat/flashchat.php$session[sessionurl]"
. I'm going to give the session url a shot and see what happens.