Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.

Thread Rating:
  • 21 Vote(s) - 2.95 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to hide Admin from MyBB Member List?
#1
Star 
Open memberlist.php and find;

Code:
$user = $plugins->run_hooks("memberlist_user", $user);

Add the following code just underneath the above code & Save

Code:
if($user['usergroup'] == 4 && $mybb->user['uid'] != 1)
{
continue;
}

This will hide all admins from the memberlist, but First admin (who has the first uid) will be able to see the admins in the memberlist.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)