Hi @mohal,
Are your old roles UM Custom Role? You can check this from Ultimate Member->User roles inside dashboard. In this listing UM Custom Role value should be Yes if that role is a UM custom Role. For security reason, user can only choose UM custom roles during registration at the latest version of UM. If your old roles aren’t um custom role, you need to create them again and you can easily bulk assign them from the Users menu inside dashboard.
If your old roles are already UM custom roles, please go to Ultimate Member->Form->Your registration form->Edit and remove your old role field try recreating this field and see if that solves your issue.
Thanks.
Thread Starter
Mohal
(@mohal)
Hi @mansurahamed,
No, both of the old roles are not UM Custom Roles. Those roles came with the plugin and I used them as is. And I think in previous version of UM, non-UM Custom roles were also available to be used in dropdown.
I am not sure what is the security reason that changed this functionality but I can create two new identical roles. I hope there will be no such change in future.
Thanks!
Thread Starter
Mohal
(@mohal)
Hi @mansurahamed,
So, UM already has Employer and Candidate roles. I was using both of them in the dropdown for user registration but now as per your instructions I cannot use them. So, I am trying to create two new custom roles with same name but UM is not allowing me to create them. I cannot change the names and I cannot use the existing roles in dropdown. So, please suggest what should I do?
One more thing, in UM Settings > Appearance > Registration Form Settings I see an option, “Registration Default Role” where I can select the role. Is there a way that I create a separate form for Employers and when someone registers from there he/she is automatically registered as Employer?
Thanks!
Hi @mohal,
You can create two role with the same name. You can try using this plugin https://wordpress.org/plugins/user-role-editor/ to delete your old roles and then you should be able to recreate them. However, please make sure to create couple temporary role first and assigned those users to those so that you can reassign them to the new ones from the temporary roles. It’s recommended to take a complete backup of your site before.
Yes you can create specific registration form to assign a specific role. Please go to Ultimate Member->Forms->Any registration Form->Edit->
Apply custom settings to this form ( right side) -> Assign role to Form and select the role that you want user’s to give when they are registered using this form.
Thanks.