vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   # of users in forum on forumhome (https://vborg.vbsupport.ru/showthread.php?t=38012)

Crazy Mofo 04-30-2002 02:57 AM

Quote:

Originally posted by nakkid
let's recap toghther crazy.. now, in that should do it... let us know if everything is ok.

OMG it worked woohooo i love you man :D :bunny:

TECK 04-30-2002 02:59 AM

congrats. ;)

Crazy Mofo 04-30-2002 03:01 AM

really graet hack thx :)

Erwin 04-30-2002 04:00 AM

Yeah, including guests would be a great addition... :)

inetd 04-30-2002 04:57 AM

FireFly, please post how to put number of users in forumhome near forum[title]. Please.

FWC 04-30-2002 05:25 AM

Quote:

Originally posted by inetd
FireFly, please post how to put number of users in forumhome near forum[title]. Please.
I just used this:
Code:

- <smallfont>($browsers members browsing)</smallfont>
after the </a> following the forum title in forumhome_forumbit_level2_post.

TECK 04-30-2002 07:11 AM

i noticed a little bug in the hack. if i browse a forum and i go back to the forumhome, it still shows that i'm browsing that forum... this is present here at vB.org also. try this. go to an empty forum (0 users browsing), then click on [vBulletin.org Forum >] navigation link at the top. it will still show that you are there. if you refresh the page it goes away... any way to fix this?

thanks.

PS. i still think of a issue to that LEFT JOIN for guests, that i asked earlier in that thread... but i cant index it, i get a database error...

Admin 04-30-2002 07:22 AM

That's a bug in vBulletin, not this hack.

To fix it, add a call to updateuserforum() in index.php like this:
Code:

updateuserforum(0);

eval("dooutput(\"".gettemplate('forumhome')."\");");

Of course it will only be updated next time you load the index page.

KuraFire 04-30-2002 09:13 AM

What am I doing wrong, I still get a separate query for each forum I have, but I followed FireFly's instructions only, not Neo's.... :/

66 queries on index page.. :'(

TECK 04-30-2002 12:32 PM

thanks firefly. do you think is a good idea to add the guests to the list of browsers?


All times are GMT. The time now is 08:08 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.01484 seconds
  • Memory Usage 1,734KB
  • 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
  • (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