How to automatically add user to "default" organic group during registration?

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

Hi,

Have a question about OG 7.2 and Rules

For example:

Have a community built on OG, and want that every new member of site to be automatically added to some specific group (like "Security and other important announcements") during registration.

Lets assume, that group "Security and other important announcements" is node/1

I cannot find in Rules interface how to do this. I should be simple, as there is event "User is validated" and action "Subscribe user to group" but still do not understand data selector.

Which one to choose?

Thank you in advance.

p.s. beginner Rules user, please be patient

Comments

It seems, I want recreate

playfulwolf's picture

It seems, I want recreate http://drupal.org/project/og_mandatory_group
Tried to import rule from http://drupal.org/node/1315284#comment-5711402 with no luck - errors

drupal+me: jeweler portfolio

anyone with the solution?

playfulwolf's picture

anyone with the solution? still stuck with this :/

drupal+me: jeweler portfolio

Any luck with this?

scratchfury's picture

Any luck with this yet? I had it working with a similar approach to the import rule link you provided, then it stopped working a couple weeks ago, throwing errors saying entity_id is NULL when inserting the user/audience link into {field_data_group_audience}.

If you'd like me to, I can describe to you how I created the rule I created, which worked for months until a couple weeks ago when it started throwing these errors.

Have you found a workable solution so far?

Rules

Group organizers

Group categories

Categories

Group notifications

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

Hot content this week