09-17-2000, 02:24 PM
http://www.vbulletin.com/forum/showthread.php?threadid=3274
Short: to add the number of invisibel people to the text (x members online)
First, edit the loggedinusers template,
Look for:
There are currently $numberregistered member(s) and $numberguest guest(s) on the boards.
change with:
There are currently $numberregistered member(s) $invisibleusers and $numberguest guest(s) on the boards.
-------------------------
Now open index.php and look for
$numberinvisible=$numberregistered-$numbervisible;
underneath it, add this:
//invisible user hack
if ($numberinvisible > 0){
$invisibleusers= '(' . ($numberinvisible) . ' invisible)' ;
}
//end invisible hack
Yes, the $numberinvisible=$numberregistered-$numbervisible; is in the code already, for some reason. This is a very simple hack, I doubt this could ruin anything. thus it gets a 1.0 release tag.
[Edited by doron on 09-17-2000 at 11:30 AM]
Short: to add the number of invisibel people to the text (x members online)
First, edit the loggedinusers template,
Look for:
There are currently $numberregistered member(s) and $numberguest guest(s) on the boards.
change with:
There are currently $numberregistered member(s) $invisibleusers and $numberguest guest(s) on the boards.
-------------------------
Now open index.php and look for
$numberinvisible=$numberregistered-$numbervisible;
underneath it, add this:
//invisible user hack
if ($numberinvisible > 0){
$invisibleusers= '(' . ($numberinvisible) . ' invisible)' ;
}
//end invisible hack
Yes, the $numberinvisible=$numberregistered-$numbervisible; is in the code already, for some reason. This is a very simple hack, I doubt this could ruin anything. thus it gets a 1.0 release tag.
[Edited by doron on 09-17-2000 at 11:30 AM]