As an addition to this hack...
If you add this into the php_include code
PHP Code:
$headertotal=$DB_site->query_first("SELECT COUNT(DISTINCT(userid)) AS count FROM user WHERE lastactivity > " . mktime(0,0,0,date("m"),date("d"),date("Y")) . " ORDER BY username");
$headertotal=$headertotal[count];
...you now have a total for how many users you've had so far today.
Use it in your header template like:
Quote:
$headeronline users online now
$headertotal so far today
|
Idea from
https://vborg.vbsupport.ru/showthrea...threadid=34014 which is rather OTT for what I wanted.