Well I can't say that I can integrate it in your hack yet, but it seemed so easy that I tried to do another hack :P @ online.php
line 628 / online.php
PHP Code:
while ($user = $DB_site->fetch_array($allusers)) {
if ($user['userid']) { // Reg'd Member
$key = $user['userid'];
if (($userinfo["$key"]['lastactivity'] < $user['lastactivity']) or !$userinfo["$key"]['lastactivity']) {
$userinfo["$key"]['realname'] = $user['username'];
if ($user['usergroupid'] == 6 and $highlightadmin) {
$userinfo["$key"]['username'] = "<strong style=\"color:#cc0000;\">$user[username]</strong>";
} else if ($user['usergroupid'] == 7 and $highlightadmin) {
$userinfo["$key"]['username'] = "<strong style=\"color:#009900;\">$user[username]</strong>";
} else if ($user['usergroupid'] == 5 and $highlightadmin) {
$userinfo["$key"]['username'] = "<strong style=\"color:#662211;\">$user[username]</strong>";
} else {
$userinfo["$key"]['username'] = $user[username];
}
It seems to work fine - and i added the option to highlight differently my super moderators. I hope you can integrate it easily with your hack for at least mods, super-mods and admins :P
Thanks for a great hack btw.