Needs work
Project:
Watcher
Version:
5.x-1.6
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Feb 2009 at 16:45 UTC
Updated:
17 May 2009 at 15:00 UTC
Jump to comment: Most recent file
Hi,
Love this module!
This would be a nice to have:
For nodes that have more than one page of comments, it would be great if the comment link in the notification email also contained the page the comment is on (in addition to the comment anchor link).
Thanks,
Mike
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | watcher-comment-page.patch | 1.1 KB | mpaler |
Comments
Comment #1
solipsist commentedGood idea! I'm keeping it for version 2!
Comment #2
solipsist commentedComment #3
mpaler commentedHi,
I've managed to get this going on my 5.x installation. Attached is a patch with my mods...
Mike
Comment #4
solipsist commentedNice, but this will always point to the last page of comments. Someone may have replied to an earlier comment and the comment in reply may be on the first page of comments. Because of that you need to recursively back track up the tree of comments to get the ordered sequence number of the comment the notification is about and then derive its page number. Also, we need to be able to take care of reverse date order for comments (latest first).
Comment #5
mpaler commentedOh jeez, you're right. How selfish of me: I didn't even think of that because I'm forcing my forum to be Flat list - expanded & oldest first so new comments are always on the bottom...
I'm afraid I'm super swamped right now -- Hopefully later this week I can can give this some more thought. However, this may prove to be a much bigger problem than I bargained for.
Mike
Comment #6
solipsist commentedI had a sense it was a tricky one, why I've delayed implementing it. If you can come up with a patch that implements this in a way that works with what I wrote above, I could add it straight away. When patching, please use the latest version from CVS rather than the releases on the project page.
Comment #7
solipsist commented