Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember – problem with expired membership levels
Tagged: expired membership, membership levels
- This topic has 5 replies, 3 voices, and was last updated 4 years, 10 months ago by admin.
-
AuthorPosts
-
January 12, 2020 at 12:54 am #15198ariel83Member
Hi!, I can’t figure this out.
My current membership levels are like this:
free user – doesn’t expire
Course 1 – not free – expires in 1 year (for testing, just in 1 day)
Course 2 – not free – expires in 1 year (for testing, just in 2 days)
etc
After some days, if the user has an expired membership level (for example with id=4), he doesn’t see either of this content:
[emember_protected for=”4″]
Hi, welcome to this course!
[/emember_protected]
[emember_protected scope=”expired” for=”4″]
Hi, you have to buy this course again, sorry!
[/emember_protected]
So, he can’t access the premium content (great!), but I can’t get him to view the content inside the expired shortcode.
And if I use this:
[wp_eMember_user_details user_info=”user_additional_membership_level_names”]
it shows that the user still has all the membership levels.
help!
January 12, 2020 at 1:39 pm #80232wzpModeratorIf you change the order of the partial protection shortcodes, what happens?
And if I use this:
[wp_eMember_user_details user_info=”user_additional_membership_level_names”]
it shows that the user still has all the membership levels.
But if you check the plugin dashboard, does it show the status of certain membership levels as “expired?” A user can belong to a membership level, and still have an expired membership.
January 12, 2020 at 3:08 pm #80233ariel83MemberI got this message: “Your subscription for this membership level access has expired.”
from this shortcodes:
[emember_protected for=”4″]
[emember_protected for=”5″]
that’s ok. But I can’t make this shortcode to work:
[emember_protected scope=”expired” for=”4″]
or:
[emember_protected scope=”expired” for=”5″]
“If you change the order of the partial protection shortcodes, what happens?”
I tried with that now, but nothing.
January 14, 2020 at 12:56 am #80234adminKeymasterAre you using the [emember_protected for=”4″] shortcode then trying to put another [emember_protected] shortcode INSIDE of the other one? That won’t work.
Put the shortcode BELOW the other one. Use the do_not_show_restricted_msg=”1″ parameter in the shortcode so it doesn’t show anything. If the user’s account is expired, then they will see the expired section. If the user’s account is not expired then they will see the normal section.
[emember_protected for=”4″ do_not_show_restricted_msg=”1″]
User will see this if the account is active and from membership level 4
[/emember_protected]
[emember_protected scope=”expired” for=”4″]
User will see this section if the account is expired and from level 4
[/emember_protected]
You can have as many of these different conditional sections as you want. They can’t be one inside another. Based on the user’s account status, the user will only see the section that matches the condition.
January 14, 2020 at 1:20 am #80235ariel83MemberHi, thanks for your answer.
No, they are not one inside another. They are just used as you presented here.
All shortcodes works but not the ones with the scope=”expired”, Can I send you an email with admin credentials?
January 15, 2020 at 12:31 am #80236adminKeymasterI will sent you an email to organize access.
-
AuthorPosts
- You must be logged in to reply to this topic.