Overview:
This simple mod allows you to give certain usergroups the ability to remove post edit histories via a button to the left of the edit history data. Clicking the button will execute an external script that removes the post's edit history from the database, with a redirect message confirming the action taken. Both the redirect and the button's tooltip are phrased, and can be found by searching in the phrase variable names for "markfl_rpeh".
There is now also a button that allows for posts to be reverted to the previous version.
Updates
Version 1.1:
- Fixed error where multiple buttons would be displayed for threads having more than one post with a post edit history.
- Added setting for usergroups who can remove their own post edit histories.
Version 1.2:
- Bug with multiple buttons fixed.
Version 1.3:
- Bug preventing button from appearing on any page of a thread except the first fixed.
Version 1.4:
- Added button that allows posts to be reverted to the previous version.
Version 1.5:
- Uses intrinsic datamanager functions on post revert.
- Make sure only forum posts are affected.
- User returned to specific post upon action performed.
Compatibility:
Tested and working on VB 4.2.x and may work on all 4.x versions of vBulletin.
Backup/Warning:
This product does not alter your database upon installation, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.
As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.
To Install:
- Download and extract the attached .zip file.
- Upload the contents of the "upload" folder to your forum's root directory.
- Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
- Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
- Click "Import."
- You MUST enable the product in the settings before it will function.
- Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.