Hi - thank You for a great and useful module.
However the current Organic Groups module for Registration Code was flexible but was too demanding for our website administrators.
Because of this I created this simple module for an easier Organic Groups integration.
Using this module You are able to select a group when creating a new registration code. When this registration code is used the user will be assigned to this group. Not as flexible as the current module - but great for our needs and much simpler.
I'm posting it here, as others might have the same needs.
In order for this module to work right now the Bulk creation of codes have been disabled. In order to fix this a API hook for whenever a code have been created is needed. I'm going to create a seperate feature request for this #2023107: API Hook for whenever a new code is created.
| Comment | File | Size | Author |
|---|---|---|---|
| regcode_og_simple.zip | 2.84 KB | Morten Najbjerg |
Comments
Comment #1
andrea.brogi commentedHi,
I have installed your simple module and is working correctly. Great work.
But I would like to know how to add the OG group Title in the Managing List (the first tab).
Thanks.
Comment #2
Morten Najbjerg commentedHi Andrea.
Glad to hear You like it.
The group title on the dashboard would make a great addition...
The dashboard is really just a view, so perhaps You might be able to do it using the Views PHP module, and doing something like:
...this is not tested however.
A better way would of course be to create a views plugin that reveals the group relation in views based on the Registration Code.
If others are interested in this addition to Registration Code I could perhaps look into releasing it as a separate module and create the Views functionality as well... but it depends on this issue as well https://drupal.org/node/2023107
Comment #2.0
Morten Najbjerg commentedAdded link to other issue
Comment #3
Yuri commentedThis is a great little module, but I have one request: Currently it allows to select one group. Could this be made so that multiple groups are assigned with the code?
Comment #4
matt bThis is a great little module thanks - I'm needing registration codes with the domain access module and started writing my own module. I came across this and looks like I've come up with the same way to solve the issue but for domains - alter the Create Code form and disable the bulk code creation!
Comment #5
lias commented@Morten Najbjerg - are there plans to create a project page for your module? I'm also wondering if you will be updating it to 8 when that is released?
Comment #6
clemens.tolboomComment #7
held69 commentedthanks for your module!
Is there any way to create more than one code at a time?
(to make use of the bulk creation)
Comment #8
tr commentedThere is no patch here ...
Comment #9
tr commented