I know everyone is having different problems and I saw a couple people who were having the same problem as me. The record online at one time and record online in one day kept resting to however many were online at that moment.
I'm not sure why this changed anything, but it did
change this
PHP Code:
$maxusers=explode(" ", gettemplate('maxloggedin',0,0));
to this
PHP Code:
$maxloggedintemplate=$DB_site->query_first("SELECT template FROM template WHERE title='maxloggedin' AND templatesetid='-2'");
$maxusers=explode(' ',$maxloggedintemplate['template']);
now it works fine
great hack by the way. I have it set up on the who's online page