The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Remove Post Edit History (from within postbits) Details »» | |||||||||||||||||||||||||||||||||
Remove Post Edit History (from within postbits)
Developer Last Online: Jun 2020
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:
Version 1.2:
Version 1.3:
Version 1.4:
Version 1.5:
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:
Support for this product can be found here: Download Now
Screenshots
Show Your Support
|
Благодарность от: | ||
Alan_SP |
Comments |
#22
|
|||
|
|||
This mod is not compatible with latest vb 4.2.4 update.
Accessing a CMS article can result in a database error. Uninstalled. |
#23
|
|||
|
|||
Installed with thanks to Mark on v4.13...
It seems to work fine, except when you edit a post to perhaps add additional text etc., then after saving it, you choose to click the "Revert Post" button because you want to restore the first original post. That "Revert Post" button then removes all edit info from bottom of the post so it appears as it it was never edited, which is probably what it should do since you've only done one edit of the original post. However, the content showing in the post is NOT just the content of the original post you wanted to revert to, but rather the last edited post state you had saved, which included the changes you had made? If you then select EDIT POST again, you now see correctly just the content of the original post you wanted to revert to? Is there something I'm not understanding? Thanks... Regards, Doug |
#24
|
||||
|
||||
Quote:
In the next update, I will add a condition that prevents the button from showing up on CMS articles. Quote:
|
#25
|
|||
|
|||
Quote:
If you want to add something to code that forces (flushes) the cache to eliminate the residual left over text, I'd be happy to test an update for you. Thanks Mark ... Regards, Doug |
#26
|
||||
|
||||
Update - Version 1.5:
|
#27
|
|||
|
|||
Thanks Mark...
Updated to 1.5 and ran a test thread .. 1. Created a new thread (first post)... 2. Edited (didn't go to advanced edit) first post simply adding some text.. 3. After saving the edited post, screen flashed and edited first post returned showing correctly edits post adding the new text, however, there was only the standard vbulletin edit link notification at bottom of post (see right pic). I then clicked page refresh and that link, plus your add on options appeared. (see left pic) 4.Clicked "Revert" button and web page screen cleared to a white page and froze. It didn't return to the post and I had to click on home page to work my way back to the test post. 5. The good news is when I did that and got back to the test post, it had reverted correctly to the original first post content, as it should have, plus no vBulletin edit link or your add-on option appeared any longer, whic would also be correct for your mod. The locked up white screen seems to be something new for us in 1.5. If there's anything else we can do to help, please let use know.. Note: we do use Sucuri firewal.. https://sucuri.net/website-firewall/ It has been an outstanding product for our site to protect it from spam, viruses and added improved performance. It uses a world wide caching system, so I wonder if that's a factor. Regards, Doug |
#28
|
||||
|
||||
Hello Doug,
I suspect the white screen you got is an issue with using vB 4.1.x, as I'm not getting that on my local dev site running vB 4.2.5. The buttons don't appear immediately after using the quick editor, only the advanced editor but I don't consider that much of an issue since you would typically use this on the posts of others. |
#29
|
|||
|
|||
Quote:
I didn't get the white screen hang with v1.4, so something changed in 1.5 that has caused the hanging white screeninteraction. Appreciate your efforts, but I'll uninstall the mod, since it's unlikely to work with our site at this point... Regards, Doug |
#30
|
||||
|
||||
I made only one change to the removal portion of the script, and this change is also in the revert portion, so it's odd that the removal portion gives you a white screen while the revert portion doesn't.
However, as I said, I can't replicate the issue. Sorry about that. |
#31
|
|||
|
|||
database error on cms articles still happen
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|