• Resolved Taco Fleur

    (@metacofleurcom)


    When the user signs up it should change the role and not add. Your plugin adds a role while it should replaced the role. I was going to switch to your plugin but it would mean I have to change all my code as a conditional statement in Toolset like this [wpv-conditional if=”(‘[wpv-current-user info=’role’]’ eq ‘site_paying_member’)”] will no longer work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support madalinaruzsa

    (@madalinaruzsa)

    Hi @metacofleurcom,

    Please allow me to explain how our plugin works:

    When a user buys a subscription plan he will have two roles (please check the screenshot from here: https://snipboard.io/WlqScv.jpg)

    1. New User Default Role -> set in WordPress-> Settings-> General.

    2. Subscription User role -> set in Paid Member Subscription -> Subscription Plans.

    When the subscription plan expires the role set in Paid Member Subscription will be removed, and the user will remain only with the role set in WordPress Settings.

    If the member is already subscribed to a subscription plan called “Basic” and he upgrades his subscription plan to a subscription plan “Gold”, the role given by the Basic plan will be removed and the role given by the Gold plan will be added.

    Thread Starter Taco Fleur

    (@metacofleurcom)

    That’s what I am saying, it adds a role, while it should set the main role. The way it works now doesn’t allow it to work with your plugin. I’m working with Toolset, it allows me to provide access based on a role, but since you add a role, I will have duplicate access, i.e. if the user signs up, it will show content for both the unregistered user and the registered user because the main role was added and not replaced.

    Plugin Support madalinaruzsa

    (@madalinaruzsa)

    Hi @metacofleurcom.

    That’s how our plugin works, when a member subscribes to a plan, they will be assigned two roles. Content restrictions should be set based solely on the role assigned by the subscription plan.

    For example, let’s say you have set the ‘New User Default Role’ in the WordPress General Settings to ‘Subscriber,’ and in the ‘Subscription User Role’ under the PMS Subscription settings, you have selected the ‘Gold’ role. If you choose the ‘Gold’ role in the Content Restriction settings, users will need to have the ‘Gold’ role to access the content. A user can only have the ‘Gold’ role if they have an active subscription to the Gold subscription plan.

    Now, please check if you can configure Toolset to set content access based solely on the ‘Subscription User Role,’ even you have set-up different roles in ‘New User Default Role’ and ‘Subscription User Role’.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.