Hide certain usergroups in whoisonline
TriTop Offline
Member
***
Posts: 53
Joined: Apr 2008
Post: #2
RE: Hide certain usergroups in whoisonline
I think you have to edit the index.php.
Find:

PHP Code:
eval("\$onlinemembers .= \"".$templates->get("index_whosonline_memberbit", 1, 0)."\";");

replace with:

PHP Code:
if($user['usergroup'] != "x") {
eval("\$onlinemembers .= \"".$templates->get("index_whosonline_memberbit", 1, 0)."\";");
}


Replace "x" with the ID of usergroup you want to hide. Not tested...but should to be working.

10-16-2010 01:56 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Hide certain usergroups in whoisonline - TriTop - 10-16-2010 01:56 AM

 Standard Tools
Forum Jump: