![]() |
Hide Admin Options
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
|
Like on my site? ;)
|
Exactly...where the regular members don't see the Admin Options dropdown list. And only the mods/admins can.
|
I installed the one here and it worked for me.
|
Well when I installed it, the dropdown box/list was there and was replaced with links of all the options in the admin options.
|
i thought this was a default hack on vb
|
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.
|
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'])) { |
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?
|
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..
|
All times are GMT. The time now is 05:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|