I have experienced issues with comment notify when anonymous users commented on the front (read) server but the site editor approved the comment from the editing server ... so the url that was sent to the users was of the editing server - and they have no access to it.
So in the mail text I have changed the url from !comment_url to http://www.mysite.gov/node/!nid#comment-!cid
but I would like also (for anonymous users) to add the disable future follow-up notifications. the solution I thought of was to add a new variable: !hash_code
and to set the disable url to: http://www.mysite.gov/comment_notify/disable/!hash_code
I am attaching a patch, for you to review (or, if you have any other idea - I would love to hear)
Thanks,
S.
Comment | File | Size | Author |
---|---|---|---|
hash_code.patch | 1.19 KB | szadok | |
Comments
Comment #1
gregglesThat's an interesting problem. Your solution seems reasonable enough to me.
Anyone else have thoughts? Otherwise I'm likely to commit this.
Comment #2
szadok CreditAttribution: szadok commentedAny chance you add this to next version?
Comment #3
gregglesIt would be easier to commit this if you could create a Drupal 7 version of it as well.
Either way, I think it does make sense and should get added.