• Resolved MoLy

    (@dionix)


    Shabti,
    I don’t see how to configure so that users who register for the first time choose their user role.

    I use ACF Pro and Elementor with its plugin.

    Do you have any video or mini tutorial where I can see how it is done?

    By the way,

    Can the field be included for the user to repeat the email and password and thus avoid the bad writing of these fields?

    • This topic was modified 6 years, 2 months ago by MoLy.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Shabti Kaplan

    (@shabti)

    Hi Raul, the user role feature is part of the Pro version for now.

    Regarding confirmation fields, that is something we are adding soon, but we aren’t sure if part of the free or versions yet

    Thread Starter MoLy

    (@dionix)

    If I have the Pro version and I see that users can choose between all Roles, including the administrator.

    How can I show only the roles that I want?

    Plugin Author Shabti Kaplan

    (@shabti)

    For this you would a custom field, and add only the roles that you want to offer as options:

    for example:

    editor : Editor
    author : Author
    contributor : Contributor

    Now I see that having the administrator as an option in the default field is kind of silly. We’ll remove that

    Thread Starter MoLy

    (@dionix)

    What happens is that I have created users with custom names, example:

    Business
    Employee
    Unemployed
    Etc….

    They are not the default wordpress ……….

    Plugin Author Shabti Kaplan

    (@shabti)

    that shouldnt be a problem

    You should be able to do this

    business : Business
    employee : Employee
    unemployed : Unemployed

    Just make sure that the slugs are correct

    Thread Starter MoLy

    (@dionix)

    Shabti,
    The truth is that I tried but I am shown 11 user roles and I just need to show 3.

    Apart:
    Is there any way to ask for the woocommerce fields: address, city, country, telephone, etc. in the form and that when visiting the user in the backend they are already filled out?

    I have recorded a video to show it:

    https://reccloud.com/es/u/9gilpqe?action=client-auto-login

    Plugin Author Shabti Kaplan

    (@shabti)

    Hi Raul, I watched your video.

    I’m sorry there is no proper documentation of the process yet. I will try to make a video as soon as possible, but for now I hope this helps.
    The process should go like this:

    1. Create an ACF field. This must be either a select field or a radio field. Under choices copy and paste this:
    business : Business
    employee : Employee
    unemployed : Unemployed

    2. Next go into the ACF Frontend widget and choose this field under the fields tab. You should now see both the default user role field and your custom one.

    3. Under the user tab, set user role field to custom ACF field and you should now see your field as an option

    Plugin Author Shabti Kaplan

    (@shabti)

    Regarding Woocommerce fields: eventually, we are going to add these by default to the pro version, but for now, you can add your own Woocomerce fields with the following names.

    Billing

    • billing_first_name
    • billing_last_name
    • billing_company
    • billing_address_1
    • billing_address_2
    • billing_city
    • billing_postcode
    • billing_country
    • billing_state
    • billing_email
    • billing_phone

    Shipping

    • shipping_first_name
    • shipping_last_name
    • shipping_company
    • shipping_address_1
    • shipping_address_2
    • shipping_city
    • shipping_postcode
    • shipping_country
    • shipping_state

    Account

    • account_username
    • account_password
    • account_password-2

    Hope this helps

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Choose User Role’ is closed to new replies.