[Resolved] Add role to user depending on value in profile field on registration
-
Howdy,
i would like to add a user role to a new user during registration, depending on a fields value in the registration form.
example: on my registration form a user can choose between two values via radio buttons. If he choses value A, role A should be added to this user. If he choses B, role B should be added to the user.How could i do that? I read this: http://octalforty.com/articles/assigning-role-on-wordpress-registration-profile-page/ but it aims at the wordpress registration form and does not use buddypress extended profile fields.
Thanks for any help
Daniel
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘[Resolved] Add role to user depending on value in profile field on registration’ is closed to new replies.