Project:Comment Revisions
Version:5.x-1.3
Component:Code
Category:feature request
Priority:normal
Assigned:thinkyhead
Status:closed (fixed)

Issue Summary

Looks like currently the revisions limit controls how many revisions will be kept and displayed (to those w/perm to view them).

How hard would it be to allow a limit on the number of times the comment may be revised? For example, an admin field for "max allowed revisions" and if I set it to 3, the fourth attempt just leaves the comment as is.
It could do this either by automatically "reverting" or maybe just by telling user "Max allowed revisions exceeded" and then reverting.

What I'm desperate for is some editing ability but only a little and I need anybody who uses the forum to be able to tell when an item has been revised.
(At the moment, I don't even know how to disable comment editing completely, which would have to be the plan B).

So if a feature addition isn't plausible, maybe a patch or a hack?
I don't have the PHP expertise to figure out how to get that behavior myself.

Comments

#1

Version:5.x-1.1» 5.x-1.3
Assigned to:Anonymous» thinkyhead

True, the limits currently apply only to the number of revisions kept. Your idea is a good one. As far as implementation details, I would want to just remove the "edit comment" link when the limit is reached.

#2

Status:active» closed (fixed)

The final version incorporated into D5 and D6 simply discards older revisions rather than preventing further editing. This seems better.

nobody click here