I have create a module base on the wonderful notifications module to support anonymous subscribe with their mail. To enable the module work right, you need patch a few file of notifications module.
And the feature is still very simple, just add a few links to node page, you may subscribe / unsubscribe with these links. When the cronjob process, the mail which you subscribed with will receive notification emails just like a real user.
I uploaded all the files here for public review, please feed back and I would like to request the module moderator if I may start a new module and maintance it as a plugin module with notifications.
This module is developed base on notifications-6.x-2.2, Don not test this module on a product site.
Regards
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | notify.jpg | 128.95 KB | romanciuc |
| #4 | 0153-fix-html-rewrite-of-subscribe-link-title.patch | 1.18 KB | wqmeng |
| notifications_anonymous.zip | 5.48 KB | wqmeng | |
| 0144-Add-code-to-support-destination-field-of-notificatio.patch | 2.29 KB | wqmeng | |
| 0143-Get-subscriptions-with-destination-to-support-anonym.patch | 1.52 KB | wqmeng |
Comments
Comment #1
jose reyero commentedThe idea looks good and you have identified very well all the critical points for adding anonymous subscriptions.
But I think we better improve the data model to support these anonymous subscriptions than adding more fields. See #743008: Normalize destination data (save storage space, improve performance), working on that now to be released very soon.
About the module it looks just like a template module so I guess once we've got the api updates needed, it can be better rewritten.
Comment #2
jose reyero commentedCreated a new branch (4.x) for new features.
Added a notifications_anonymous module barely based on this idea. Still WIP.
Comment #3
SeanBannister commentedSub
Comment #4
wqmeng commentedHi Jose,
I have updated my notifications to the 6.x-4.x-dev, no problem in the installation.
I have spent sometime to get the anonymous subscription module to work, and when I enabled the subscribe of the tags, there is a small problem the term display surroundded by
<em>...</em>. Then found that the @name force change rewrite the title of the link. So I change it to !name, then the problem disappears.Please review the patch,
Will test the whole module soon.
Thank you!
Comment #5
romanciuc commentedwhen an anonymus user subscribe nothing is saved on db (look at the screenshot)
I used a new drupal installation and i have installed only the modules needed to make work notifications.
The module installed is 6.x-4.0-alpha3 but also the 6.x-4.x-dev don't save nothing to db
regards
Comment #6
jose reyero commentedThis should be working with latest Beta.
For bug reports about this feature please open specific issues.