The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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
|
#2
|
||||
|
||||
Like on my site?
|
#3
|
||||
|
||||
Exactly...where the regular members don't see the Admin Options dropdown list. And only the mods/admins can.
|
#4
|
|||
|
|||
I installed the one here and it worked for me.
|
#5
|
||||
|
||||
Well when I installed it, the dropdown box/list was there and was replaced with links of all the options in the admin options.
|
#6
|
|||
|
|||
i thought this was a default hack on vb
|
#7
|
||||
|
||||
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.
|
#8
|
||||
|
||||
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'])) { |
#9
|
||||
|
||||
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?
|
#10
|
||||
|
||||
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..
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|