Closed (duplicate)
Project:
Notifications
Version:
5.x-1.0-rc1
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2008 at 21:25 UTC
Updated:
14 Nov 2008 at 13:24 UTC
Hi, I have set the notifications module to automatically subscribe new users to any newsletter issues but it doesn't work. I have subscribed them in the categories and content type sections but when I create a new user they are not subscribed. Any ideas?
Comments
Comment #1
vstmusic commentedActually, I do that with adding php code in user.module (user module) and it work !
my php code :
(you must modify the code with your own content type names ...
It is perhaps possible to write this php code in workflow module...
I hope this will be implemented in a next version of notifications module ! :-)
Comment #2
jose reyero commentedFor this either we create a specific plug-in, so you can subscribe to a newsletter as such, or we subscribe the users to whatever node types are the newsletter posts.
For creating subscriptions, better use the notifications API: notifications_add_subscription()
Comment #3
jose reyero commentedAbout automatic subscriptions, follow up here #304010: Suscribe new users to all content