The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help !!!!
Not sure if anyone can help but I'm trying to add a "whos online now" (with usernames & number of guests) section on my www........com/index.php NOT in my www......com/forums/index.php.
Does anyone know of a script that does this ? I'm VERY new to both php & vbulletin so any help at all would be gratefully appreciated. |
#2
|
||||
|
||||
well that would take porting over the code that does the whos online
and it would be this.. PHP Code:
PHP Code:
and you can place $loggedinusers anywhere you want the whos online to show up.. |
#3
|
|||
|
|||
NEO,
Many thanks for this - as I said I'm VERY new to both PHP & VB , but I placed require("./../global.php"); into my www.shorehambysea.com/index.php page without a porblem. However I'm not too sure where to place the other "$activeusers = "";" script. Sorry to be a pain, but again help would be appreciated. Cheers |
#4
|
||||
|
||||
Hi.
I have this hack a long time ago, you will have to use only the parts you want. this hack will display 1) total registered members using variable: $totalmembers 2) show total threads using variable: $totalthreads 3) show total post made today using variable : $totalpoststoday 4) show total post using variable: $totalposts 5) show TOTAL users online using variable: $totalon If you want to show how many user and guest seperate then use: $regmemberson for members online, and $guestson for guests online. all you have to do is copy the code into a file then include(); it and use the variables above to show what you want. PHP Code:
|
#5
|
|||
|
|||
Seb,
Your a star !!!!!! Many thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|