Thread Rating:
  • 65 Vote(s) - 2.98 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)