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

Comments

jose reyero’s picture

Assigned: Unassigned » jose reyero
Status: Needs review » Needs work

The 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.

jose reyero’s picture

Version: 6.x-2.2 » 6.x-4.x-dev

Created a new branch (4.x) for new features.

Added a notifications_anonymous module barely based on this idea. Still WIP.

SeanBannister’s picture

Sub

wqmeng’s picture

Hi 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!

romanciuc’s picture

StatusFileSize
new128.95 KB

when 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

jose reyero’s picture

Status: Needs work » Closed (fixed)

This should be working with latest Beta.

For bug reports about this feature please open specific issues.