Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password? (Having an issue with the forum login?)

Search the Forum

Tips and Tricks HQ Forum » WP eMember » WP eMember Troubleshooting

How Do You Protect A Page AND A Section At The Same Time?

(5 posts) (4 voices)
  • Started 10 months ago by Zain
  • Latest reply from admin
  • Possible Solutions (Related Topics):
    1. Disallow non-members to post comments on protected pages
    2. eMember - exclude homepage from sitewide protection
    3. eMember - MU/BP ManageContent Protection front page content gone
    4. How to login a Paid Password Protected Download page as an admin
    5. How to protect all content on posts and pages

Tags:

  • protection
  • section protect
  1. Zain
    Member

    Hi Amin,

    I noticed somewhere (but can't find it again) that you mention the protection flow was:

    if Section protection is used, then the main Page protection is over-ridden.

    Is this correct? If so, please can you tell me how I can change this as I need to make sure content is not visible to anyone who does not have the correct protection level.

    Here's the scenario:

    • Assume 2 Membership Levels: "Free", "Premium"
    • Admin creates a page and both levels are selected for protection.
    • Admin adds relevant content and uses Protection shortcodes to restrict some content for "Premium" members only.
    • If a Non-Member lands on the Page, a "Join" message appears.
    • If Free member lands on the Page, they are allowed to see most of the content,
      however they are "teased" to upgrading by the use of the Section Protection.
    • If a Premium member lands on the Page, they are allowed to see all of the content.

    When the Protection flow is done this way, it's allows the Admin to create "teasers" to encourage members to upgrade.

    Is it possible for this to happen? I'm so close to launch but this would make it so much easier if the protection worked liked this.

    Cheers,

    Zain

    Posted 10 months ago #
  2. midnightdonkey
    Member

    Any answer to this? I'm having the same problem.

    Posted 8 months ago #
  3. admin
    Key Master

    You don't need to protect the full page in this scenario.

    You just do it like the following (Assuming free membership level Id 1 and Premimum membership level ID is 2):

    Page Structure Example:
    -----------------------------
    Teaser content goes here... this teaser content is visible to anyone

    [emember_protected for=1-2]
    Free Member content goes here...
    This content is accessible to both free and premium members
    [/emember_protected]

    [emember_protected for=2]
    Premium Member content goes here....
    This content is accessible to premium members only
    [/emember_protected]
    ------------------------------

    Posted 8 months ago #
  4. dustycat
    Member

    Hi Amin

    Is it possible to change where the user is directed by the emember_protected tag?

    I have just started using the tags so I can have teaser content visible on my blog archive page but the member has to be logged in to view the full article

    At the moment the 'This Content is for members only' message links to my registration page when actually I'd prefer it to go to my Login page - because the registration page doesn't have a login link whereas the login page has a 'join us' link

    Thanks

    Posted 8 months ago #
  5. admin
    Key Master

    The "This Content is for members only" link goes to the "Join us/payment" page (whatever URL your specified there). The "Join us" page is kind of like the "Start" menu of Windows. That page is where you can send any visitor and expect him to get funneled in the proper direction. This page will explain more:
    http://www.tipsandtricks-hq.com/forum/topic/the-difference-between-registration-page-and-join-us-page

    Posted 8 months ago #

RSS feed for this topic

Reply

You must log in to post.

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin