Tips and Tricks HQ Support Portal › Forums › WP eMember › Upgrading a member – option still available
- This topic has 5 replies, 3 voices, and was last updated 12 years, 8 months ago by admin.
-
AuthorPosts
-
March 23, 2012 at 11:39 am #5901jazboMember
Hi
I have created two member levels: free and premium.
I have added an uprade button into a protected members pae, so free members can u0pgrade to paid membership.
When I uprade a test acccount, the uprade button is still visible. How can I hide it once someone has upraded? (Using estore to manage it btw).
March 23, 2012 at 11:00 pm #43324PeterMemberYou can use section protection to display your button only for certain membership levels.
Please see this page:
http://www.tipsandtricks-hq.com/wordpress-membership/how-to-protect-a-section-of-a-post-or-page-88
March 27, 2012 at 1:17 pm #43325jazboMemberThat would work but not the way I have it set-up.
I have set up a free membership. Everyone can join free, and then upgrade. But if someone upgrades and then it expires I want them to revert to free membership, so I have set the “Enable the ability to assign multiple membership levels per user” tickbox.
March 27, 2012 at 11:15 pm #43326adminKeymasterYeah, using the multiple membership levels feature will help you with this. If a user has “Free” and “Premium” levels in his profile then when his “Premium” level expires he won’t be able to see the premium level content anymore.
March 28, 2012 at 7:42 am #43327jazboMemberHi thanks for the replies. They don’t answer my question though unfortunately.
I want members to join free. I also want to offer premium content to a paid level. When someone stops paying I want them to auto revert to the free membership. So I have ticked the “Enable the ability to assign multiple membership levels per user” tickbox.
This means that I cannot hide the upgrade estore button in their members homepage using a shortcode because it appears that a premimum member is also still a free member, so can see the content.
How can I hide the upgrade button from someone who has upraded if I am using the revert to lower membership level option??
March 29, 2012 at 5:10 am #43328adminKeymasterI see what you mean. Okay you shouldn’t need to use the multiple membership level feature.
Simply use the following shortcode on a page that lets your premium members to downgrade their membership level to the “Free” one (1 is the Free membership level ID in this example. change this value to whatever the level ID of your free membership level is):
[wp_eMember_upgrade_membership_level_to level=1]
The above shortcode basically creates a button that can modify the membership level of the currently logged in member to the target level (Level 1 in this example).
-
AuthorPosts
- You must be logged in to reply to this topic.