Rules with content_profile

Events happening in the community are now at Drupal community events on www.drupal.org.
perarnet's picture

I'm setting up a multirole website using rules, roles and content_profile.
To complicate matters the user roles are referencing a group node.
So far I've set up rules to trigger on creation of group node, bringing up
the content profile registration with autopopulation of node_reference.

The rules so far do the following:
- Upon creation of group node, redirect to content profile registration
page, passing group nid to the url parameter. Then send email to admin
group to notify of new group node needing approval.
- Autopopulate group node reference in content profile. redirect to registration
page once again. (loop until user exits).

As it is now, I have to both publish the nodes (group and user nodes),
and then go to user management to unblock the users.
I'd like a rule doing:
- Upon publishing of the content profile node, unblock user.

However I can't for the life of me find an action to unblock the user
accounts though. Have I missed something?

Another wish would be the following rule:
- An action that can perform actions on all nodes coming from a view.
For example, a list of unpublished nodes in a view could be published.

I can't find any views integration in rules either though.

Comments

Edit

perarnet's picture

Just noticed this thread "support for looping and data lists" http://drupal.org/node/329500
I guess that answered my views question.

Autopopulate group node reference

johnthomas00's picture

Sorry to hijack your thread.

You mention that you are able to, "Autopopulate group node reference." Many of us are unable to make this work, see http://drupal.org/node/473338 . Could you tell me how you were able to populate a node reference field?

Rules

Group organizers

Group categories

Categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: