Is the framework capable of handling anonymous subscriptions?
If not, what would it take to make it handle such requests (e.g., collecting emails without registering - like simplenews)?

Comments

jose reyero’s picture

Project: Messaging » Notifications

Yes, it is (as a framework not as an end user module)

You'll need to create your own 'subscriptions' db entries (with a 'module' value) and then implement the multiple hooks it provides (module_load_user()....)

This should be in Notifications, I guess

Anonymous’s picture

It would be a great module, there is not any module in drupal with this feature.

lias’s picture

Just wondering if anonymous functionality was added to the 5.x-1.0-beta1 version - didn't see it under release notes? Thanks!

jose reyero’s picture

Title: Anonymous subscriptions » Anonymous subscriptions, mailing lists in a text file.
Category: feature » task

Not yet. Being considered for the next one. As usual, patches welcome.

There's an interesting follow up request: Write mailing lists in a text file, so merging it into this thread.

jose reyero’s picture

Title: Anonymous subscriptions, mailing lists in a text file. » Anonymous subscriptions, support for mailing lists
Version: 5.x-1.0-alpha1 » 6.x-1.x-dev
Component: User interface » Code

No new features for 5.x. To be implemented for 6.x though, but just the back-end support for it.

The feature will be like this: Add a destination field to notifications (and notifications_queue) table so user-less subscriptions will be handled (mail addresses, sms numbers, etc...)

mariagwyn’s picture

subscribing. very useful if this happens!

mmilo’s picture

Subscribing. I guess this would mean that you would be able to specify a destination field (ie. defined by a CCK e-mail field)?

grendzy’s picture

this would be awesome!

jose reyero’s picture

Status: Active » Fixed

Added this feature in the last commit.

As mentioned, it is only support in the backend, no UI at all yet. This will be for next versions.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

probocop’s picture

Was there ever a UI made for this feature?

It is exactly what I'm after and cannot find anywhere else.

scedwar’s picture

I agree. What would be great is a one click subscription for email notifications on a group, without a user having to register or even join a group.

murokoma’s picture

I think this is a very important feature. Subscribing.

murokoma’s picture

Status: Closed (fixed) » Needs review
jose reyero’s picture

Status: Needs review » Closed (fixed)

Nothing needs review, no patches here.

And as I've said in #9 no UI no plans for it atm.

SeanBannister’s picture

Sub

david lesieur’s picture

Title: Anonymous subscriptions, support for mailing lists » UI for anonymous subscriptions
Category: task » feature
Status: Closed (fixed) » Postponed

I think this is still a valid feature request. Seems to make sense to keep it open and allow interested users to find the discussion.

Marked #620282: anonymous subscribing to notifications as duplicate.

lelizondo’s picture

subs

Anonymous’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev

Any progress for this?
If not, can anyone provide detailed information on how to achieve this without a UI?

(I imagine this would be going into v2.x...)

wqmeng’s picture

I am now traveling with this feature, and I can not find the support to a anonymous subscription from notifications framework, I know that notifications may handle a subscription with the anonymous user with uid 0, while it seems that not enough to distinguish all the anonymous user by their mail address. To notifications framework, it should provide another hook op 'load subscriptions' so other modules like anonymous module may provide stored subscriptions base on a mail address instead of the uid.

I now handle the anonymous user by hook 'insert' op to store them to another table, but it is ugly as every time I also need to check the notifications table for the duplicate subscriptions and remove them.

So could you give me some suggestions or I have done the wrong way?

Thanks

jose reyero’s picture