I have installed Organic Groups, and everything seems to be working properly. I have configured a group to be "invitation only," but I can't seem to find where I can invite someone. Does anyone have experience with this?

All I'm really after is having a page which is only available to certain members-- there may be an easier way, but OG fits the bill if I can just figure out how to add members to the group.

Thanks!

Comments

michelle’s picture

I'm trying to figure out the same thing. Figured I'd try bumping this up before digging into the code to look for it.

Michelle

--------------------------------------
See my Drupal articles and tutorials or come check out life in the Coulee Region.

WorldFallz’s picture

I'm not sure if it's anywhere else, but in the Group Details block there should be an "Invite a friend" link. ===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

michelle’s picture

Nothing like that in there. I've been going over all the config options and I don't see anything. I wonder if I need some other module for that?

Michelle

--------------------------------------
See my Drupal articles and tutorials or come check out life in the Coulee Region.

WorldFallz’s picture

It's got to be related to a setting then-- I know it's OG proper because I rename it to "Invite Member" and that's done in og.module (around line 2200). It's been eons since I set up my og site-- I'll see if i can find which magical switch flips that on.

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

michelle’s picture

I made a public group and it's there. So it's not possible to invite people to a private group? That seems backwards. You wouldn't need to invite someone to an open group.

Michelle

--------------------------------------
See my Drupal articles and tutorials or come check out life in the Coulee Region.

WorldFallz’s picture

I see what you're saying but I think the idea is that only site admins can add people to a private group (thus no invite for the group itself) while public groups leave it open to any member to invite someone else.

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

michelle’s picture

I was misunderstanding how it worked, then. I was looking at it as a private party where people needed to be invited. I was expecting the workflow to be:

1) Invite users that you want to be in the group
2) System sends out an email with a link
3) Said users then have the ability to join the group via the link

So I guess it's actually:
1) Contact the person via other means and ask if they want to join the group
2) If they say yes, go in and add them to the group manually

I smell an OG contrib module here... Hehe... Once I get some of the zillion other things on my to do list done.

Thanks for the help,

Michelle

--------------------------------------
See my Drupal articles and tutorials or come check out life in the Coulee Region.

WorldFallz’s picture

I'm actually using it for a corporate intranet (groups = departments) and I'd prefer it if group membership were completely decoupled from default audience. There should be one option for Group Membership that would be Open (shows invite link) or Closed (doesn't show invite link) and one option for Default Post Privacy (Public or Private).

For an intranet type site there should be no "invite link" since membership in a group is directly related to corporate dept but I'd still like audience to default to public. For now I use the "Invite Member" link for people to use for new hires (since I've not integrated with AD yet).

It's been on my radar for a contrib for a while but the complexities of og & og user roles are still beyond my abilities atm. If you do decide to work on it let me know, i'd be happy to assist-- but you sure do have plenty of irons in the fire atm, lol.

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

msypes’s picture

Obviously, I started with the same misinterpretation as Michelle.
Is it even possible to create "invitation-only" groups?
I've read the comments below, but as a newbie (6-weeks), I'm lost. I only gather that there are recommendations to add a URL somewhere, but where? In a block setting? How?

Ideally, I'd like a group admin/manager/creator (whatever you call it) to be able to click a link on a user's profile to invite him/her to a group. I thought perhaps this might be doable with Views, but haven't made any headway in that direction either.

Look for me: I'll be the guy with the bloodied head from beating it against the wall.

Michael

WorldFallz’s picture

I'm not sure how this could work-- which group would the user be invited to? Or do you plan to have a link for each group on the users profile page?

msypes’s picture

I'm not sure either. I'm still in a very beginning testing phase.
I could envision some sort of Views-based block using arguments to give the inviter options to which group he/she would like to invite the targeted user.

Michael

benansell’s picture

bump

ceo3141’s picture

I *think* the answer is to make it a "moderated" group where membership must be approved by the Manager . . . then the 'Invite Friend' link shows up in the Group Block, someone applies, and then the manager has to approve it.

ailgm’s picture

