Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Remove Post Edit History (from within postbits) Details »»
Remove Post Edit History (from within postbits)
Version: 1.5, by MarkFL MarkFL is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.2.x Rating:
Released: 02-26-2016 Last Update: 03-10-2017 Installs: 18
Uses Plugins
Additional Files Translations  
No support by the author.

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.



Support for this product can be found here:

Download Now

File Type: zip MarkFL - Remove Post Edit History v1.5.zip (4.9 KB, 34 views)

Screenshots

File Type: png markfl_rpeh_acp.png (42.3 KB, 0 views)
File Type: png markfl_rpeh_buttons.png (5.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Alan_SP

Comments
  #12  
Old 02-28-2016, 01:11 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #13  
Old 02-28-2016, 07:53 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #14  
Old 02-28-2016, 03:34 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #15  
Old 03-21-2016, 06:19 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
Благодарность от:
MarkFL
  #16  
Old 05-18-2016, 04:10 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update - Version 1.4:
  • Added button that allows posts to be reverted to the previous version.
Reply With Quote
  #17  
Old 01-15-2017, 10:47 PM
Techno Cowboy's Avatar
Techno Cowboy Techno Cowboy is offline
 
Join Date: May 2014
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What A Cool Tool!

Will load it on my vB 4.2.5 Beta 1 test site here shortly.

Thanks...:up:

UPDATE:

Running As Should On My Beastly Build!
Reply With Quote
Благодарность от:
MarkFL
  #18  
Old 02-03-2017, 03:06 PM
mobster46 mobster46 is offline
 
Join Date: Dec 2016
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
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.
Can I see a message before it was edited?
Reply With Quote
  #19  
Old 02-03-2017, 03:08 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mobster46 View Post
Can I see a message before it was edited?
Yes, you can compare versions by clicking on the "Edited by" link provided by vBulletin.
Reply With Quote
  #20  
Old 02-03-2017, 03:11 PM
mobster46 mobster46 is offline
 
Join Date: Dec 2016
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
Yes, you can compare versions by clicking on the "Edited by" link provided by vBulletin.
Is there a more practical solution to this?
2 message will be opened in the form of a pop-up window that I can see at the same moment?
Reply With Quote
  #21  
Old 02-03-2017, 03:12 PM
mobster46 mobster46 is offline
 
Join Date: Dec 2016
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
Yes, you can compare versions by clicking on the "Edited by" link provided by vBulletin.
Okay, I noticed. Thank you.
Reply With Quote
Благодарность от:
MarkFL
Reply


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


All times are GMT. The time now is 09:47 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04786 seconds
  • Memory Usage 2,354KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete