[TYPO3-english] How to let the user select an usergroup upon registration

Lars Brinkmann brinkmann.lars at gmail.com
Tue May 26 18:01:04 CEST 2009


Hi at all!

I'm using sr_feuser_register for the registration process. I want the
user to select his usergroup. Therefore I set allowUserGroupSelection
= 1.

If I leave the fields userGroupAfterAcceptation and
userGroupAfterConfirmation blank, I can select a group in the
registration form. But when I then click on the confirmation link, I
get several MySQL-Error (mysql_fetch_assoc) and the assigned usergroup
in the backend is empty.

If I set the mentioned fields to, let say 2, I can select all
usergroups, but not the group with ID 2. Click on the confirmation
link in the email also causes the MySQL-error.

Only when I set allowUserGroupSelection = 0 and set
userGroupAfterConfirmatin to an existing ID, the registration process
work fine and the user get the group set in the constants.

What must I do, to allow the user to select his usergroup?

Kind regards, Lars Brinkmann
brinkmann.lars at gmail.com


More information about the TYPO3-english mailing list