In online.php, replace this:
PHP Code:
$userinfo[$key][location] = $user[location];
with this:
PHP Code:
if ($user[usergroupid]==6 or $user[usergroupid]==5 or $user[usergroupid]==7)
$userinfo[$key][location] = '';
else
$userinfo[$key][location] = $user[location];
and replace this:
Code:
$allusers= $DB_site->query("SELECT user.username, session.location, session.lastactivity, user.userid, user.invisible, session.host, user.showemail, user.receivepm
with this:
Code:
$allusers= $DB_site->query("SELECT user.username, session.location, session.lastactivity, user.userid, user.invisible, session.host, user.showemail, user.receivepm, user.usergroupid
(
yup, stupid php tag)