Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Remove Post Edit History (from within postbits) Details »
Remove Post Edit History (from within postbits)
Mod Version: 1.3, by MarkFL (Coder) MarkFL is offline
Developer Last Online: Nov 2019 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (0 vote - 0 average) Installs: 7
Released: 27 Feb 2016 Last Update: 21 Mar 2016 Downloads: 25
Not Supported Uses Plugins Additional Files Translations  

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 seaching in the phrase variable names for "markfl_rpeh".



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:
  • Fixed reported multiple button issue.

Version 1.3:
  • Bug preventing button from appearing on any page of a thread except the first fixed

Note: If upgrading from version 1.0 to version 1.1, then there is no need to re-upload the external .PHP file packaged in the .ZIP file.

Compatibility:

Tested and working on VB 3.8.9 and may work on earlier 3.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:
  1. Download and extract the attached .zip file.
  2. Upload the contents of the "upload" folder to your forum's root directory.
  3. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  4. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  5. Click "Import."
  6. You MUST enable the product in the settings before it will function.
  7. Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.



Support for this product can be found here:

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	markfl_rpeh_button_vb3.png
Views:	146
Size:	2.5 KB
ID:	154283   Click image for larger version

Name:	markfl_rpeh_acp.png
Views:	135
Size:	42.3 KB
ID:	154293  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Moderators Functions Show User History On Infraction Form And Postbits MarkFL vBulletin 4.x Add-ons 72 19 Aug 2017 20:30
Administrative and Maintenance Tools Remove Post Edit History (from within postbits) MarkFL vBulletin 4.x Add-ons 33 18 Mar 2017 00:05

Comments
  #2  
Old 28 Feb 2016, 03:27
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Update - 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.

Note: If upgrading from version 1.0 to version 1.1, then there is no need to re-upload the external .PHP file packaged in the .ZIP file.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #3  
Old 20 Mar 2016, 23:29
soldier_d00d soldier_d00d is offline
 
Join Date: Jun 2012
I had to move the button creation code ($button = ...) from the first IF block to the last one. Otherwise, the button for each post linked to the first post in the thread and not the current post.
Reply With Quote
  #4  
Old 21 Mar 2016, 00:28
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by soldier_d00d View Post
I had to move the button creation code ($button = ...) from the first IF block to the last one. Otherwise, the button for each post linked to the first post in the thread and not the current post.
Thanks...I have made an update to this and the vB 4.2.x version.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:56.

Layout Options | Width: Wide Color: