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)
-   -   Number of online users in header / footer! (https://vborg.vbsupport.ru/showthread.php?t=33048)

Admin 12-07-2001 10:00 PM

I already posted this hack here, but not fully:
https://vborg.vbsupport.ru/showthrea...threadid=32610

Anyway, you can use this hack to show the number of online:
  • guests
  • members
  • all users (guests + members)
in either your header or footer templates.

Very easy to install, only to edit one file - global.php (in the forums folder, not admin nor mod folders!).
Instructions attached to this post.

For a demo... look at the header of this. :)

Have fun! :D

Admin 12-08-2001 06:07 PM

The variables to use to show each number:
  • Number of guests - $headerguests
  • Number of members - $headerusers
  • Number of total users - $headeronline

squawell 12-08-2001 06:50 PM

FireFly~~~i got this error

Parse error: parse error in /home/jihchi/public_html/squawell/forums/vbb220/global.php on line 281

Fatal error: Call to undefined function: getpermissions() in /home/jihchi/public_html/squawell/forums/vbb220/index.php on line 10

Admin 12-10-2001 11:28 AM

Make sure you edit everything you needed to and not anything else.

squawell 12-10-2001 11:57 AM

ok ~~i'll try it again!!

squawell 12-10-2001 12:04 PM

FireFly~~i try it again~~and i still got same error~~~

Admin 12-10-2001 12:52 PM

E-mail me your file and I will fix it for you.

squawell 12-10-2001 01:01 PM

ok~~

i already sended to u!!

thankz again~~

Freddie Bingham 12-11-2001 01:59 AM

*psst!* stick it in the phpinclude template === no file editing.

Dalius 12-11-2001 02:22 AM

Preview, Anyone?


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