Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Disable edit if comments is older than .. minutes.
Hello,
I'm looking for an addons that disable the possibility to edit a comment by his original poster if the comment date is older than XX minutes.
Thanks !
1
Comments
Are you guys talking about Vanilla 1 or Vanilla 2?
Edit Timeout would be great if two things were changed:
1 - The obvious. Users can just bypass and go straight to the URL to edit a post even if there is no link there.
2 - Setting the timeout shouldn't be such a cumbersome drop down menu. Why not just a text field and a drop down with these options: Seconds, Minutes, Days, Weeks, Months, Years. This way, I can say in the plug-in options, "Stop users from editing their own posts after 90 seconds," for instance.
But, really, since I can just go into the plugin source itself and modify #2, #1 is the more pressing issue.
To go one step further, it'd be great if there was an option in the dropdown for "immediately" to prevent editing at all.
http://github.com/vanillaforums/Garden/commit/5decbe370cbf8357648d30b401f9a72f49963303
This is good solution. However, the only thing could be changed, IMHO, is how user selects the timeout. Having timeout set in seconds is not very user-friendly, moreover, having timout less that 1 minute is nonsense, since in most cases users won't be able to finish edit within this time.
I suggest making it in minutes or doing as @melatonin suggested.