Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

eMember – problem with expired membership levels

by

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 5 years, 5 months ago by admin.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • January 12, 2020 at 12:54 am #15198
    ariel83
    Member

    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 #80232
    wzp
    Moderator

    If 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 #80233
    ariel83
    Member

    I 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 #80234
    admin
    Keymaster

    Are 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 #80235
    ariel83
    Member

    Hi, 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 #80236
    admin
    Keymaster

    I will sent you an email to organize access.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