The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
I wrote a template which will be open from a php-file in my forumroot. I want to list all onlineusers with $activeusers, like in FORUMHOME on the bottom. But it don't work... Why? Must I include something in my php file to recognize $activeusers? :ermm: chris |
#2
|
|||
|
|||
![]()
If you want this to work in a custom php-file, you will have to duplicate the functions that fill those var's in the original files.
|
#3
|
||||
|
||||
![]()
The code for $activeusers is only in index.php, so it won't work anywhere else without hacking it.
|
#4
|
|||
|
|||
![]() Quote:
Any hint..? Don't know how to begin. Chris |
#5
|
||||
|
||||
![]()
Just so I understand what you have done - have you written your own, seperate, xxxxx.php file that you link to from somewhere ? If so, you will need to add some online users code to it. Either write your own or copy it from index.php.
|
#6
|
|||
|
|||
![]()
Yes I wrote my own x.php file and want to use the $onlineusers
I copied the source from the index.php, but I get errors. After fix some errors the arrays are empty. It's very confusing. Now I'm looking into the code of the cmps portal onlineusers block. .. Chris |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|