vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Has anyone expanded the "Who's Online" functionality across an entire web site? (https://vborg.vbsupport.ru/showthread.php?t=42868)

StangMan91GT 08-28-2002 07:06 PM

Has anyone expanded the "Who's Online" functionality across an entire web site?
 
I realize that there is already a hack that allows you to display how many users are on your forums on a non-vbulletin page of your site, however, I'd like to take that a step further.

What I want to accomplish is not just to have a count of how many people are on the "forums", but put some custom stand alone code in place and tie it into every page on a site. This code would create a session in the vbulletin database and track what page the user is on throughout the entire web site, not just the forums. This way, the "count" and the listing of members/guests and what they are doing displayed on the who's online page would represent the entire web site. Furthermore, the count or user's list shown using the who's online hack available now would also represent this then also.

I hope everyone gets what I am trying to get at here. If not, let me know and I'll try to elaborate better. However, what I am wondering is if there is already code in existence to do this or whether I'll end up just having to write it myself.

NTLDR 08-28-2002 07:29 PM

Just make sure you require forums/global.php in the php file:

PHP Code:

require('./global.php'); 

And then modify online.php or use FireFly's hack to add locations in the admin cp.


All times are GMT. The time now is 02:09 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.01859 seconds
  • Memory Usage 1,709KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete