Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Flashchat: Who is chatting (Add On) Details »»
Flashchat: Who is chatting (Add On)
Version: 3.7.003, by Mosh Mosh is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.x Rating:
Released: 01-03-2008 Last Update: 09-01-2008 Installs: 107
Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

Hack Support

This hack is now discontinued - this means that while it will remain available for download and use, there will be no further updates, nor will support be provided as the thread is no longer monitored.

Please click Mark as Installed if you are using this hack.


vBulletin Version Compatibility

This hack can only be used with vBulletin v3.7.x.


What Does This Hack Do?

This is an add-on/enhancement to Paul M's Flashchat: Who is chatting hack.
This is the v3.7 port of my v3.6.x hack with extras.

Note: Version 3.7.003 of this hack and above are for FlashChat 5.0.x onwards only, and will not work with FlashChat 4.7.x. Version 3.7.002 of this hack will continue to be available for Flashchat 4 (but I will not be coding any further releases for FlashChat 4 versions).

What hacks need installing before installing this hack?
These hacks need to be installed in this order and working correctly, for this hack to work.
  1. FlashChat v4.7.x or v5.x.x
  2. Paul M's Flashchat: Integration for vB 3.7 v3.7.005 (Flashchat v4.7.x only) or v3.7.009 (Flashchat v5.x.x only)
  3. Paul M's Flashchat: Who is chatting v3.7.002 (Flashchat v4.7.x only) or v3.7.003 (Flashchat v5.x.x only)
  4. Then install the correct version of this hack (see versions below)

This does not change the functionality of Paul M's hack, this is just an enhancement to your installed version of Flashchat: Who is chatting.

The members on my forum requested that the Members currently using Flashchat box be moved to the top of the forums as it was a long way to scroll down to see who was chatting, at the top members could see who was chatting.

As members had to enter the chat or visit the forum homepage again to see who was chatting, I fixed it so that my members could also see who was chatting as they browsed the various forums and threads as well as on the who is online pages.

Paul M's has kindly given me permission to use some of his code in my Who is chatting add-on hacks.

Thank you Paul, for all your work on the Flashchat integration, it makes all our lives easier


