Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Edit Timeout
TiGR
✭
Edit Timeout
0
Comments
Need use permission PostController::EditComment() + some other events AfterSaveComment, maybe other...
Regular expression to remove edit button - overkill - will not work for custom theme.
If you can think of a better way than regular expression - let me know (it could be hidden via custom css, something like #Comment_X EditComment or EditDiscussion, but it's not much better really).
Permission PostController::EditComment() won't work, since these permissions are hard-coded in view helper_functions.php: So, there are no "nice" ways to achieve this.
Another way is to use JS, but if user has js disabled he'd have all edit links at their places.
You can ask to add any event in any place: use pull request @ github or try luck here http://vanillaforums.org/discussion/comment/96266/
@S, yes, I am on my way to add BeforeSaveComment event to vanilla code.