Hallo,
I really like this module and I hope that the changes you are working on will be available soon.
Until then it would be nice to know how I could do the following:
1. users can only enable/disable notifications in general, and on the users configuration page only the "Master switch" is shown.
2. notification mail should only show
- Greetings [user name],
- Number of new entries
I hope for help with a little note what to disable within the code of notify.module or notify.inc.
Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | notify-86825-1.patch.txt | 8.31 KB | kthagen |
| #3 | notify-86825.patch.txt | 15.54 KB | kthagen |
| #1 | notify-enh.zip | 6.93 KB | kthagen |
Comments
Comment #1
kthagen commentedHere you go. I'm attaching the complete module to this comment. I'll provide a patch shortly. This is an extended version of the version that I recently posted here. Here's how it works:
Limitations:
If you turn off the allow-content choice, no count of comments is made at all.
You can't restrict users just to titles. IOW, currently, if you let them see any content at all, they can choose to see teasers or full nodes.
It would be nice to allow both count-only comment messages and title-only restrictions. I'll try to do that next.
Comment #2
RobRoy commented@kthagen, I'll take a look at your patches shortly. Please make all patches according to http://drupal.org/diffandpatch and Drupal coding style. I'm looking forward to committing some new features to Notify. Thanks!
Comment #3
kthagen commentedAs I said, the patch was forthcoming. And here it is. It's pretty long, though, since it incorporates all of this here as well. For reference, I'll send a diff of the two momentarily.
Comment #4
kthagen commentedAnd here's a diff between the patch for 28040 and this one.
Comment #5
RobRoy commentedCan you split up each piece of functionality in it's own patch? That will make it much easier to review. Thanks.
Comment #6
kthagen commentedI looked at doing that, but it's hard to see how. This stuff really overlaps with the prior patch. I'd suggest reviewing that one first. With that factored out, this extension relatively small.
Comment #7
gisleAfter six years, chances are slim that these are going to be reviewed and backported into D4.
Time to close.