I am about to purchase the pro version of the plugin but I wanted to ask two questions before I pull the trigger.
1. Is it possible to set the role at registration based on the domain of their email. We have an “employee” role and would like to automatically apply that with our own domain and then fall back to a default one for everything else.
2. We want to restrict when someone changes their email that they have to confirm the change through a link in their email before it goes through. We have a Single-Sign-On that uses the WP email as the username and they could potentially change their email to someone else’s and log in as them. It also goes along with the above in that we don’t want people to be able to receive “employee” permissions by putting in an email “XYZ@mycompany.com”.
1. It is possible to set user role while they are registering to site. It is also possible to set dynamic role, but you need to use filter hook for that, You can specify domain based role by using our filter hook: user_meta_field_config
2. UMP provide email verification feature on user registration. So if someone intend to use “XYZ@mycompany.com”, can not verify their email if they are not. And role is assigned when they are registering(although admin can change other user role anytime). So if user change their email, it won’t reflect to role.
So far, there is no email change verification by default. UMP provide profile update notification email. You can set email content through UMP Email Notification Area, If user update profile as well as change their email, both admin and user can get email notification.
If you really need verification on email change, We have action and filter hook: user_meta_after_user_update, user_meta_pre_user_update by which you can modify the behavior by writing own codes.
I just bought the pro version today and can do almost all I need, except I need one registration form to create an Author, and another to Create a Contributor.
I’ve tried using the “role” field as a hidden field to no avail. I also tried the “hook” in another thread, and all that does is creates role as “none”.
Is there detailed instructions on setting users roles based on the form they fill out? Or can someone help me unlock this feature?
Thanks!
Author
Posts
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.AcceptRead More
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.