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)

matteveryday 10-02-2005 06:07 PM

Usernames seem to get stuck in the "who's chatting" box. When they leave the chat room, their username remains in the "who's chatting".

Paul M 10-02-2005 06:11 PM

Read post 59.

misticjeff 10-03-2005 05:42 AM

Hey Paul,

Thanks for the great hack!!

Just a question... since the xml plugin is telling flashchat to post the information in ForumHome couldn't it just as well tell it to post it anywhere the user wants? For instance, I'd like to have a module on the front page of my site telling who's online in chat. I can get the module built and all the info is there except the users. How can I get the call to point where i want it?

Paul M 10-03-2005 08:48 AM

vB doesn't work like that, the code is attached to a "hook" that is only called by index.php, so the data is only available on that page (the forum homepage). In theory you could attach it to a more global hook, but then the code would be run on every page, regardless of whether you actually use the results.

misticjeff 10-03-2005 09:24 AM

THanks... found what i was looking for over at the vBadvanced forums... someone managed to do it.

http://www.vbadvanced.com/forum/show...ight=flashchat

Paul M 10-06-2005 01:30 AM

Now converted from a 'Plugin' to a 'Product' which means ;

* The hack is phrased.
* The ability to turn it on/off is an option in the ACP.
* The ability to allow only certain usergroups to view the list is an ACP option.
* The location of the Flashchat folder is now an ACP option.

If you are happy with it working as is - then obviously there is no requirement to upgrade - I will still support the old version (though I will strongly urge you to upgrade in most cases). If you wish to upgrade then you will need to delete the existing plugin, upload the new product, and replace the template code with the new version.

hpwilhelm 10-06-2005 10:21 AM

Hi Paul, thanks for the FlashChat integrations.

I got a sql-error with this one. Seems that " . $fcprefix . " gets the wrong prefix. It returns '_fc2_connections', while the table is 'flashchat_connections'. Works fine when I change to the correct table name in the product xml.

I installed 4.3.3 on a fresh database, with your integration file and instructions.

Keep up the good work! :)

Paul M 10-06-2005 05:41 PM

Quote:

Originally Posted by hpwilhelm
Hi Paul, thanks for the FlashChat integrations.

I got a sql-error with this one. Seems that " . $fcprefix . " gets the wrong prefix. It returns '_fc2_connections', while the table is 'flashchat_connections'. Works fine when I change to the correct table name in the product xml.

I installed 4.3.3 on a fresh database, with your integration file and instructions.

Keep up the good work! :)

You don't need to change anything in the hack, it reads the prefix from you flashchat config.srv.php - you obviously have the wrong prefix in this.

vibe 10-08-2005 07:39 AM

you da man

weaver 10-08-2005 02:56 PM

How would I add my bot's name to the list of users in chat? It shows 1 user is in chat but there is no one listed. It would be nice to have the bot's name there. :)


All times are GMT. The time now is 03:57 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.02776 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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