Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
FlashChat - Who is in the chat. Details »»
FlashChat - Who is in the chat.
Version: 4.18, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.5.x Rating:
Released: 06-28-2005 Last Update: 05-14-2006 Installs: 553
 
No support by the author.

This modification is no longer available or supported.

This is a simple display of who is currently chatting in FlashChat - on the forum homepage display.

The main features of Version 4.xx are basically the same as previous versions ;

1. It displays the list on Forum Home with the "Users online" display.
2. The list view is collapsable, so you see just the number.
3. Users who should display as coloured or bold etc are displayed correctly (based on the display usergroup)
4. If you 'hover' over a username it will show the room they are chatting in and their status (away etc).
5. If the chat is empty, a simple "no one is chatting" message is displayed.
6. The hack is now phrased.
7. The ability to turn it on/off is in the ACP Forum Home Options.
8. The ability to allow only certain usergroups to view the list is an ACP option.
9. The location of the flashchat folder is now an ACP option (vBulletin Options > Forums Home Page Options).

Unzip the XML and import into vB using the ACP Product Manager.

To upgrade from version 4.10 onwards, you need to re-import the product with the overwrite option set to yes. To upgrade from version 4.02 to version 4.10 onwards, you need to uninstall the product and remove the template code in FORUMHOME - then upload the new product. To upgrade from version 3.xx to version 4.xx you need to delete the existing plugin and remove the template code in FORUMHOME - then upload the new product.

* An add-on to display a 'Most ever chatters' count is available here.


Note: This hack cannot display any bots in the chat, due to the strange way that flashchat stores this information. Please also note that I am not Tufat.com or anything to do with the Flashchat product - if you have questions about Flashchat in general, their forums are here.



History:

v4.10 : Removed the need to edit the FORUMHOME template.
v4.11 : Hyperlinked display icon to chat page. Added vb number formatting to count.
v4.12 : Added ALT tag to above hyperlink.
v4.13 : Updated ACP view permission option to take into account secondary groups.
v4.14 : Added 'nofollow' attribute to listed usernames.
v4.15 : Restricted list based on flashchat autologout parameter, to get round the issue of connections not being cleaned up.
v4.16 : Minor changes, no update necessary.
v4.17 : Added members status to hover information.
v4.18 : Re-wrote status code to take account of custom status definitions.

Show Your Support

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

Comments
  #72  
Old 10-02-2005, 06:07 PM
matteveryday matteveryday is offline
 
Join Date: Jul 2005
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Usernames seem to get stuck in the "who's chatting" box. When they leave the chat room, their username remains in the "who's chatting".
Reply With Quote
  #73  
Old 10-02-2005, 06:11 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

Read post 59.
Reply With Quote
  #74  
Old 10-03-2005, 05:42 AM
misticjeff misticjeff is offline
 
Join Date: Aug 2004
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Paul,

Thanks for the great hack!!

Just a question... since the xml plugin is telling flashchat to post the information in ForumHome couldn't it just as well tell it to post it anywhere the user wants? For instance, I'd like to have a module on the front page of my site telling who's online in chat. I can get the module built and all the info is there except the users. How can I get the call to point where i want it?
Reply With Quote
  #75  
Old 10-03-2005, 08:48 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vB doesn't work like that, the code is attached to a "hook" that is only called by index.php, so the data is only available on that page (the forum homepage). In theory you could attach it to a more global hook, but then the code would be run on every page, regardless of whether you actually use the results.
Reply With Quote
  #76  
Old 10-03-2005, 09:24 AM
misticjeff misticjeff is offline
 
Join Date: Aug 2004
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

THanks... found what i was looking for over at the vBadvanced forums... someone managed to do it.

http://www.vbadvanced.com/forum/show...ight=flashchat
Reply With Quote
  #77  
Old 10-06-2005, 01:30 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now converted from a 'Plugin' to a 'Product' which means ;

* The hack is phrased.
* The ability to turn it on/off is an option in the ACP.
* The ability to allow only certain usergroups to view the list is an ACP option.
* The location of the Flashchat folder is now an ACP option.

If you are happy with it working as is - then obviously there is no requirement to upgrade - I will still support the old version (though I will strongly urge you to upgrade in most cases). If you wish to upgrade then you will need to delete the existing plugin, upload the new product, and replace the template code with the new version.
Reply With Quote
  #78  
Old 10-06-2005, 10:21 AM
hpwilhelm hpwilhelm is offline
 
Join Date: Mar 2002
Location: Norway
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Paul, thanks for the FlashChat integrations.

I got a sql-error with this one. Seems that " . $fcprefix . " gets the wrong prefix. It returns '_fc2_connections', while the table is 'flashchat_connections'. Works fine when I change to the correct table name in the product xml.

I installed 4.3.3 on a fresh database, with your integration file and instructions.

Keep up the good work!
Reply With Quote
  #79  
Old 10-06-2005, 05:41 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 hpwilhelm
Hi Paul, thanks for the FlashChat integrations.

I got a sql-error with this one. Seems that " . $fcprefix . " gets the wrong prefix. It returns '_fc2_connections', while the table is 'flashchat_connections'. Works fine when I change to the correct table name in the product xml.

I installed 4.3.3 on a fresh database, with your integration file and instructions.

Keep up the good work!
You don't need to change anything in the hack, it reads the prefix from you flashchat config.srv.php - you obviously have the wrong prefix in this.
Reply With Quote
  #80  
Old 10-08-2005, 07:39 AM
vibe vibe is offline
 
Join Date: Jan 2005
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you da man
Reply With Quote
  #81  
Old 10-08-2005, 02:56 PM
weaver weaver is offline
 
Join Date: Mar 2004
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How would I add my bot's name to the list of users in chat? It shows 1 user is in chat but there is no one listed. It would be nice to have the bot's name there.
Reply With Quote
Reply


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:18 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05947 seconds
  • Memory Usage 2,312KB
  • 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
  • (1)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