I've installed this sandbox module, but am confused by the Data Selector options after configuring the rule as the following:

1. Created a new rule with condition: "After saving a new user account"
2. Created action: "Subscribe a user to content notifications"

Now I'm confused because the page keeps asking me for a Data Selector option and there are only two - site:current-user-roles: and site:no-access-user:roles:

When I submit, I get the errors "Data selector field is required. Missing configuration for parameter node.

Screenshot: https://img.skitch.com/20111114-fw4sqn7jbrcwhqgnenii1fq3ti.png

Comments

kriskhaira’s picture

Title: How do I configure the rule? » How do I configure Data Selectors for Notifications Rules?
kriskhaira’s picture

Notes based on IRC chat with @webflo:

- Node type subscription is not implemented yet
- Try to create a new entity in rules
- Pass this entity to "Subscribe user to content."
- (or something like that)

kriskhaira’s picture

Note to all - I'm trying a different route using hook_user_insert to create a node-type subscription on user registration #1346080: Error trying to set up node-type auto-subscriptions using hook_user_insert()

agerard’s picture

Apologies for the intrusion, I think I saw your snippet elsewhere and wondered if you have any suggestions on how to modify it so if users are created by admin, the new user - not admin - is subscribed. Am currently (mis-?)managing numerous drupal sites in development where I have to notify content editors of outages or downtime and it's becoming a real headache. Thanks for any suggestions!

kriskhaira’s picture

agerard, I've answered here:
http://drupal.org/node/1346080

Please don't crosspost especially when you're addressing the same person.