vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Flashchat: Who is chatting (https://vborg.vbsupport.ru/showthread.php?t=73042)

ncangler 03-27-2005 06:13 PM

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.

xtreme-mobile 03-27-2005 06:14 PM

yeh sounds as if that would be a handy feature to have :)

Mosh 03-28-2005 12:04 AM

[high]* Mosh clicks install
[/high]
Thanks again, like the hoverover feature so that you can see what room a member is in.

jd :)

m0nde 03-29-2005 01:10 AM

Quote:

Originally Posted by Paul M
I have made a cpms module, based on Eric's version for my "Members who have visited today" hack.

As previously mentioned - I have no way of testing this - but others have confirmed it as working.

It works flawlessly on my board: http://www.bostonlove.org

Nice work, Paul

Mr_Bob 03-29-2005 05:37 AM

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.

I'm currently beta testing FlashChat 4.0, it becomes more apparent as a logout button (it now includes a mouseover X :cool: ). 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 :).

Paul M 03-29-2005 04:36 PM

Quote:

Originally Posted by Mr_Bob
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.

wirewolf 04-11-2005 05:23 PM

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

ncangler 04-11-2005 05:38 PM

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 :cool: ). 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 :).


ncangler 04-11-2005 05:41 PM

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.

John


wirewolf 04-11-2005 05:46 PM

Quote:

Originally Posted by ncangler
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:
PHP Code:

href="forumdisplay.php?$session[sessionurl]do=markread" 

and in form inputs,
PHP Code:

value="$session[sessionhash]

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.

John


All times are GMT. The time now is 02:51 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01313 seconds
  • Memory Usage 1,773KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete