View Full Version : Users Online on my main PHP page
msimonds
11-15-2004, 07:03 PM
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
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/showthread.php?t=60019&highlight=active+users
<-- newb
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.