The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Flashchat: Who is chatting Details »» | |||||||||||||||||||||||||
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
|
Comments |
#182
|
||||
|
||||
Quote:
Updated and re-uploaded. |
#183
|
|||
|
|||
Okay Paul, I debugged the rest for ya
Here's the other things you'll need to add to correct the module to work. For the forumhome hack so that it doesn't pick up the bots, also find this code in the inthechat.php file to fix it for the module. Replace this: Code:
$chatlist = $DB_site->query("SELECT connections.userid, connections.roomid, rooms.name, rooms.ispublic, 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 " . $fcprefix . "connections as connections LEFT JOIN " . $fcprefix . "rooms as rooms ON(connections.roomid = rooms.id) LEFT JOIN " . TABLE_PREFIX . "user as user ON(connections.userid = user.userid) LEFT JOIN " . TABLE_PREFIX . "usergroup as groupa ON(user.usergroupid = groupa.usergroupid) LEFT JOIN " . TABLE_PREFIX . "usergroup as groupb ON(user.displaygroupid = groupb.usergroupid) WHERE connections.userid IS NOT NULL ORDER BY start" ); Code:
$chatlist = $DB_site->query("SELECT connections.userid, connections.roomid, rooms.name, rooms.ispublic, 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 " . $fcprefix . "connections as connections LEFT JOIN " . $fcprefix . "rooms as rooms ON(connections.roomid = rooms.id) LEFT JOIN " . TABLE_PREFIX . "user as user ON(connections.userid = user.userid) LEFT JOIN " . TABLE_PREFIX . "usergroup as groupa ON(user.usergroupid = groupa.usergroupid) LEFT JOIN " . TABLE_PREFIX . "usergroup as groupb ON(user.displaygroupid = groupb.usergroupid) WHERE connections.userid IS NOT NULL AND connections.ip != '0.0.0.0' ORDER BY start" ); The last fix for the module is open inthechat.php and find: Code:
<? Code:
foreach ($modules AS $omods) { if ($omods['identifier'] == 'flashchat' AND in_array($omods['modid'], explode(',', $pages['modules']))) { $showonline = true; $onlineid = $omods['modid']; } } unset($omods); flashchat That'll fix all the quirks Awesome work Paul, thank you so much, I never could have coded this myself , I can tweak code like crazy, but I can't write a damn thing from scratch LOL! |
#184
|
||||
|
||||
Quote:
As regards the bots - these are a new feature of FlashChat 4.0.x - you are the first person to ask about not displaying them. I personally don't use them anyway. The code you have added will technically work if you haven't changed the bot ip address in the f/c config file - but if I add this to the hack then I will make sure it reads the configured ip, and also make it optional as some people my want the bots listed. Thanks for your post. |
#185
|
|||
|
|||
Ah bugger, I did make a typo in my first post.
Here is the attached editted inthechat.php file with the changes I made. |
#186
|
||||
|
||||
Cheers - I have written v2.20 which includes the option to not show bots - but I can't test it until tomorrow. If it works then I will upload it and a new corrected module as well. Thanks for you help with the CPMS bit.
|
#187
|
|||
|
|||
Happy to help
|
#188
|
|||
|
|||
I can't get my forum page to open. I'm getting this error:
Quote:
require_once("./" . $fcfolder . "/inc/common.php"); |
#189
|
||||
|
||||
did you change to show your correct chat directory?
$fcfolder = 'chat'; // The folder name where your flashchat installation is located // |
#190
|
|||
|
|||
Quote:
|
#191
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|