vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - FlashChat - Who is in the chat. (https://vborg.vbsupport.ru/showthread.php?t=91338)

Paul M 06-28-2005 10:00 PM

FlashChat - Who is in the chat.
 
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.

justindwhite 06-30-2005 02:19 AM

Thanks a bunch... I've been waiting for this one ;)

*clicks install*

Roxie 06-30-2005 06:00 PM

Thanks :D

Roxie 06-30-2005 06:16 PM

This displays users that aren't in the chat. Don't know if I screwed up somewhere. LOL...but the users it lists aren't the ones in chat.

Paul M 06-30-2005 07:13 PM

Quote:

Originally Posted by Roxie
This displays users that aren't in the chat. Don't know if I screwed up somewhere. LOL...but the users it lists aren't the ones in chat.

Well it can't make them up, it reads the flashchat database. :) maybe you have more than one database from previous flashchat installs ?

Roxie 06-30-2005 07:17 PM

Well, it's pulling up users that have not been active in months. I only have one database. So, I dunno.

Paul M 06-30-2005 08:21 PM

Quote:

Originally Posted by Roxie
Well, it's pulling up users that have not been active in months. I only have one database. So, I dunno.

Sorry, database was perhaps the wrong word - I mean more than one set of Flashchat tables in your vb database.
What CMS file are you using, and what 'pref' is defined in your config.srv.php ? What is the url of your site ?

Roxie 06-30-2005 08:25 PM

I am using vbulletin35cms and the pref is set to _fc_, which is the same way it is in the database. The site is member only... http://daboard.dizzam.com - but I can set up a test membership.

Paul M 06-30-2005 08:30 PM

Quote:

Originally Posted by Roxie
The site is member only... http://daboard.dizzam.com - but I can set up a test membership.

That would be useful, drop me a PM. :)

Paul M 06-30-2005 10:30 PM

Okay - there is something wrong with your integration, users are not automatically being logged in. Instead, you can manually login as anybody, with any password - and you get a sequentially assigned userid, starting at 1 and working up. This is what is being displayed (currently reached 23).

Fix your integration and you will fix the user display automatically.

I notice you have posted a problem in the integration hack thread so i will move over to there now. :)


All times are GMT. The time now is 03:14 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.01243 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete