• Resolved germanero

    (@germanero)


    Hello,
    I made a registration form with Pie, and using invitation code, so users can register as “customer” (woocommerce role). Also, you can register as “suscriber” with default registration form (normal wordpress registration). To this point, you can use two roles to make a registration. But there is a problem from here. When user is already registered as “suscriber”, they use an email to create their accounts. So, if they want, they can’t change their role condition in the future. I mean, if they trying to register againt with same email in the Pie register form to trying change their roles, a message says “email is already registered”, because it can’t be used twice. By other hand, when suscriber user is logged in, and go to Pie registration page, a message says “Already connected, to edit your profile, clic here”. But they never use Pie register form before. They were registered as “suscribers” at first place. So, how these users can change their roles doing some “re-registering” action and using the same email? Maybe users can update their roles using invitation code after normal registration form in Pie edit profile page? I mean, submitting the invitation code or something like that. Also I saw, on Pie profile page, invitation code doesn’t appear when select “yes” in selector “show on profile” in form editor. Maybe I forget some option wich is hidding this? Can be “re-registration” action be possible using the same email? I need users have a chance to upgrade their roles some time in the future, using the Pie register form or submitting invitation code on “Edit profile” pie page. I hope you can help me, and sorry about my bad english.

    King regards.

    • This topic was modified 4 years, 5 months ago by germanero.
    • This topic was modified 4 years, 5 months ago by germanero.
Viewing 1 replies (of 1 total)
  • Plugin Contributor genetech

    (@genetech)

    Hi,

    Pie Register plugin is a user registration plugin which enhances and add multiple features to default WP registration process. Users data store in same database table, whether they registered through Pie Register or WP default registration form. Therefore, users can not re-register themselves, nor they can change their user role. For same reason, logged-in users can’t see PR registration form.

    Only administrators can change user roles, and can assign default WP forms users to PR registration form, so they can see PR registration form fields on their Profile page.

    Hope it clears.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Change role with invitation code’ is closed to new replies.