- This topic has 3 replies, 2 voices, and was last updated 11 years, 9 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › eMemeber – WP Role question when using the upgrade shortcode
When I use this shortcode [wp_eMember_upgrade_membership_level_to level=2]-
I get the right membership level in eMember. However the WordPress role for that user changes to blank. I can see that by going to edit users in the WP dashboard.
However when I edit the member and just hit ‘Save’ the WordPress role then gets properly updated.
Any idea what’s happening?
Thanks
Hi, What is the “Default WordPress Role” for your membership level 2?
Do you have the “Preserve WordPress User Role” option unchecked? (It’s under WP eMember->General Settings->WordPress User Integration Settings
section)
What version of WP eMember are you using?
version; WP-eMember is 8.1.9
Do you have the “Preserve WordPress User Role” option unchecked? (It’s under WP eMember->General Settings->WordPress User Integration Settings section)
I do not see this option.
What is the latest version
Here is my scenario.
1. The default WordPress role for membership level is set to ‘yellow-group’
2. A user whose role is currently set to ‘gen-mem’ logs in and clicks on the [wp_eMember_upgrade_membership_level_to level=2].
3. I see that this user now gets the membership level 2.
4. However when I check the user role in the WordPress Dashboard/user it is set to ‘none’
5. If I select this member from eMember/members and just hit the ‘Save Member Info’ without changing anything. The WP role gets changed from ‘none’ to ‘yellow-group’
So it appears that ONLY when I use the short code the WP role does not get set.
Ok I updated my version and now it works.
Thanks for giving me the clue