Support Forum
Hi there,
We're moving over to WooCommerce subscriptions which allows us to set a subscriber roles which we've mapped as follows to our SP forum
Subscriber Default Role > Full WP role > Full user group in SP > full access to forum
Inactive Subscriber Role > Customer WP role > Guests user group in SP > read only permissions
When someone pays for a subscription, they are being allocated the full role and can access the forum.
However, when the subscription is cancelled, their WP role changes to 'customer' but they retain the full status in SP.
It's been a while since I set all this up, perhaps I'm missing a step in this.
Can you advise how to ensure the SP user group membership is updated as well.
Thanks
Edit: sorry hadn't finished the topic title when I posted. I don't think I can edit that.
Hi Stefan!
Thanks for posting! I believe that you have set it up correctly. The basic functionality of the User Mapping Settings only takes into account newly created accounts and adds the user to the correct user group. When the user's roles change there is no hook or listener that updates the users.
However, using the "Map Users" function in "Forum -> User Groups -> Map Users to User Group" will allow you to update the roles with their correct user groups.
The subscription option will be enabled in the near future, it is currently disabled.
Best regards,
Joakim @ Simple:Press
1 Guest(s)