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
  #62  
Old 09-30-2005, 02:47 AM
OrangeFlea OrangeFlea is offline
 
Join Date: Aug 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to add the number of people in chat on the navbar, next to the chat link? I want the number to be viewable, while this forces the members on the board I'm with to scroll down to get the info.

Something like this: User CP Member List Chat (2)
Reply With Quote
  #63  
Old 09-30-2005, 03:50 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

Most things are possible, but it would be a sperate hack.
Reply With Quote
  #64  
Old 09-30-2005, 09:22 PM
Ville's Avatar
Ville Ville is offline
 
Join Date: Sep 2003
Location: North Texas
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Paul, I just installed your vB 3.5 integration module (after upgrading to vB 3.5.0 gold yesterday). FlashChat works now better—before your version of the CMS module the FlashChat interface would not come up.

But now the users are still not able to log in. I am, since I'm the admin (on vB), but the users are returned back to FlashChat's login prompt ("wrong password or user name.. try again"). Since your version of the CMS module was for 3.5.0 beta, I wonder if something changed sufficiently between the beta through RCs, and finally gold, or whether there's something else up.

Thanks!
Reply With Quote
  #65  
Old 09-30-2005, 09:29 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

Nope, the CMS works fine with any 3.5.0 version (beta 1 to gold) so you must have a problem somewhere, are you using the standard usergroup 2 or a custom usergroup for the users ?
Reply With Quote
  #66  
Old 10-01-2005, 01:29 AM
Ville's Avatar
Ville Ville is offline
 
Join Date: Sep 2003
Location: North Texas
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep, indeed! Most of the "regulars" on my board are in a non-standard user group (called, in fact, "regulars"). Those were the people who were having problems (they were banned). Once I edited your CMS file and added the appropriate user group to the allowed list, that problem was solved.

Secondly, I currently don't use unicode for storing user names in vB, yet I initially was testing the access with a user name that contained an umlauted character ('?'). vBulletin allows such characters to be used even though unicode is not on, but apparently ASCII encoding of such characters confused FlashChat login. I need to look into converting user names into unicode so that any new user who will pick a user name containing an umlauted character will also be able to access FlashChat.

In any case, thanks for the updated CMS file!!
Reply With Quote
  #67  
Old 10-01-2005, 03:42 AM
Ville's Avatar
Ville Ville is offline
 
Join Date: Sep 2003
Location: North Texas
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just figured out why the users with usernames with umlauts weren't able to login. My stock configuration of vBulletin 3.5.0 allows users to select usernames with "scandinavian" characters (?,?,?) which are part of the extended ASCII set. Thus the usernames are not encoded as Unicode in the database. However, logins with usernames containing such characters were failing.

When I disabled the following line in your vbulletin35CMS.php, the problem went away:

Code:
    $login = utf8_to_entities($login);
Otherwise the 3.5.0 integration is working great!
Reply With Quote
  #68  
Old 10-01-2005, 04:20 AM
dsotmoon dsotmoon is offline
 
Join Date: Jun 2003
Location: VA - USA
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed, thanks!
Reply With Quote
  #69  
Old 10-01-2005, 05:52 AM
OrangeFlea OrangeFlea is offline
 
Join Date: Aug 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
Most things are possible, but it would be a sperate hack.
What would make it so difficult? The number is originally displayed at the bottom. That itself can remain there, but I also want that number next to the chat link on the navbar.
Reply With Quote
  #70  
Old 10-01-2005, 09:24 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

The navbar is called on every page, this hack is not, the number is only available on the forum homepage - btw, I don't recall saying it was difficult, just seperate.
Reply With Quote
  #71  
Old 10-01-2005, 09:47 PM
OrangeFlea OrangeFlea is offline
 
Join Date: Aug 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hopefully someone can build it, then. It's a common feature practiced by the EZboards, and it makes sense. A member could be browsing in other areas of the forum, like the arcade, journal, or quiz areas, and never know that there are people in the chat room. They'd have to go back to the main page and possibly scroll all the way down to the bottom of the forum listing in order to see the number of users in chat.
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 01:12 AM.


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.10016 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_code
  • (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