vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Who is chatting (for Flashchat) (https://vborg.vbsupport.ru/showthread.php?t=121884)

Bree 03-13-2007 12:56 AM

*Installed* Works perfect - then again I expected nothing less =0) vB 3.6.5 Thanks a bunch! Always, Bree

SCRIPT3R 03-16-2007 10:07 PM

Edit: Sorry, this is just for my personal reference... you told me this eons ago and i always forget it. :up:
Code:

                <plugin active="1" executionorder="3">
                        <title>Members in Flashchat (2)</title>
                        <hookname>forumhome_start</hookname>


Paul M 03-16-2007 11:16 PM

Huh ?

rwilkins108 03-18-2007 09:01 AM

After applying latest upgrade, my $totalchatters edit I made in other places isn't returning anything... on the navbar I have Chat (#) where # is the number of user's currently in chat and it doesn't show anything any more.

so, for example, it used to say Chat (0) or Chat (10) and now it shows Chat ().

I checked the style edit, it didn't change. Users in Flashchat does show correctly in the WOL area.

Any thoughts?

Thanks.

Paul M 03-18-2007 08:40 PM

$totalchatters has not changed - but what you describe would never have worked unless you had edited the hook this runs on, since the code only runs on forumhome - at a guess I would say you must have edited it to run on global_start. Any such change would be lost when you upgraded.

rwilkins108 03-18-2007 08:51 PM

Damn you're good! lol, guess I totally forgot that I made that change. All is working well again. Thanks! :)

daddygrim 03-21-2007 02:11 AM

amazing!!!!! installed

PoetJA-1975 03-24-2007 02:47 AM

I've been wanting this for a while now - finally installed.
Thanx for the great modification PAUL ;)

Jacquii.

jmergener 03-27-2007 08:32 PM

Quote:

Originally Posted by GearTripper (Post 1079642)
hi Paul... in regards to my previous post here.

for my navbar code; would the number of active users should appear next to the link, as with forumhome_start, as long as i copy the Plugin PHP Code to hook location forumdisplay_Start? changing the template cache accordingly. i know it's a lot of unnecessary code. can you specify the specific i would need to call the correct number for $totalchatters?

Code:

                <if condition="$show['member']">
                        <td class="vbmenu_control"><a href="chat/flashchat.php$session[sessionurl_q]">Flashchat: $totalchatters</a></td>
                </if>


Quote:

Originally Posted by Paul M (Post 1079669)
Change the hook that this uses to global_start and $totalchatters will be available on any page (note, obviously it will run the query on every page as well).

Paul,

Can you give some more information on this as I am trying to get this to work on my site and the number will display on first of the forums page but will not display on any of the other pages or the main (home) page. I am using vBadvanced so I am sure the issue revolves around that.

Any help would be much appreciated.

Website: www.arizonabass.com

Paul M 03-27-2007 11:27 PM

All the information is in the line you quoted - you must edit the plugin that uses forumhome_start to use global_start instead.


All times are GMT. The time now is 11:01 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.01580 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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