![]() |
Disable Hard Thread/Post Deletions
This little product disables hard deletes for everyone (ie, Supermods) but Admins.
Install Just install the attached product XML as normal. It adds 3 plugins. Note This doesn't do anything to the Prune functions in the ModCP, so if the user has access to that, then it's likely they can still hard delete threads and posts. This product only stops them doing it using inline moderation, and the thread tools menu. Important: Unfortunately, my leased vBulletin licence has now expired, and I won't be renewing it until September which means I will be unable to reply to this thread, or update this mod until then. I'm hopeful that the great vBulletin.org community will step in to answer any questions in my absence though :) See you all in early September! :D Enjoy! Version 1.1: This now hides the Hard Delete option as well. |
Thank you! :)
|
Thanks, I was looking for something like this.
|
Alan,
Is it possible you could modify this plugin for us so that it will hide the hard delete option all together so they cant even see the option to check the hard delete box? Also is it possibly you could modify this to prevent them from deleting the attachments too? The way im looking at this, at least on my forums, is that if i am wanting to keep a post, I definetly dont want the attachments deleted as they are part of the post. I hope you consider my request. Thank you very much. Doug |
Doug: Yep, not a problem. I won't be able to do anything until Monday I'm afraid, but I'll add the features you've requested to it then.
|
workin on vB 3.5.1 ?
|
Alan,
Thats excellent news! Thank you. As Moosa mentioned, this plug I assume will work on VB 3.5.1 as well right? Doug |
I haven't tested it on 3.5.1, but there is no reason it wouldn't work.
|
Ok thanks Alan.
Doug |
This does not appear to work on 3.5.1
|
Habboforum: Just tested it on 3.5.1 and it appears to work fine.
|
Version 1.1 has been released. This now hides the Hard Delete option as well.
Any problems, let me know. |
Quote:
|
It does not seem to hide thew physical delete option or prevent moderators physically deleting posts. Is there any configuration for this plugin? I only want administrators to be able to physically delete posts.
I'm running 3.5.1 |
Lionslair: Works fine on posts as far as I can tell. How are you deleting the posts? Using the inline dropdown, or another way?
Also, what is the primary usergroup, and any additional usergroups of the user you are using to test it? Thanks, Alan. |
Hi
I have installed this, when i try a hard delete i get this error Fatal error: Call to undefined function: can_administer() in /home/sites/bashys-place.com/public_html/forums/inlinemod.php(220) : eval()'d code on line 3 Please advise??? Bashy |
Quote:
|
Installed this. Seems to work for the most part, but SuperMods still have access to (and can sucessfully use) the Physical Delete option when QuickEditing a post.
EDIT: They also get the option, and can use it, when editing a post in Advanced mode. |
Works mostly in 3.5.2, but we find that it is also disabling inline hard delete for Admins... which is undesirable.
Any fix for this? |
Hi all,
I have now returned from my holidays, hope you all had a good <insert-seasonal-holiday-name-here> :) I'll start answering any questions, fixing any bugs, and adding any new features next week, but I've got a lot of hacks to update, so it might not be immediate :) Thanks, Alan. |
Installed, it works exactly as in the description, inline & thread tools only. Smod still can physical delete through Quick Edit & edit in Advanced mode
Quote:
|
How would you make it to disable for ALL users (including admin) ?
|
I fixed the Call to undefined function: can_administer() in inlinemod.php(220) : eval()'d code on line 3 error.
You can find my fixed version in the attachment ;) Tomorrow I'm going to try making a version which will disable physical deletion also through quick edit and edit in advanced mode. |
As physical delete can already be disabled for moderators I suggest this plugin:
Hook Location: can_moderate_supermod PHP Code:
|
Andreas,
Can something similar be used to prevent Mass Move? Also, I notice that your code also prevents Admins from Physically deleting. Any way to allow that? Thanks! |
JUST what i needed!
|
Will admins still be able to hard delete? Because this is what I want but i still want admins to have the option.
|
installed in 3.5.3
gr8 jope m8 thanks a lot i do have on suggestion can you make it with group permission so i can give someone a secondary group for who ever i want from the staff to give him the permission to delete |
Quote:
And where is the setting to turn off physical delete for Mods? I didn't find it. ;) |
Quote:
|
If anyones still using this hack, I'd recommend Andreas' method - a lot cleaner and simpler than mine :)
Thanks, Alan. |
Quote:
|
this one i guess:
https://vborg.vbsupport.ru/showpost....78&postcount=8 No, post #24: https://vborg.vbsupport.ru/showpost....2&postcount=24 It disables physical deletion for admins, too Yes, already known :) |
Quote:
And it is already disabled by default for Mods without any hacks added? |
Quote:
|
Quote:
|
Nope, haven't figured out how to do any of it yet. :(
|
Quote:
|
Quote:
Thanks in advance :nervous: |
Quote:
|
All times are GMT. The time now is 06:25 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:
|