Active
Project:
Invite
Version:
7.x-2.1-beta2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
14 Feb 2012 at 22:15 UTC
Updated:
2 Oct 2014 at 12:34 UTC
Jump to comment: Most recent
Hey!
In a project I need organic-group-managers of my site to invite other people (not registered) to their group. I need to have this flow (see attachment) in my drupal-website but havn't found a working og-invitation-solution for drupal 7.
So i decided to build one on my own, using the invite-API.
My plan is to hook into the "create_invite"-process, to save the group-id as additional data.
Whenever person registers now by an invitation-link, I have to check if there is group-data saved to this invitation and then join the user to the group.
Do you think this is a good way, solving my problem or do you have any other suggestions?
best wishes,
killerpoke
| Comment | File | Size | Author |
|---|---|---|---|
| og_invite.png | 50.14 KB | killerpoke |
Comments
Comment #1
killerpoke commentedI just finished a first draft. You can see the sandbox here. http://drupal.org/sandbox/killerpoke/1441644.
The module is very simple (at the moment), and just covers some functionality, but I will add functionality if needed.
Comment #2
vj commentedHello killerpoke,
I want to try this og_invite module can you please tell me how to get the files from git as i never tried this
Thanks,
Vj
Comment #3
nedjo@Vj: see http://drupal.org/node/1294804 for how to download a sandbox project.
Comment #4
vj commented@nedjo
THanks :)
Comment #5
Sylense commentedThe plugin works great on my end. It works fine for the sitewide administrator but is there a permission to allow the GROUP administrators to invite users to a group? This may be an oversight on my part
Comment #6
killerpoke commentedwhoop. the current project i need to use this module is currently freezed (because of another pointless facebook-app -.-). I will continue on this project in the end of april, then I'm going to implement the permission-check.
Comment #7
Amarjit commentedExcellent killerpoke.
I appreciate the work. Works like a charm.
Sylense, the module only allows the user to invite users to groups that they have permission to. I have created a new role for GROUP administrators, as they are required to do other things as well.
Thanks, again.
Amarjit
www.bharath.co.uk
Comment #8
Sylense commentedAmarjit, it works great from the administrator account (user 1) but I've added authenticated users to a group and the list under "Invite to Groups" does not populate with the groups they are a member of. Are you saying you got this to work somehow?
Comment #9
killerpoke commentedHey folks.
I commited the feature to set invite permissions on the organic groups permission-page. I will try to solve this issue: http://drupal.org/node/1469348, then I will submit this sandbox to become a real project.
If you have any other features requests or something else please post it in the issue queue.
Comment #10
Sylense commentedWorks great! Thanks for the commit. This should definitely be submitted as an official sub module for OG/Invite
Comment #11
Traverus commented+1
Comment #12
killerpoke commentedThank you for your feedback! I will submit this as a official module later this week.
Comment #13
skrossa commentedThe plugin worked great for me, too. Really looking forward to this as an official project/module —Thank you, killerpoke!
Comment #14
jday commentedI need something that will allow groups admins to invite non-users to a private group, any chance this project would work for that?
Comment #15
killerpoke commentedFirst I will try to make this sandbox a real module. Then wen can add features.
@jday: It's most likely, that this will be implemented soon.
Comment #16
nvl.sateesh commentedhi killerpoke,
I tried to get the sandbox code but got only the README file. Can you please give me the zip file or put it as a project, as it could be really very helpful for a project I am working on. I can also help testing and fixing any issues.
thanks for this pal...
Comment #17
killerpoke commentedHey nvl.sateesh!
The code has moved to the 7.x branch, so you just have to hit:
git clone http://git.drupal.org/sandbox/killerpoke/1441644.git -b 7.x invite_og_pluginComment #18
Sylense commentedI upgraded to OG 7.x-2.0-alpha3 and now it's broken :(
Are there any plans to add support for 7.x.-2.x? I needed to upgrade to the latest version of OG to utilize some of the new features and architecture which is unfortunate because I still want to be able to invite users to groups.
Comment #19
killerpoke commentedHey Sylense!
I will look this up. Can you post a new issue at the project page: http://drupal.org/project/issues/1441644?status=All&categories=All
thank you!
Comment #20
killerpoke commentedI've created a second version for OG 7.x-2.x. You can find it here: http://drupal.org/project/1441644/git-instructions
Comment #21
Yuri commentedIs this now part of Invite 7.x-2.x-dev ?
Comment #22
ludo1960 commentedWondering the same thing, can somebody confirm it is now part of the 7.x-2.x-dev module?
Comment #23
killerpoke commentedI just looked throw the 7.x-2.x-dev code and found nothing related. Btw: I just updated my sandbox-plugin and it hopefully will be a full module soon, since there aren't any issues I think.
(http://drupal.org/sandbox/killerpoke/1441644)
Comment #24
alesr commentedYou can try this new module. It adds an Invite People link on group's Group page that I was missing (see image) OG Invite People
(made for OG 7.x-2.x)
Comment #25
socialnicheguru commentedbut does og_invite_people integrate with the invite module?