Boofo the code should work... if it doesn't just change some variables around and see what happens...
As for the time online per day calculated? the total time online divided by the days registered...

maybe this hack should be included in vb3 so that the members who registered way before hand don't lose their time :P
As for selecting the users with no time... just change this query ::
PHP Code:
$totalusers = $DB_site->query_first("
SELECT COUNT(*) AS users
FROM user");
to this ::
PHP Code:
$totalusers = $DB_site->query_first("
SELECT COUNT(*) AS users
FROM user
WHERE timeonline != 0");
regards... hope that helps somewhat
g-force2k2