The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Remove Physical Delete for UserGroups
Hello,
I had a hacking on my forums where somebody hacked one of the head moderators. I wanted to take away the priveledge of physical deletion from everybody but Administrators. Can anybody help me? I have a UserGroup for G-mods and Head Moderators. Head mods have some admin priveledges but I want to remove Physical Delete from G-mods and Head Mods. Can anybody help me? |
#2
|
|||
|
|||
Yes, you can wrap a "if conditional" statement around the code, edit the editpost template
Code:
<if condition="in_array($bbuserinfo[usergroupid],array(6))"> <label for="rb_del_hard"><input type="radio" name="deletepost" value="remove" id="rb_del_hard" tabindex="1" />$vbphrase[physically_remove_message]</label></if> |
#3
|
|||
|
|||
Thakn you, but I am a little confused.
|
#4
|
||||
|
||||
In the Admin CP:
Forums and Moderators -> Show All Moderators -> Super Moderators -> Edit Permmissions for each Moderator you want to edit. |
#5
|
|||
|
|||
Confused how?
As the resident bear stated, you can do it manually one by one, but what i posted above will do it globally in one shot, my way makes it so no one except an admin can physically see the option when editing a post. |
#6
|
||||
|
||||
But, if they know the link on how to do it, wrapping a conditional like that won't stop them. It will only stop the option from showing.
|
#7
|
|||
|
|||
Thanks Boofo. it worked
|
#8
|
|||
|
|||
ok.....
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|