I'm trying to avoid any custom coding to accomplish this. Here's what I need it to do:
1. New user registers for site.
2. Upon registration (i.e., after they fill out the profile fields and hit submit), I need them to be sent directly to a page that will list all of the Organic Groups that I have setup. This page already exists as a view page showing icons/labels of all of the groups.
This site is a group-based social network so it's important that new users join one or more groups.
To accomplish this, I setup a Rule:
Event: User has logged in.
- USer has roles (set so that their role must be as an Authenticated User)
- Data Value is Empty (data selector = site:current-user:og-membership--1)
Action: Page redirect
The event and action are working. Whenever a user with the role of Authenticated User logs in, they are redirected to the Groups page. Problem is, ALL authenticated users are being redirected to that page. I only want those who currently are not members of a Group to be redirected to that page.
So I'm pretty sure I've selected the wrong OG Data Selector, but I'm not sure which one works or if I'm just approaching this wrong?
Help! : )