Skip to main navigation Skip to main content Skip to page footer

Entwickler Version

Bitte testen Sie es immer vor dem Stellen einer Frage auch mit der aktuellen Entwicklerversion

Autor  
7-12-07 10:55:26 Allow user choose not from all usergroups
Cray Flatline
On my site I have many usergroups, like "site users", "club members", "forum administrators", "chat moderators" etc. Users can choose their usergroup, but I must give them ability to choose only from two groups - "Cat owners" and "Dog owners". Can I make it? I didn't find any variable or constant to set groups id's for it. (:

7-12-07 11:12:23 Only one group
Franz Holzinger
At the moment a FE user can be assigned to only one group at a time.
So the only solution at the moment is to have to FE user plugins on different pages. One for dog owners and one for cat owners. Then you can use different setups for their registration.
8-12-07 21:29:18 I have strange solution
Cray Flatline
I have some usergroups where 4 - cat owners, 5 - dog owners

so i made
plugin.tx_srfeuserregister_pi1.userGroupUponRegistration = 1,2,5,6,7,8,9,10
plugin.tx_srfeuserregister_pi1.userGroupAfterConfirmation = 1
plugin.tx_srfeuserregister_pi1.allowUserGroupSelection = 1

and after confirmation it has 1 (Registered users) and 4 or 5. But it have some strange behavior with access in a time of confirmation. (: I tried to find more correct way.
11-01-08 21:11:58 only one group
Franz Holzinger
You can only set one group as userGroupUponRegistration.
If you need more then you must have separate pages for each group to register.
< Zurück zum Forum