What It Does
  1. It displays the chat list under the navbar on:
    • Forum Home
    • Forum Display
    • Show Thread
    • Who is Online
    • Members Profile pages
    • Search pages (from v3.7.003 onwards)
  2. The list view is collapsible, 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 currently using the chat." message is displayed.
  6. Display the Most Ever chatters if enabled.
  7. The ability to turn it on/off is in the AdminCP Options (independent of Paul M's hack).
  8. The ability to select which locations this hack is displayed (independent of Paul M's hack).
  9. The ability to allow only certain usergroups to view the list is an AdminCP option (again, independent of Paul M's hack).
Note: This hack cannot display any bots in the chat, due to the strange way that FlashChat stores this information.


Installation Instructions

Download either of the below files, depending on your installed FlashChat version:
  • ms_wic_addon_fc5_v3.7.003.zip for Flashchat v5.x.x only
  • ms_wic_addon_fc4_v3.7.002.zip for Flashchat v4.7.x only
The installation instructions are included in attached zip files.

Uninstall Instructions
  1. Uninstall the product in vB using the AdminCP Product Manager.
  2. Re-install the correct version of Paul M's Flashchat: Who is chatting hack. Set Allow Overwrite to Yes.


Screenshots
Show in this order:
  • Who is Chatting box
  • FlashChat v4.7.x AdminCP options
  • FlashChat v5 AdminCP options


Version History
Note: Version numbers will be kept in sync with Paul M's hack

v3.7.003 - Tuesday 2nd September 2008
-- Final Release
-- FlashChat v5.x.x version (will not work with FlashChat v4.7.x)
-- Changed: Total code rewrite
-- Changed: Check boxes now for usergroup selection, instead of needing comma separated numbers
-- Changed: Instructions
-- Changed: Screenshots
-- Removed: AdminCP Options input validation (no longer needed)
-- Removed: Auto-template Injection options, now uses template hooks
-- Added: Now displays on Search pages
-- Added: 2 new plugins

v3.7.002 - Tuesday 13th May 2008
-- Last version for FlashChat v4.7.x only (will not work with FlashChat v5.x.x)
-- Changed: Product name
-- Added: AdminCP Options input validation

v3.7.001a - Thursday 7th February 2008
-- Changed: Install code

v3.7.001 - Friday 4th January 2008
-- Initial v3.7 Release


Thanks

Thanks go out to Paul M who gave me permission to use some of his install code.


Show Your Appreciation

Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.

Show Your Support

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

Comments
  #12  
Old 03-19-2008, 03:12 PM
bunglehaze bunglehaze is offline
 
Join Date: Feb 2008
Location: sheffield, UK
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there, I am trying to remove the secondary box at the bottom of the page but the code is different to that posted, I have tried to change it to suit but I am not able to remove the bottom section of code.

Has this altered at all?

cheers

leigh
Reply With Quote
  #13  
Old 03-20-2008, 12:41 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bunglehaze View Post
Hi there, I am trying to remove the secondary box at the bottom of the page but the code is different to that posted, I have tried to change it to suit but I am not able to remove the bottom section of code.

Has this altered at all?

cheers

leigh
Not at all, you need to step 3 from my instructions to remove the code from the bottom of the forum homepage (as that is the only place it will appear anyway).

Also, click Mark as Installed if you are using this hack.
Reply With Quote
  #14  
Old 03-21-2008, 04:51 PM
bunglehaze bunglehaze is offline
 
Join Date: Feb 2008
Location: sheffield, UK
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Mosh,

the code I have is as follows:

Code:
if ($vbulletin->options['enable_wicao'] && 
{
	$display_chat = FORUMDISPLAY;
	if ($vbulletin->options['enable_wicao'])
	{
		$vbulletin->templatecache["{$display_chat}"] = str_replace($vbulletin->options['text_wicao'],
		$vbulletin->options['text_wicao'].$vbulletin->templatecache['Display_Chatters_Addon'],$vbulletin->templatecache["{$display_chat}"]);
	}
}
which is different to the code you posted in step 3 (and I know there is a section missing at the top too but at the moment I am not too fussed. I am guessing that having it displayed at the bottom of the page it adds to the queries when it does not need to.

cheers

leigh
oh and marked as installed
Reply With Quote
  #15  
Old 03-22-2008, 05:14 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bunglehaze View Post
Hi Mosh,

the code I have is as follows:

Code:
if ($vbulletin->options['enable_wicao'] && 
{
	$display_chat = FORUMDISPLAY;
	if ($vbulletin->options['enable_wicao'])
	{
		$vbulletin->templatecache["{$display_chat}"] = str_replace($vbulletin->options['text_wicao'],
		$vbulletin->options['text_wicao'].$vbulletin->templatecache['Display_Chatters_Addon'],$vbulletin->templatecache["{$display_chat}"]);
	}
}
which is different to the code you posted in step 3 (and I know there is a section missing at the top too but at the moment I am not too fussed. I am guessing that having it displayed at the bottom of the page it adds to the queries when it does not need to.

cheers

leigh
oh and marked as installed
Hi Leigh,

It looks like you are editing the wrong plugin, step 3 is to stop the bottom who is chatting being displayed on the forum homepage, it has nothing to do with queries, it has to do with aesthetics, so it will do no harm having both showing at the same time.

[S]If want me to take a look then feel free to PM me your site address, an temp admin user (with permissions for managing products and editing templates), without these I cannot help you. I will look at the problem when I have time, and even if I have a look, I can not guarantee that I will be able to fix it, but should be able to, so it is up to you what you want to do.[/S]

Mosh
Reply With Quote
  #16  
Old 04-25-2008, 03:34 PM
yaoren's Avatar
yaoren yaoren is offline
 
Join Date: May 2007
Location: Maryland, USA
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey there for some reason I have nothing displaying on the box. The box and gif are there but the box is empty. Am I missing a step? Also I did add the usergroups that could see this.

Using VB 3.7.0 RC4
Reply With Quote
  #17  
Old 04-25-2008, 04:50 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yaoren View Post
Hey there for some reason I have nothing displaying on the box. The box and gif are there but the box is empty. Am I missing a step? Also I did add the usergroups that could see this.

Using VB 3.7.0 RC4
from the instructions:
  • In vBulletin Options > Who Is Using Flashchat > Code Option, ensure the Run Code on all pages radio button is selected.

@ Mosh:

just wondering, is possible to decrease the dimension of the font in the box title (i mean: Members currently using Flashchat: 0) ... i want which that font is bigger like that in the who's on line box ...
Reply With Quote
  #18  
Old 04-25-2008, 05:04 PM
yaoren's Avatar
yaoren yaoren is offline
 
Join Date: May 2007
Location: Maryland, USA
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KURTZ View Post
from the instructions:
  • In vBulletin Options > Who Is Using Flashchat > Code Option, ensure the Run Code on all pages radio button is selected.
Yup I have that selected...any other ideas?
Reply With Quote
  #19  
Old 04-25-2008, 05:37 PM
WEBDosser's Avatar
WEBDosser WEBDosser is offline
 
Join Date: Oct 2001
Location: @ MyPC
Posts: 824
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged to track ..
Reply With Quote
  #20  
Old 04-26-2008, 09:28 PM
LTW LTW is offline
 
Join Date: Jun 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mosh and Paul ... Thanks ... installed.

LTW
Reply With Quote
  #21  
Old 04-27-2008, 10:45 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yaoren View Post
Hey there for some reason I have nothing displaying on the box. The box and gif are there but the box is empty. Am I missing a step? Also I did add the usergroups that could see this.

Using VB 3.7.0 RC4
This hack is dependant on Paul M's hacks (see first post), so if they are working properly and you have followed my instructions to correctly then I am at a loss as to what the problem is without checking your site out for myself.

[s]If want me to take a look then feel free to PM me your site address, an temp admin user (with permissions for vbulletin options, managing products and editing templates), without these I cannot help you. I will look at the problem when I have time, and even if I have a look, I can not guarantee that I will be able to fix it, but should be able to, so it is up to you what you want to do.[/s]
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 01:01 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.04522 seconds
  • Memory Usage 2,319KB
  • 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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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