Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Flashchat: Who is chatting Details »»
Flashchat: Who is chatting
Version: 2.30, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.x Rating:
Released: 12-17-2004 Last Update: 09-28-2005 Installs: 225
 
No support by the author.

This modification is no longer available or supported.

This is a simple ForumHome display of who is currently using your Flashchat.

Version 2.20 is for use with Flashchat 4.1.x - however, it may work with older versions of Flashchat if set-up correctly.

The main features of Version 2.xx are ;

1. It displays the list on Forum Home with the "Users online" display.

2. The list view is collapsable, so you just see the number.

3. Users who should display as coloured or bold etc should be displayed correctly. (based on the display usergroup)

4. If you 'hover' over a username it will show the room they are chatting in.

5. If the chat is empty, a simple "no one is chatting" message is displayed.


Note: This will not display the names of any bots in the chat, due to the strange way that flashchat stores this information.


With help from Cyricx a CPMS module is located in this post. (Version 2.20 only, unsupported - use at your own risk).

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #102  
Old 03-27-2005, 06:13 PM
ncangler's Avatar
ncangler ncangler is offline
 
Join Date: Dec 2004
Location: North Carolina
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #103  
Old 03-27-2005, 06:14 PM
xtreme-mobile xtreme-mobile is offline
 
Join Date: Jul 2004
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeh sounds as if that would be a handy feature to have
Reply With Quote
  #104  
Old 03-28-2005, 12:04 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

jd
Reply With Quote
  #105  
Old 03-29-2005, 01:10 AM
m0nde's Avatar
m0nde m0nde is offline
 
Join Date: Mar 2005
Location: Toronto, ON Canada
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #106  
Old 03-29-2005, 05:37 AM
Mr_Bob's Avatar
Mr_Bob Mr_Bob is offline
 
Join Date: Jul 2004
Location: NJ, USA
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ). 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 .
Reply With Quote
  #107  
Old 03-29-2005, 04:36 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #108  
Old 04-11-2005, 05:23 PM
wirewolf's Avatar
wirewolf wirewolf is offline
 
Join Date: Jun 2004
Location: New York City
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #109  
Old 04-11-2005, 05:38 PM
ncangler's Avatar
ncangler ncangler is offline
 
Join Date: Dec 2004
Location: North Carolina
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 .
Reply With Quote
  #110  
Old 04-11-2005, 05:41 PM
ncangler's Avatar
ncangler ncangler is offline
 
Join Date: Dec 2004
Location: North Carolina
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #111  
Old 04-11-2005, 05:46 PM
wirewolf's Avatar
wirewolf wirewolf is offline
 
Join Date: Jun 2004
Location: New York City
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:11 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.08463 seconds
  • Memory Usage 2,336KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (9)bbcode_php
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete