Support Forum
I know there's support built into Simple:Press to use WP user roles allowing for segregation of membership levels, but WooCommerce's subscriptions platform integrates with WP Groups which Simple:Press doesn't seem to have access to... am I missing something or is this the case? If so any thought on including it in future versions.
The two first things are that (1) I have not encountered 'wp groups' before and (2) I know we have quite a few users utilising woocommerce...
I assume by 'wp groups' you mean the WP plugin that is named 'groups'. If so are you 100% sure that this plugin is not creating WP style 'roles' under the hood?
YELLOW
SWORDFISH
|
Yes - that's the plugin I'm referring to sorry for the confusion. I very possibly could be implementing things incorrectly, but what's happening is I can create "groups" which appear next to the WP roles in my users menu. When they sign up for a subscription on the site they are placed into a group, but given the role of subscriber no matter what group they are filtered into. Throughout the WP side I can use the different groups to limit content, but Simple:Press doesn't recognize these groups, only roles, and as everyone is filtered into the subscriber role I have no way to filter them on the Simple:Press side.
But Simple:Press has absolutely nothing to do with - nor has any effect on - the creation of new users. This is performed by WordPress and possibly whatever other plugins you may have that have a bearing on the operation.
Simple:Press is not assigning new users the Wp role of subscriber... WordPress is doing that.
This also doesn't answer my question which was - is this Groups plugin creating WP style roles under the hood - i.e., creating new 'roles' to match it's concept of 'groups'. It would be the obvious thing to do and would save them having to rewrite and reconstruct a lot of standard WP processing.
YELLOW
SWORDFISH
|
I understand that WP controls the roles.
As far as I know the plugins by Woocommerce and Groups are working as intended. Woocommerce tells wordpress which WP user-role a user gets upon purchasing a product on the site (I have this set to subscriber), the subscriptions plugin that Woocommerce uses works with the Groups plugin to assign a user to a group (created by the Groups plugin) based on the subscription that they are purchasing. So a user belongs to both a role and at least one, but possibility multiple, groups based on their purchases.
To answer your question more specifically. The Groups plugin does not appear that they create WP user roles. I'm not exactly sure how I'd confirm this, but when I navigate to the "users" menu in the WP admin I see the WP user roles Admin, Editor, Subscriber etc then next to all the roles are "Groups" that I've created using the plugin. There's the standard WP option to add/remove users to various roles AND a new option that allows manual addition/removal from the various Groups.
Within the groups plugin I have the ability to apply any WP capability as well as create my own, but I haven't done anything here as of yet.
Yellow Swordfish said
Forum admin > User Groups > Map User to User Groups. Does your 'groups' appear in the list?
No. This is - I suppose - the route of the question I'm trying to ask.
sounds like woo commerce is not creating a true wp role then... any valid wp roles are listed there...
this is a pre-membership question forum, so for more detailed discussion on your local issue, please open a topic in the members support forum...
wait, since you are a member, I am going to move this into the standard support forum and continue discussion there...
Visit Cruise Talk Central and Mr Papa's World
nor was it s a pre-membership query
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)