Support » Fixing WordPress » User registration and user roles

  • sirzeel


    Hello everyone!
    On my website users can register as “Passengers” [subscriber] or can purchase a subscription and become “Operators” [customer]. Obviously the purchase is made via Woocommerce plugin.

    I have 2 problems with this:
    1) Passengers can register as Operator with the same email, and I do not want that to happen. If a Passenger wants to become and Operator, he/she has to do so with a different email;
    2) When a user purchases a subscription and becomes Operator, in the backend he is both customer [correct] and subscriber [incorrect]. How do I set that they only are customers?

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Nic Beltramelli


    I assume you are using the WooCommerce Membership Plugin

    In the current setup you are mixing the default WP registration with the WooCommerce one and the role Subscriber is assigned by default to new users when they register on your site.
    Also, keep in mind that different emails mean different users.

    Problem 1
    You can set up two membership plans: Passengers (free) and Operators (for a fee) and limit users to one total membership, look at this post:, it’s a bit dated so better test.

    Problem 2
    Disable the default WP registration and adjust existing roles.

    Thread Starter sirzeel


    Thank you for your answer @nicolabeltramelli [I assume you’re italian, since your name].

    The plugins I have are:

    Akismet Anti-Spam
    Apus Apuslisting
    Apus Framework
    Checkout Field Editor for WooCommerce
    CMB2Contact Form 7
    Duplica pagina
    Facebook for WooCommerce
    Loco Translate
    Mailchimp for WooCommerce
    MC4WP: Mailchimp for WordPress
    Nav Menu Roles
    Nexi XPay
    Paid Memberships Pro
    Paid Memberships Pro – WooCommerce Add On
    Popup Builder
    Simple Banner
    Ultimate Member
    Ultimate Member – User Reviews
    UpdraftPlus – Backup/Ripristino
    WooCommerce Subscriptions
    Wordfence Security
    WP All Import
    WP All Import – WP Job Manager Add-On
    WP Fastest Cache
    WP Job Manager
    WP Job Manager – WooCommerce Paid Listings
    WP Mail SMTP
    WPBakery Page Builder

    I can try to install the plugin you suggested.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘User registration and user roles’ is closed to new replies.