I am setting up organic groups on my site. I want to be able to show the group admin a list of existing site members and allow them to select checkboxes next to those he wants as organic group members and then add them all as members to his group.

It seems like I could create a View showing all existing site members. I can have VBO place check marks next to them. But it is not obvious how to have an action that adds them as group members.

Any ideas / help / pointers to read?

I am looking for a solution that does not involve writing custom code if possible.

Comments

infojunkie’s picture

Status: Active » Fixed

OG comes with a module called og_actions. Once enabled, you should find a new action labeled "Subscribe user to the specified groups" that does what you need.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Vayira’s picture

Brilliant! I spent hours trying to figure that out, now I will be able to use Og to transform my site.

WorldFallz’s picture

Version: 6.x-1.8 » 7.x-3.2
Issue summary: View changes
Status: Closed (fixed) » Active

Does anyone know what happened to this action in 7.x-3?

I'm searching all over in views of different types (user views, og membership view, etc) I don't see it anywhere. I did find og_massadd, but that's not the same thing. I don't want to alter the default og admin page, I want to create a separate view for non-admins to add users to groups.

This is one of those things I feel like I must be missing something stupid easy somewhere, lol.

webdrips’s picture

@WorldFallz, any luck? There seems to be some support for adding/changing Group Membership using VBO, but it only seems to partially work.

WorldFallz’s picture

nope, I never did. I just changed the requirement and pushed adding/removing group members to the group admins. I still find it difficult to believe this not possible though.

Seems to me a common enough need and usually when that happens, it's because I'm not looking for it in the right place.