PDA

View Full Version : Simple Modification: Hide your name in the Forum Leaders.


GNeRaL
04 Jan 2007, 11:17
If you have an admin waiting for emergency and If you want to not to show him in forum leaders, follow these steps:


Learn your user ID, like 1.

Open your showgroups.php3 (or showgroups.php) @ www root:

Find (line: 120):
if ($user['userid'])

Change to:
if ($user['userid'] != 1)


and Save...

Marco van Herwaarden
04 Jan 2007, 11:25
...or put them in a seperate usergroup that is not set to show on Forum Leaders ;)

Dawnf1
04 Jan 2007, 18:52
I have 2 admins who just do techincal stuff for me and who don't want to be bothered by members about other stuff, so I wanted to take them off the forum leaders page. I made a seperate usergroup for them, and this removed them from the forum leaders page, only for some reason that group can't view some things it ought to be able to that everyone else can see. (various hacks/modifications).
I like the modification you have here, but can I use it for 2 members? And if so, how...?

GNeRaL
04 Jan 2007, 20:01
I have 2 admins who just do techincal stuff for me and who don't want to be bothered by members about other stuff, so I wanted to take them off the forum leaders page. I made a seperate usergroup for them, and this removed them from the forum leaders page, only for some reason that group can't view some things it ought to be able to that everyone else can see. (various hacks/modifications).
I like the modification you have here, but can I use it for 2 members? And if so, how...?

For 2+ admins,

Change it to:
if ($user['userid'] != 1 and $user['userid'] != 2 and $user['userid'] != 3)

Dawnf1
04 Jan 2007, 20:26
thanks :)
it worked a treat.

GNeRaL
04 Jan 2007, 20:45
thanks :)
it worked a treat.

You're welcome, Have fun ;)

asj
05 Jan 2007, 13:28
thanks

GNeRaL
07 Jan 2007, 18:59
thanks

You're welcome. ;)

Gato
09 Nov 2010, 08:59
And for 3.8.x version?? I canīt find a solution for this version.