Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › How Do You Protect A Page AND A Section At The Same Time?
Tagged: protection, section protect
- This topic has 4 replies, 4 voices, and was last updated 13 years, 4 months ago by admin.
-
AuthorPosts
-
July 7, 2011 at 6:13 am #3739ZainParticipant
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
August 31, 2011 at 2:24 pm #34051midnightdonkeyMemberAny answer to this? I’m having the same problem.
September 1, 2011 at 12:31 am #34052adminKeymasterYou 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]
September 12, 2011 at 12:23 pm #34053dustycatMemberHi 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
September 13, 2011 at 1:30 am #34054adminKeymasterThe “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:
-
AuthorPosts
- You must be logged in to reply to this topic.