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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

djg_tram’s picture

Status: Active » Needs review
FileSize
3.43 KB

The same patch in the format the testbot is supposed to like...

troky’s picture

Status: Needs review » Postponed

Thanks 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.

Michelle’s picture

Status: Postponed » Needs review

Now 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.

podarok’s picture

Issue summary: View changes
Status: Needs review » Needs work
+++ b/advanced_forum.module
@@ -386,7 +399,7 @@ function advanced_forum_links_alter($object, $view_mode, $object_type = 'node')
+ ¶

trailing whitespace

+++ b/includes/settings.inc
@@ -192,6 +192,24 @@ function advanced_forum_settings_page() {
+  // Disable breadcrumbs

Inline comments must end in full-stops, exclamation marks, or question marks

cmseasy’s picture

You can use 'edit_limit' for this: https://www.drupal.org/project/edit_limit.
Or Flags and Rules.