View Full Version : Hide Admin Options
Sam FT
06-14-2003, 06:06 AM
I have been looking for a hack that can hide the "admin options" at the bottom of threads from regular users. Basically only letting admins and mods see the feature. I know there is another hack that was made to do the same thing here on vb.org. But that hack is very out of date and doesn't work very good, because I have tried to install it. If someone knows about editing it or can work on creating a hack for it. Then you would be doing me a great favor. Thanks
Boofo
06-14-2003, 06:24 AM
Like on my site? ;)
Sam FT
06-14-2003, 02:13 PM
Exactly...where the regular members don't see the Admin Options dropdown list. And only the mods/admins can.
WEForums
06-14-2003, 02:41 PM
I installed the one here and it worked for me.
Sam FT
06-14-2003, 05:20 PM
Well when I installed it, the dropdown box/list was there and was replaced with links of all the options in the admin options.
Logikos
06-14-2003, 07:33 PM
i thought this was a default hack on vb
Sam FT
06-15-2003, 04:36 AM
No, the hide admin options only applies to guest. Regular members can see the admin options, but can't use them. I like to see the admin options only be seen by admins/mods.
Boofo
06-15-2003, 05:19 AM
Is this the one you need?
look for this line if showthread.php
if (ismoderator($thread['forumid']) or $getperms['canopenclose'] or $getperms['candeletethread'] or $getperms['canmove']) {
and replace it with this line:
if (ismoderator($thread['forumid'])) {
Sam FT
06-15-2003, 02:54 PM
Yep, thanks Boofo it work just fine. That code made the admins options visible to only mods/admins. Was the edit code something you did or was it from another hack?
Boofo
06-15-2003, 07:06 PM
I think it was from another hack somewhere on here but I don't rememeber which one. I've been running that code on my site for over a year now and has always worked great for me..
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.