PDA

View Full Version : Keep Admin From Showing on Forum Leaders Page?


Destee
12-27-2001, 12:43 PM
Hello Everyone,

I have an additional admin username that I use when working/browsing (cloaked) my forum and never post using it. I'd like for it to not show up on the Forum Leaders page.

Is there a way for me to maintain this username as an admin, but not display it on the Forum Leaders page?

Firefly suggested I ask over here. Any advice on how to make this happen would be greatly appreciated.

Destee

nuno
12-27-2001, 12:48 PM
CP » User Groups » Modify » Administrators » [edit] » Viewable on Show Groups? » Set it to NO

Destee
12-27-2001, 12:55 PM
Thanks for your response Nuno, sorry for not making myself more clear. I don't want to disable the feature for all admins, only one. Firefly said there would be some hacking involved (showgroups.php).

nuno
12-27-2001, 01:04 PM
oh i c
yes then its a hack :D

amykhar
12-27-2001, 01:06 PM
Couldn't the extra testing admin be put in a new usergroup that doesn't show on the forum leaders page? Then, you just give that new user group admin priveleges.

Amy

Destee
12-27-2001, 01:24 PM
Nuno, if all else fails, your suggestion may be used. Everyone knows I'm the admin, so there's really no need (other than my ego) that I be listed on that page.

Amy, I've not created a new usergroup before. I'm going to play with it now and see if I can resolve this.

Thanks both of you.

Destee

Admin
12-27-2001, 01:29 PM
Hi Destee, remember me? :)

Anyhow, in showgroups.php, replace this:
LEFT JOIN userfield ON (userfield.userid = user.userid)
WHERE usergroup.showgroup = 1
with the following:
LEFT JOIN userfield ON (userfield.userid = user.userid)
WHERE usergroup.showgroup = 1 AND user.username<>'YOUR_NAME'
Replace YOUR_NAME with the hidden admin's username, and that's it.

Destee
12-27-2001, 01:44 PM
Haaaay Firefly !! Yesss I remember you !!

This works perfectly! Thank You Very Much! :)

Thanks Everyone.

Destee