- May 2, 2015 at 11:51 pm #8608
Hello, still working on all the features and options here. 🙂
I need a way to auto assign an additional role to a new user. In a perfect world, it would be based on a BuddyPress xprofile field that the user is required to select during registration. All of the options available to choose from in the xprofile field would already also be established as Role options in WPFront role permissions.
Any way you can think of that I can make something like this happen?
Thank you.May 3, 2015 at 3:15 pm #8634
What does the below statement mean?
“All of the options available to choose from in the xprofile field would already also be established as Role options in WPFront role permissions”
SyamMay 3, 2015 at 7:30 pm #8641
Sorry, let me try to better explain.
When a user registers on our website, the have to fill in a Required field, where the answer is selected from a drop down box. Within the dropdown are about 25-30 choices, they must choose one. It is a required field, no selection, no register.
We populate that dropdown box with the names of the BP Groups that they can join. They are limited to ONE selection. When they choose it via the dropdown box, they are Auto Assigned to that BP Group.
*** We would have already created all of the 25-30 Roles in WPFront that have the same name as the BP Group they selected in the dropdown. ***
My question was whether there was a way to ALSO (automatically) add the SAME name that they chose in the dropdown as an extended Role for that new user.
I’m sorry if I explained it poorly. I hope this makes better sense.
Thank you.May 3, 2015 at 7:52 pm #8642
At this point I don’t see a solution, without doing some custom coding for this.
SyamMay 4, 2015 at 9:49 am #8662
I understand, it was just a thought. I will see how things work in the existing setup and then decide if this is something I need to talk more about.
The topic ‘Auto Assign Roles’ is closed to new replies.