How to permit selection of only one organic group (from choice of many) during sign up/ register process.
Anyone?
Thanks.

Comments

minesota’s picture

As far as I remember this can be done. Please go through the administrative options for OG.

seg108’s picture

Looking through all the admin options/configurations etc for OG, I cannot find a setting for this. Any further information?

minesota’s picture

Administer » Organic groups » Organic groups configuration

|
V
Group details

|
V

Registration form control: New groups don't appear on the registration form. Administrators control the form exclusively. [ Keep this option checked ]

---

Now you, as a registered member with proper access permissions, create a group 'samplegroup a'
You can create this also as the site admin

|
V

Now log in as the site admin and Hit edit tab of the newly formed group

|
V

Find Membership requests - Find below that 'registration form' with a check box that says 'Should users be able to join this group during registration?'.

|
V

Check this and hit submit

seg108’s picture

I tried this out but if I create SampleGroups 1, 2, 3, I can still select all 3 groups during sign up.
I want to permit selection for only 1 group from the available selections, not multiple selections.

minesota’s picture

You may do that as admin ( I am not sure ) but not as a member. If you have followed the steps exactly as above you are supposed to get the expected result.

For example, if you, as admin have not checked 'registration form' check box that says 'Should users be able to join this group during registration?' for SampleGroups 2 and 3, registered users should not be seeing this during sign up.

May be you should retry ?

seg108’s picture

Um... it seems like you are misunderstanding what I am asking.

Allow me one more try...

I am talking about anonymous site visitors who are signing up/registering to join an organic group. When they go to register, the anonymous site visitors are presented with a list of the organic groups and check boxes. I want them to see all the groups, but I do not want them to choose more than 1 group. Out of the box, the user can join all the groups by checking all the boxes... I wish to limit this to one selection only. I am not saying that I only want to show one group from all the existing groups. I am also not talking about what registered users can or cannot see after sign up.

I hope we on the same page now.

minesota’s picture

I see ....
It means as soon as an user chooses one group that is final - s/he cannot choose any more group.
I am afraid I do not have solution to this - probably this can be done by some javascript which blocks further checking of check boxes once a checkbox is checked.

Once a check-box is checked the remaining ones should become 'ghosted' - this should happen on the client side so that the entire thing is logical and neat. Some javascript recipi is needed. Maybe we can post this in dynamicdrive forum or similar dhtml/js forum. There are some good folk out there who try to help with this sort of problem.

OR ... maybe just convert the check boxes (how?) to radio-button - only one radio-button can be selected at a time.

wingie’s picture

Do you know how to convert the check boxes to radio buttons?
and also i would like to know how to make sure that after people are a member of any particular group - they arent supposed to be able to join any other group.

can this be done?