If a group invitation is sent to a user who is not yet a member of the site, the user must register before accepting the invitation. I would like to combine the functionality of the invite module with organic groups so that a user can be allowed to join the site and be automatically added to a group by responding to a single invitation.

The GoJoinGo project provides this feature for Drupal 4.6. Can we adapt the invite API from GoJoinGo to organic groups for Drupal 4.7?

I plan to have several hundred groups on an invitation-only site, so listing groups on the registration page is not a good option for me.

Comments

moshe weitzman’s picture

I would accept a clean patch forn this. it might be that this isn't much related to og in the end. please speak to webchick since she knows a lot about GJG and og.

moshe weitzman’s picture

someone might want to take an easier task of customizing the invite email for unrecognized users so that it explains better that registration is required, and then subscription can be accepted.

darren oh’s picture

Changing the E-mail message would work in cases where site membership is open but group membership is by invitation. In my case, both site membership and group membership are by invitation.

The invite module automatically approves invited users on sites set up to require administrator approval of new users. On such a such, a user needs to be sent two invitations, on to the site and one to the group, or else wait for an administrator to approve his registration.

What I would like is for users who have an invitation to join a group to be automatically approved for site membership.

darren oh’s picture

Title: Allow Users to Register for Site and Accept Invitation at the Same Time » Automatically Unblock Users Who Accept Group Invitations

I'm changing the title of this issue to clarify the request.

webchick’s picture

IMO this is beyond the scope of OG and should really be refactored out into an invitation API type of thing, somewhat what GJG had under 4.6, only generalized/"hookified" (I just made up that term ;)) so that any module can use it without massive hacking. Other modules such as Event also use the concept of invitations, and this could also be applied potentially any node type (a CCK "course" node for example, for registering to college courses). Maybe file this under Invite module?

darren oh’s picture

Status: Active » Closed (won't fix)

I have made a request for an invite API to the Invite project.

darren oh’s picture

Status: Closed (won't fix) » Closed (duplicate)

Duplicate of issue 54947.