MyBB Community Forums

Full Version: How can I hide a member from the member list?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have two(2) admins on my forum. One was the installation admin (I call it - the super admin) and the other is a "regular" admin (actually, it's me). Both admins have exactly the same permissions and both are NOT inside the administrators group (as they mirror each other).
I would, however, like to hide the "super admin" from the member list as its not a member of the forum, but only used for configuration and SQL traffic (this way it makes it easier for me to find changes made, when looking in the logs, and thus understand if its a forum or a users related).
Is this possible? If so, how?


Ori...
It'll need a modification. It's been suggested as a possible future feature, though.
OK... thanks.
You can hide single user. Search memberlist.php
find:
eval("\$users .= \"".$templates->get("memberlist_user")."\";");



replace with:
if($user['uid'] != "1") {
		eval("\$users .= \"".$templates->get("memberlist_user")."\";");
		}

Replace x with the user uid you want to hide.
I got that the 'x' was the one(1) in:
if($user['uid'] != "1") {
Thanks, it works perfectly.I'll think of a setting/plugin for it (so I can change it if I want).

Ori...