After applying the patches here I am successfully listing groups on my "Available Groups" tab. The only problem is that the only groups listed are the "Open" ones. Is there a way I can also list "Moderated", "Invite Only" and "Closed" groups on that list ?

Open - membership requests are accepted immediately.
Moderated - membership requests must be approved.
Invite only - membership must be created by an administrator.
Closed - membership is exclusively managed by an administrator.

Comments

rconstantine’s picture

Status: Active » Closed (works as designed)

Only Open and Closed groups should work. I updated the latest downloadable copy with the patches here and I'm seeing both Open and Closed groups.

The reason that Moderated and Invite Only groups were excluded from being used by this module is simple - those types imply that each are actively managed by a different user and not 'the site'.

If something is moderated, then the group owner SHOULD BE ABLE to accept and reject users. This module, if it allowed that kind of group, would circumvent that.

The same goes for Invite Only. If 'the site' mandates who should be in a group owned by someone else, it circumvents their administrative rights as well.

In any case, if you want to modify your own copy, then add more case statements to the function "og_multiple_mandatory_groups_by_role_groups".