If you subscribe to a thread, each comment produces a message containing only the title of the node at the top of the discussion, and if you enable the teaser, you just keep getting that node's teaser.
The issue is present for the other subscription types.
This patch delivers the title of the node plus the title of the comment, and if the teaser is enabled, it also delivers the comment text.
| Comment | File | Size | Author |
|---|---|---|---|
| subscriptions.module_5.patch | 4.19 KB | salvis |
Comments
Comment #1
arthurf commentedOk, I've applied your patch. Can you test out the CVS version and let me know how it's working for you? If things look good, I'll apply the same fixes to the 5.0 module and release a new version of each.
Comment #2
salvisYes, this looks good, thank you.
However, you may want to consider enabling the
subscriptions_teasercheckbox to allow the administrator to make the teasers available. Right now it's commented out in lines 82-87 as discussed in /node/77036.The "not ready for prime time" comment on line 87 presumably refers to the fact, that the teasers (and after my patch the comments, too) are delivered unfiltered, i.e. if they contain HTML, they're delivered with the HTML, but as text, so the recipient sees the HTML codes.
Of course it would be nice to filter the text to replace any HTML with suitable text-only formatting, but in the meantime I'd rather have teasers with HTML than no teasers at all...
Comment #3
ricmadeira commentedYou might want to look into and/or cannibalize the Organic Groups module. It HTML-filters the node/comment text it sends in e-mails to subscribers, and even provides a list of the links that were filtered out at the bottom of the e-mail. Works pretty good too!
Comment #4
arthurf commentedI've done some work to allow teasers to be sent and am filtering on them. Look for the theme body function which is where you can set this.
Comment #5
(not verified) commented