![]() |
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 |
Do you want the number of users, the active user list, or both!?
|
Just the number of users - thanks
|
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. :)
|
I can answer this: yes and yes.
|
Very true - its a big yes - so I should be able to fecth the data in a variable or....?
|
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.
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|