Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The attached patch provides time-limited editing capabilities to AF. If enabled, both the comment edit link and the underlying URL will be subject to the user trying to edit the post still being within the specified time limit. The patch only handles the links and doesn't do any processing upon submitting the post, so if the user starts to edit before the time limit but finishes editing after the limit, the post will be allowed through.
If enabled on a functional forum, clearing the menu cache is required.
Comment | File | Size | Author |
---|---|---|---|
#1 | advanced_forum_1349692_01.patch | 3.43 KB | djg_tram |
commit-7e7274a.patch | 3.15 KB | djg_tram | |
Comments
Comment #1
djg_tram CreditAttribution: djg_tram commentedThe same patch in the format the testbot is supposed to like...
Comment #2
troky CreditAttribution: troky commentedThanks for the patch but the feature set is locked until AF 7.x-2.0 release.
I will consider this patch later.
It would be nice if somebody else can test it and report back.
Comment #3
MichelleNow that we have 2.0, I'm going to un-postpone this because it's more likely someone will see it and test it if it's not hidden. Please don't read anything else into my un-postponing. I'm not in a position to act on this; just caring for the queue.
Comment #4
podaroktrailing whitespace
Inline comments must end in full-stops, exclamation marks, or question marks
Comment #5
cmseasy CreditAttribution: cmseasy commentedYou can use 'edit_limit' for this: https://www.drupal.org/project/edit_limit.
Or Flags and Rules.