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
  #382  
Old 08-12-2006, 05:28 AM
tamborinegal's Avatar
tamborinegal tamborinegal is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Paul,

I hope you can help me. I've had this add-on installed for months and working perfectly but today my host restarted mysql and now I am getting the error below.

Do you have any idea what could be causing this?
Code:
Invalid SQL:

SELECT connections.userid, connections.roomid, rooms.name, rooms.ispublic, connections.state,
connections.start,user.usergroupid, user.displaygroupid, user.options, user.username, 
groupa.opentag as opentaga, groupa.closetag as closetaga, 
groupb.opentag as opentagb, groupb.closetag as closetagb
FROM flashchat_connections as connections
LEFT JOIN flashchat_rooms as rooms ON(connections.roomid = rooms.id)
LEFT JOIN vb3_user as user ON(connections.userid = user.userid)
LEFT JOIN vb3_usergroup as groupa ON(user.usergroupid = groupa.usergroupid)
LEFT JOIN vb3_usergroup as groupb ON(user.displaygroupid = groupb.usergroupid)
WHERE connections.userid > 0 AND connections.ip != '0.0.0.0' 
AND connections.updated > DATE_SUB(NOW(),INTERVAL 120 SECOND) 
ORDER BY start;

MySQL Error  : Can't open file: 'flashchat_connections.MYI'. (errno: 145)
Error Number : 1016
Thanks,

Clancy
Reply With Quote
  #383  
Old 08-12-2006, 05: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

You need to repair the flashchat_connections table via the maintenance section of the ACP.
Reply With Quote
  #384  
Old 08-12-2006, 05:41 AM
tamborinegal's Avatar
tamborinegal tamborinegal is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
You need to repair the flashchat_connections table via the maintenance section of the ACP.
Thanks for the quick response Paul.

I tried what you suggested and got the following errors.

Code:
flashchat_connections Check Warning: Table is marked as crashed 
flashchat_connections Check Warning: 2 clients are using or haven't closed the table properly 
flashchat_connections Check Error: Checksum for key: 2 doesn't match checksum for records 
flashchat_connections Check Error: Checksum for key: 4 doesn't match checksum for records 
flashchat_connections Check Error: Corrupt 
flashchat_connections
Should I have re-enabled the plugin first?

Clancy
Reply With Quote
  #385  
Old 08-12-2006, 06:14 AM
tamborinegal's Avatar
tamborinegal tamborinegal is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ran it through again and now it's working again. I don't know why it all stopped working but it's ok now which is great. My forum members are chatters and they would have missed this.

Thanks for your help Paul.

Clancy
Reply With Quote
  #386  
Old 08-12-2006, 06:31 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

Quote:
Originally Posted by tamborinegal
Thanks for the quick response Paul.

I tried what you suggested and got the following errors.

Should I have re-enabled the plugin first?

Clancy
That output is normal - that's the repair telling you what it found wrong. Running it again should come back with OK, indicating the repair worked. The fault was caused by mysql not shutting down properly.
Reply With Quote
  #387  
Old 08-14-2006, 10:59 PM
Mysticales's Avatar
Mysticales Mysticales is offline
 
Join Date: Oct 2005
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, thanks. =)
Reply With Quote
  #388  
Old 08-16-2006, 03:09 PM
barryhand barryhand is offline
 
Join Date: Jul 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway to use the variables outside the main forum pages.

I want to call $totalchatters on the navbar.

Anyone got the code needed to be added, can I call the hook on globals.php.

This has been requested many time, surely someone has a fix

PS (Great Mod)
Reply With Quote
  #389  
Old 08-16-2006, 05:07 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

If you change the hook in the "Members in Flashchat (2)" plugin from forumhome_start to global_start then the variables will be available on any page - note it will add one query to every page.
Reply With Quote
  #390  
Old 08-16-2006, 07:50 PM
barryhand barryhand is offline
 
Join Date: Jul 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers Paul.

It's a really good feature to have that.

You might look into streamlining that function
Reply With Quote
  #391  
Old 08-16-2006, 08:58 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

Most people do not need it.
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 04:00 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.08837 seconds
  • Memory Usage 2,315KB
  • 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
  • (2)bbcode_code
  • (2)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
  • (3)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