1
FeraTechInc
Allow users to select the groups they belong to.

Is there a way to allow your registered users to select the group they want to belong to and have separate permissions for each?

Aside from the webmasters group that is.

We have a website with a lot of users and each group has a separate layout. Is there any way for a site user to select the group themselves?

2
FeraTechInc
Re: Allow users to select the groups they belong to.

Anybody is this even possible or does this have to be manually done for each user?

3
stefan88
Re: Allow users to select the groups they belong to.
  • 2008/5/17 20:15

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

have a search for RegKeys and RegCodes (or something like that, there a two such modules). Not shure, but if I remember some had an option to assign user to group.

In short you generate codes and users must enter a code when registering. Based on that they are moved to group.

However, those are old modules and may not work with latest xoops. I also never used any of them, but it's a start
..

4
FeraTechInc
Re: Allow users to select the groups they belong to.

Hey thanks a lot. This will help.

A lot of my site is based on users selecting the groups they belong to.

5
TheFinni
Re: Allow users to select the groups they belong to.
  • 2008/5/19 19:36

  • TheFinni

  • Just popping in

  • Posts: 75

  • Since: 2003/11/25


You could edit your edit profile page a little and include a select form field of different groups beside the webmasters group.

Then in the save process you would add something like:

$member_handler->addUserToGroup(group_id, $user_id);

for each group the user selected and had the rights to add themselves to.

If you wanted users to be able to choose groups to which they belong to in the Registration process it would probably be the safest to go with some RegCodes or invitations process.

Login

Who's Online

345 user(s) are online (239 user(s) are browsing Support Forums)


Members: 0


Guests: 345


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits