View Full Version : Removing Delete Permissions for "Super Moderator"
Sweet Cheeks
09-18-2002, 03:40 PM
Hi guys :banana: Is there a way that I can make only admin have delete permissions? I want to be able to give my moderators global IP viewing, global thread management, etc but I don't want them to be able to delete anything because it is being abused :paranoid:
Thanks in advance, :banana:
NTLDR
09-18-2002, 03:44 PM
In postings.php find:
if ($action=="deletethread") {
Add after:
// Edit Only Admin Delete Thread
if ($bbuserinfo[usergroupid]!=6) {
show_nopermission();
}
Find:
if ($action=="deleteposts") {
Add after:
// Edit Only Admin Delete Posts
if ($bbuserinfo[usergroupid]!=6) {
show_nopermission();
}
This will show the no permission error if the user isn't an admin and they try to delete a post/thread.
Xenon
09-18-2002, 03:45 PM
Julie can you please edit your signature.
You're just allowed to have one image or text in it, not combined
thank you
oh and on topic: you should talk with your mods, if you can'T trust em, fire em...
Sweet Cheeks
09-18-2002, 03:52 PM
Originally posted by NTLDR
In postings.php find:
if ($action=="deletethread") {
Add after:
// Edit Only Admin Delete Thread
if ($bbuserinfo[usergroupid]!=6) {
show_nopermission();
}
Find:
if ($action=="deleteposts") {
Add after:
// Edit Only Admin Delete Posts
if ($bbuserinfo[usergroupid]!=6) {
show_nopermission();
}
This will show the no permission error if the user isn't an admin and they try to delete a post/thread.
You are awesome, thank you so much :banana:
Sweet Cheeks
09-18-2002, 03:53 PM
Originally posted by Xenon
Julie can you please edit your signature.
You're just allowed to have one image or text in it, not combined
thank you
Im confused to the guidelines, could you point me to a thread explaining them please, thank you :paranoid:
oh and on topic: you should talk with your mods, if you can'T trust em, fire em... [/B]
I know, but I like to give chances and avoid being nasty when I can :banana:
Xenon
09-18-2002, 03:55 PM
<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=40115&highlight=img+sig" target="_blank">https://vborg.vbsupport.ru/showt...hlight=img+sig</a>
well being hard in a leading position would avoid problems ^^
Sweet Cheeks
09-18-2002, 09:08 PM
Thank you for your assistance Xenon :banana:
Logician
09-19-2002, 09:14 AM
NTLDR's solution is correct (as usual) but I guess this would stop deleting via "admin commands" only. Mods can still delete posts by "edit post" option.
And what if you also hacked that section? They can then edit the post and remove its content by eg. ".". Is it so different than deleting? :)
I agree with Xenon here: If you dont trust them for deleting posts you should really think twice why they are mods anyway..
Sweet Cheeks
01-04-2003, 09:56 PM
Originally posted by Logician
NTLDR's solution is correct (as usual) but I guess this would stop deleting via "admin commands" only. Mods can still delete posts by "edit post" option.
:paranoid: Is there any special way to prevent it from happening both ways? :smoke:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.