In online.php, if you have installed my show spiders on forumhome page mod, you will see a section of code that looks like this:
Code:
$numberguests = $numberguests - $numberspiders;
$totalonline = $numbervisible + $numberguests + $numberspiders;
// ### MAX LOGGEDIN USERS ################################
if (intval($vbulletin->maxloggedin['maxonline']) <= $totalonline)
{
$vbulletin->maxloggedin['maxonline'] = $totalonline;
$vbulletin->maxloggedin['maxonlinedate'] = TIMENOW;
build_datastore('maxloggedin', serialize($vbulletin->maxloggedin));
}
(If you haven't installed my mod, you can do the part for online.php only and not show them on forumhome)
Anyhow, to get the effect you want, you would change that chunk to this:
Code:
$numberguests = $numberguests - $numberspiders;
$totalonline = $numbervisible + $numberguests + $numberspiders;
// ### MAX LOGGEDIN USERS ################################
if (intval($vbulletin->maxloggedin['maxonline']) <= intval($totalonline-$numberspiders))
{
$vbulletin->maxloggedin['maxonline'] = intval($totalonline - $numberspiders);
$vbulletin->maxloggedin['maxonlinedate'] = TIMENOW;
build_datastore('maxloggedin', serialize($vbulletin->maxloggedin));
}
Hope that helps.
Amy