Hi there,
I've marked this issue as a support request, because I'm not sure if it's a bug or just a misunderstanding of how this works.

I have a Drupal site for a small school. Each course is an Organic Group.

Up until now all users inside each group have the same treatment: the same perms and the same access to content. But now I need that some of those users access special content according to their location, while all still remaining members of the same group.

Example: User A would access nodes 1,2 and 3, user B would access nodes 1,2,3 and 4, and user C would access nodes 1,2 and 5. (All five nodes belonging to the same group).

After a lot of thinking about the best approach, I thought that I could manage the differences using different membership types. So, I have the default membership (og_membership_type_default) and I created a new one (og_membership_type_provincia).

I've read that it's fairly easy to make use of the membership types from the "add people" button.

The thing is that I don't have any way of membership type selection at the "add people" screen.
In fact, I only have the user autocomplete field, and the option to check the "administratior member" role. And that's it.

How am I supposed to select a user's membership type?

I've attached some print screens of my drupal site showing the membership types created, the "add people" screen, the OG modules enabled, and how does it look the DB (I've manually changed one user's membership type value in the database).

Hope someone can help me out.

Thanks!

I've tried and did a MySQL repair of all OG-related tables, which didn't make any difference.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Rosamunda’s picture

bump?

ITMonkey’s picture

I have exactly the same issue, the membership type option is simply not there.

Rosamunda’s picture

Category: Support request » Bug report

So, it's not only me then...

loze’s picture

Same here.

ranroz’s picture

@Rosamunda

The comment you pointed to is quite old. Please see https://www.drupal.org/node/1168428#comment-5332778
In short, you can select the membership type given in default to new group members in the og_group_ref field settings. If you want something more dynamic than that (for example, 3 membership types for a group, and a different kind of membership to different users) then you need to take care of this. OG doesn't offer this out of the box as far as I know.

cbrasfield’s picture

FileSize
7.97 KB
14.59 KB

I'll add to this since I'm experiencing OG Membership Type issues. To make membership type selection available on the Add People screen, you should add OG Entity Reference fields to the user profile page.

TelFiRE’s picture

In short, you can select the membership type given in default to new group members in the og_group_ref field settings.

But, that is not a field that exists. So I went to admin/config/group/fields and added it to the group I'm trying to change (even though it's a Group Content field and not a Group field). I went in and set it, per the linked screenshot. However, this doesn't change the fact that when someone subscribes, they see the form for the default membership type, not the one I changed it to.

I feel I surely must be missing something? But I can't find any documentation related to this at all. Surely seems like a backward way to simply change the membership type for a given group type.