vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Users Online on my main PHP page (https://vborg.vbsupport.ru/showthread.php?t=71787)

msimonds 11-15-2004 07:03 PM

Users Online on my main PHP page
 
I am trying to locate a script that will post the "Users online" (i.e. There are currently X members and X guests online) on my main PHP page. Is there a way to work around this. The main page is not a vB page.

TIA

Brad 11-15-2004 09:21 PM

Do you want the number of users, the active user list, or both!?

msimonds 11-15-2004 10:41 PM

Just the number of users - thanks

burnist 11-16-2004 01:03 PM

Is your main page connecting to a database and if so is it the same database as your vBulletin is in? and yes it does matter. :)

Natch 11-16-2004 09:59 PM

I can answer this: yes and yes.

msimonds 11-16-2004 10:14 PM

Very true - its a big yes - so I should be able to fecth the data in a variable or....?

holden 12-20-2004 05:00 PM

Might anyone be able to tell me how I can do this? I have a index.php and my forums are in /forums/. I am already connected to the vBulletin database because Im using another script I got from here to display the latest threads. And I include global for logging in purposes. I know how to use the $bbuserinfo array. But I dont know how to do current users. I would like to list all the current users. Any help is appreciated.

holden 12-20-2004 05:16 PM

Oh. NM. I found something about it here.

https://vborg.vbsupport.ru/showthrea...t=active+users

<-- newb


All times are GMT. The time now is 08:31 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.01080 seconds
  • Memory Usage 1,719KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (8)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