If you want to experiment... I already did something like that:
That's a modded extern.php around line 262
else if ($_GET['action'] == 'online')
{
// Fetch users online info and generate strings for output
$num_guests = $num_users = 0;
$result = $db->query('SELECT user_id, ident FROM '.$db->prefix.'online ORDER BY ident') or error('Unable to fetch online users info', __FILE__, __LINE__, $db->error());
$user_name_list=" ";
while (list($cur_online_id,$user_name_name) = $db->fetch_row($result))
{
if ($cur_online_id > 0)
{
++$num_users;
$user_name_list.=$user_name_name;
}
else
{
++$num_guests;
}
}
echo $lang_extern['Users online'].': '.$num_users.':'.$user_name_list.'<br>';
echo $lang_extern['Guests online'].': '.$num_guests;
exit;
}
Dunno, just something quick and dirty that seems to work for me. But my forum is not open yet, so... you'd rather wait for Rickard to confirm, since I am not sure I used the right DB field.
Marc