The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
Do you want the number of users, the active user list, or both!?
|
#3
|
|||
|
|||
Just the number of users - thanks
|
#4
|
||||
|
||||
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.
|
#5
|
||||
|
||||
I can answer this: yes and yes.
|
#6
|
|||
|
|||
Very true - its a big yes - so I should be able to fecth the data in a variable or....?
|
#7
|
|||
|
|||
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.
|
#8
|
|||
|
|||
Oh. NM. I found something about it here.
https://vborg.vbsupport.ru/showthrea...t=active+users <-- newb |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|