I've tried your suggestion -- having the group as Moderated, rather than Invite Only. It seems to work IF it's not a Private Group.

When choosing the settings of "Invite Only" and "Private Group", it seems impossible to extend an invitation to someone and have them successfully join.

dleatham’s picture

I've searched high and low for a solution to this issue. There is an orphaned patch from about a year ago and multiple versions back that seems to address it. One guy said he manually applied it across the multiple modules if affects and it worked. Beyond my skill level...

drupal.org/node/170332

yogitha’s picture

Hi..

In my site i make use of the the 'Invite user' module - to invite friend into users buddylist
And
i Have Private groups where admin can
Create private group-invite user into group & and Email Notification
Edit private group -invite user into group & and Email Notification
Delete private group.

For this functionality i need to invite users into group
if any one know about this concept give suggestion for this asap
i will be thankful.

ceo3141’s picture

I am not clear about what you want to do. How is your set-up different from what I have described?

MatthijsG’s picture

Maybe a little late, but this URL gives me access to the invite-page:

og/invite/1

Where 1 stands for the ID of the group. I'm still looking for the right string to make it a menu entry

======
There are 10 people who can count binary
They who can and they who don't

nikhil.patil’s picture

This link does lead to the invitation page. But I couldn't put it under admin menu links. And I'm not able to figure out where I can put this link and how I can put it.

I could add a new menu and make it visible only to the administrator with the help of this post.

But creating a different menu only to invite members doesn't feel right, so for now, I'm relying on "Group Details" blocks "[total_members] members" link, which does have an "Add members" tab. (under the same link mentioned by "lundse" below)

riddhi_uppal’s picture

I have send a invite to a user. Now user got the email with a link like "og/subscribe/{group id}. Now after login the group is not showing to the user.

What I need to check after this step?

Kindly confirm asap.

lundse’s picture

Don't know about invites, but this works on our intranet installation:

[site]/og/users/[group numerical ID]/add_user

It might be dependent on a lot of stuff, and maybe be 6.x-only - I have no idea. But worth a try...

MatthijsG’s picture

Afterwards, the "trick" is to activate the block! When you install OG, OG will install several blocks that are not activated. So, after activating OG, go to admin/build/block and place the blocks like OG details where you want.

======
There are 10 people who can count binary
They who can and they who don't

SmokinJ’s picture

Make sure the group details block is enabled. Go to the group page you are an administrator for and click on where it says 1 member (I had just created the group so I am the only member for this example). This will bring up a page that allows you to add members. I'm not sure if you can "invite" them or not; however, this is the manual way to add members.

kquad’s picture

If you are the admin of the site you can add the userplus module. It's pretty convenient....

http://drupal.org/project/userplus

FranciscoLuz’s picture

This issue is tackled by Og Invite Link

http://drupal.org/project/og_invite_link

Drupal in the Amazon Jungle

konrad1811’s picture

I'd like to allow group members to invite new members, that currently have no acount on my www site.

Not only group admins, but also other members to send e-mail invitation.

I'd like to send invitation via e-mail and allow to accept it by clicking a link...

[thi is sth else than http://drupal.org/project/og_invite_link as I not require a user to belong to my site - new group member invitation and site member invitation at the same time]

I would also like if this could be possible to change group admin permission (block editing other members nodes), and allow admin to grant other members group admin permissions...

Seems pretty obvious, but I couldn't figure this out in OG :/

rbrcurtis’s picture

I finally figured out how to show the link for invite only groups in drupal 6.
in modules/og/og.module, line 2238, you'll find this:

if ($node->og_selective < OG_INVITE_ONLY) {
  $links['invite'] = l(t('Invite friend'), "og/invite/$node->nid");
}

you need to change the < to <= so that OG_INVITE_ONLY is included, ie

if ($node->og_selective <= OG_INVITE_ONLY) {
  $links['invite'] = l(t('Invite friend'), "og/invite/$node->nid");
}
alesr’s picture

You can invite new members on Drupal 7 with OG Invite People.
Works with OG 7.x-2.x