Posted by Castor-designs on April 25, 2014 at 12:20pm
I want to build a community-project with multiple groups, one group should contain all registered users of the site though.
What is the best way to achieve this? I thought about using Rules to assign every user on registration to a group, let’s call it “registered users”. But as it looks, I can only do this by adding a very irritating field to the registration process, where users have to click on the group, they will be assigned to. Instead I would prefer them to be put into a certain group in the background; it should not bother them whether they are in a “registered users”-group or not.
Comments
Discussed earlier
I forget the exact details, but you can do this without users actively selecting anything on registration. Here is the discussion regarding how I achieved this behavior at http://www.RealLifeEnglish.com
If you register at RLE you can see the Rules process that will automatically assign you to a group I call RLE community group. The rational for forcing members into an OG was different. I wanted members to be able to add content at node/add/[content-type] that was "group content" without having to actually assign it to one of their Organic Groups. Turns out you can't do this with OG unless the user is registered with at least one OG. Odd behavior of OG, but that's life, hence the workaround that results in every new site member automatically joining this one group.
In any case, if you go through this post and the comments it does explain what to do. If you still need help let me know:
https://groups.drupal.org/node/305883
Another option: custom module
I haven't tried this custom module. If you are not comfortable with the Rules approach I outlined, this may be another option. It might work with current version of OG, but there have been significant changes in OG with the 7.x-2 release so use at your own risk:
https://groups.drupal.org/node/269873#comment-1017793
Oh thank you so much! What
Oh thank you so much! What you describe is EXACTLY what I want to do: I also figured out, that it’s not possible for non-group-members to create a node-type, which is group-content. So I also thought about that workaround. I am gonna check that Thread! Apreciate your comment very much. Was struggeling with this issue for several months :D