User role integration: can you allocate a user a single role upon registration?
-
Hello,
I tested this plugin on a temporary site using TasteWP. I saw that it lets you charge a recurring fee ie a subscription, to allocate a user role to someone. This is exactly what I need, a simple subscription that allocates a user role to members of my site for a limited time period, since I will use user roles to grant permissions to do things (as opposed to granting access to posts). Unfortunately, there are two issues:
- The recurring subscription payment form I created is really a virtual product purchase form, not a user registration form. This means it asked for a billing address and didn’t ask for a username and login password and thus cannot login, however, they showed up in my Users dashboard as a site user. I wanted to charge people to register as a site member with a certain user role and as a member, they can log in.
- I registered a test user and discovered they had not two, but three user roles: the site default role, the role I gave them using the add role integration, and a Surecart customer role. For my purposes, they must have only one role, and that is the role I will give them and that they pay for. This is because I will use other plugins that grant permissions based on user roles, if a person has more than one role, there will be conflicts, eg if “subscribers” is my site’s default role (WordPress makes it compulsory to have a default role), and they do not have permission to upload, but I make it that “Premium” roles can upload, then there will be a conflict when a plugin has to grant each user role the permission to do something in a setting like “Can this user role do this Yes or No”, if they have more than one role. I would like it so that when the user buys the subscription, they get only one role (the one they are purchasing), then, after the subscription expires, the person loses the role they bought, and ideally gets a different role, or at the very least, then get the site default role.
thank you
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.