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.5, by MarkFL (Moderator) MarkFL is online now
Developer Last Online: Mar 2017 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (3 votes - 5.00 average) Installs: 14
Released: 27 Feb 2016 Last Update: 11 Mar 2017 Downloads: 47
Supported Uses Plugins Additional Files Re-usable Code 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 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:
  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.

Download Now

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

Screenshots

Click image for larger version

Name:	markfl_rpeh_acp.png
Views:	131
Size:	42.3 KB
ID:	154292   Click image for larger version

Name:	markfl_rpeh_buttons.png
Views:	216
Size:	5.2 KB
ID:	155020  

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 67 19 Mar 2016 14:14

Comments
  #2  
Old 27 Feb 2016, 07:26
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Awesome mod Mark.
Reply With Quote
  #3  
Old 27 Feb 2016, 15:55
hazem_aliraqi's Avatar
hazem_aliraqi hazem_aliraqi is offline
 
Join Date: Oct 2010
Real name: hazem
thank you mark
Reply With Quote
  #4  
Old 27 Feb 2016, 17:23
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Great idea.
Reply With Quote
  #5  
Old 27 Feb 2016, 17:33
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Real name: Stratis
Works perfect, nice Mod.

For future use. You have this now:
Allowed Usergroup(s)
Set the usergroup(s) allowed to remove post edit histories.

How about one more option, if it can be done.
Allowed Usergroup(s)
Set the usergroup(s) allowed to remove from there own posts edit histories.

* I have this now for use to Admins, SMods and Mods.
* If forums have experts members or else (as I have), they might want to give them the privileges to use this mod,
but only effect to there own posts.

Mark you Rock
Reply With Quote
  #6  
Old 27 Feb 2016, 18:44
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Real name: Md Tajirul Islam
Can add user option? Who user can Use this mod ?
Reply With Quote
  #7  
Old 27 Feb 2016, 18:49
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Stratis View Post
Works perfect, nice Mod.

For future use. You have this now:
Allowed Usergroup(s)
Set the usergroup(s) allowed to remove post edit histories.

How about one more option, if it can be done.
Allowed Usergroup(s)
Set the usergroup(s) allowed to remove from there own posts edit histories.

* I have this now for use to Admins, SMods and Mods.
* If forums have experts members or else (as I have), they might want to give them the privileges to use this mod,
but only effect to there own posts.

Mark you Rock
That will be easy to add. I will do so tonight.

Originally Posted by Nirjonadda View Post
Can add user option? Who user can Use this mod ?
Do you mean you want to permit users individually, rather than entire usergroups?
__________________
Reply With Quote
  #8  
Old 27 Feb 2016, 19:27
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Real name: Md Tajirul Islam
Yes, Enter user ID option.
Reply With Quote
  #9  
Old 27 Feb 2016, 19:45
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Nirjonadda View Post
Yes, Enter user ID option.
Why not just create a usergroup for that purpose?
__________________
Reply With Quote
  #10  
Old 27 Feb 2016, 21:37
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Real name: Kris
Originally Posted by MarkFL View Post
Why not just create a usergroup for that purpose?
Too easy.
Reply With Quote
  #11  
Old 28 Feb 2016, 02:11
MarkFL's Avatar
MarkFL MarkFL is online now
 
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, there is no need to re-upload the external .PHP file included in the .ZIP file.
__________________
Reply With Quote
  #12  
Old 28 Feb 2016, 08:53
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Real name: Stratis
I have seen multiple button yesterday, you prevent me.

Now with this v1.1 nothing works at least for me.
Made clean install, same thing. Install v1.0 works again.
Tried this change 3-4 times.
Reply With Quote
  #13  
Old 28 Feb 2016, 16:34
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Stratis View Post
I have seen multiple button yesterday, you prevent me.

Now with this v1.1 nothing works at least for me.
Made clean install, same thing. Install v1.0 works again.
Tried this change 3-4 times.
I made a slight change, please try version 1.1 again.
__________________
Reply With Quote
  #14  
Old 21 Mar 2016, 07:19
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Real name: Stratis
Originally Posted by MarkFL View Post
I made a slight change, please try version 1.1 again.
Until now i was using v1.0, v1.1 did not work to me whatever i done.

Update v1.3 works fine. Than you, very useful mod
Reply With Quote
  #15  
Old 18 May 2016, 06:10
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Update - Version 1.4:
  • Added button that allows posts to be reverted to the previous version.
__________________
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 10:16.

Layout Options | Width: Wide Color: