Version: 1.2, by MarkFL
Developer Last Online: Jun 2020
Category: Miscellaneous Hacks -
Version: 4.2.x
Rating:
Released: 06-09-2016
Last Update: 06-11-2016
Installs: 16
Uses Plugins Auto-Templates
Translations
No support by the author.
Overview:
This product will allow you to require users to give a reason for editing posts, and you may set the minimum allowed characters in the reason, and define a list of edit reasons which they can select from a drop-down menu. This list of suggested reasons will appear for all users, whether required to give a reason or not, as an aid. If you have suggested reasons for moderators defined, then anyone who has moderating privileges in the forum in which a post reside will see these reasons in the drop-down menu as well.
You may select usergroups whose members will be exempt, and in addition members of usergroups who have "Show edited by note on edited messages?" set to "No" in the "General Permissions" section of the Usergroup Manager" will be exempt, since requiring a reason would defeat that setting.
Also, anyone editing a post within the time limit defined in the setting "Time to Wait Before Starting to Display 'Last Edited by...'" under "Message Posting and Editing Options" will be exempt.
A user required to give an edit reason will see something like this in the quick editor:
And something like this in the advanced editor:
Updates:
Version 1.1:
Added setting for suggested reasons for moderators/administrators.
Drop-down menu section titles now phrased.
Version 1.2:
Fixed bug causing interference with activity stream.
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, 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.
Thank you, Stratis, for making the initial suggestion, and for all of your support and patience with testing all along the development process/incremental updates...your input was greatly appreciated and invaluable! :up:
Would it be possible to add in a "special" group segment where Moderators and Administrators have their own special dropdown box segment in addition to the normal users segment?
-- Select an Option --
Correct Spelling/Grammar
Add Relevant Content
Remove Controversial Content
Attach Image Inline
Wrap LaTeX In Tags
-- Moderators --
Reason for Edit 1
Reason for Edit 2
Reason for Edit 3
Reason for Edit 4
Reason for Edit 5
Normal (non-special/non-elevated) users would see just the Select an Option portion with out the moderators portion. I think that would complete this addon. :-)
Would it be possible to add in a "special" group segment where Moderators and Administrators have their own special dropdown box segment in addition to the normal users segment?
-- Select an Option --
Correct Spelling/Grammar
Add Relevant Content
Remove Controversial Content
Attach Image Inline
Wrap LaTeX In Tags
-- Moderators --
Reason for Edit 1
Reason for Edit 2
Reason for Edit 3
Reason for Edit 4
Reason for Edit 5
Normal (non-special/non-elevated) users would see just the Select an Option portion with out the moderators portion. I think that would complete this addon. :-)
Great suggestion! :up:
Update - Version 1.1:
Added setting for suggested reasons for moderators/administrators.
You have a bug in the template_render_output hook.
While the mod is active, the template_render_output hook code causes activity.php to fail to render forum ID's, Forum Names, and text previews from the .\vb\activitystream\view\perm\forum\post.php file. The new thread data still functions.
In which, it is apparently interfering with this line:
I've not a clue how those two correlated, but when i disable that hook from the addon of Require Edit Reason, activity.php renders new post text and forum ID/name without issue.
Sorry Mark I thought i mention that, in IE11 is huge space.
In the other browsers it has a little space but its ok.
IE...what can I say...it does its own thing.
Quote:
Originally Posted by BrettC Frontier
You have a bug in the template_render_output hook.
While the mod is active, the template_render_output hook code causes activity.php to fail to render forum ID's, Forum Names, and text previews from the .\vb\activitystream\view\perm\forum\post.php file. The new thread data still functions.
In which, it is apparently interfering with this line:
I've not a clue how those two correlated, but when i disable that hook from the addon of Require Edit Reason, activity.php renders new post text and forum ID/name without issue.
Thank you...I have fixed this issue.
Update - Version 1.2:
Fixed bug causing interference with activity stream.