![]() |
Disable Supermoderator Pruning & Physical Delete
I would like to disable the Supermoderator's ability to Prune anything (from Modcp as well as from the Thread tools) and the ability to physically delete and posts or threads. I'd like to do it with as little code changes as possible, ideally. Any help would be appreciated!
|
I would like this as well
|
bump
|
Quote:
|
OK, I did this for my forum today.
I altered it so only superadmin can physical delete in the front-end. search for: $show['harddelete'] posting.php PHP Code:
editpost.php PHP Code:
|
Couldn't a clever mod just navigate there by hand though?
|
Here's what I've been using, this is just a pure lockout...
in forums/modcp/thread.php find... PHP Code:
PHP Code:
Admins are sent to the ACP, so you are not locked out from these functions. |
I don't tell my mods about stuff like this, but now that it's in the open, that blocks the menu, not the functions. So maybe a clever person could still submit a form and do damage. So I'll be looking up those functions to block them from that now. I'm not sure if vB blocks remote submissions or not. Best to be very paranoid and lock it all IMO if you lock it at all.
|
There is no need to be in thread.php at all. Just moving the hack code up four lines will stop thread.php's use completely it seems. I adjusted my post above with the code.
|
Quote:
|
I rechecked this for manage deleted posts. It uses the same var $show['harddelete'] on posting.php. So it should work the same way, without extra code modification.
Do you have a test user with mod rights or did you checked the manage deleted post site as admin? As admin it should work anyway. |
I checked logged in as a supermoderator. the option for "physically delete" was not available in "manage post" yet it was available in "Manage Thread"
if anyone can post what I would have to do to get that fixed I would be eternally greatful. |
usefull thanks
|
All times are GMT. The time now is 04: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:
|