![]() |
Disable Usergroups From Deleting Posts
As requested [ Here ] by The Ghost :)
+++++++++++++++++++++++++++++++++++++++++++++++++ // +++++++ What to do? +++++++ // +++++++ Queries to Run (1) +++++++ // +++++++ File Modifications (7) +++++++ // +++++++ Templates To Add (1) +++++++ +++++++++++++++++++++++++++++++++++++++++++++++++ What does this do? It restricts usergroups from deleting posts, pertaining mainly to Super Moderators and Moderators. If you don't trust you moderators when it comes to deleting certain posts or trust their judgement then editing should be suffice enough. Here you can disable those usergroups from deleting any posts. Enjoy. ;) Edit: big thanks to Boofo for helping me sort some issues out and getting things back on track :) g-force2k2 |
I thought this hack was cool myself i'll probably be installing it on my own forum :D
Here's a screenshot of the added permission ;) thanks to The Ghost for confirming that an option like this didn't exist :p Though i know you can restrict by forums but thats a much bigger task :) Enjoy One more quick note if you disable administrators from deleting posts then they won't have access either... for security reasons all usergroups were set to no... so you have to activate the users you want to have permission ;) regular members wont' have access either way :p g-force2k2 |
Will this also stop them from deleting threads? That's what the Ghost was looking for, I think.
|
woot very nice, very helpful hack = ]
|
Quote:
g-force2k2 |
Can we get a text version of this, too, please? :)
|
Boofo it is a text version :p just open the file in word pad i just have a tendency to write all my hacks on php files :)
g-force2k2 |
Thanks! Might not be a bad idea to say that in the first message. :)
|
I have this in 2 places in the editpost.php. Which one do I add the code after?
if ($action=="deletepost") { |
sorry boofo ;\ totally missed that... i tested it on the first one but failed to see the second one... but correct me if i am wrong but if you place it on the first one can you edit the post then or does it give you an error?
g-force2k2 |
All times are GMT. The time now is 05:54 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:
|