Tips and Tricks HQ Support Portal › Forums › WP eMember › Hide From Member Level – eMember
Tagged: hide member level sections
- This topic has 11 replies, 4 voices, and was last updated 12 years, 4 months ago by admin.
-
AuthorPosts
-
July 3, 2012 at 10:02 pm #6781eldigital2Member
I would like to hide a section from a any or many member level. Is there a shortcode to hide a section of a page or post like this?
To the designers of this plug in:
So far i am making alot of headway and i think that these plugins are the sickest and most useful tools for any one that has wanted this to be a reality for them. With out any of these plug ins I don not see how I could have ever made this happen on my own. Thank you…
July 3, 2012 at 10:49 pm #46853johnw1965MemberRefer to the onlne Help docs
http://www.tipsandtricks-hq.com/wordpress-membership/
Specifically:
http://www.tipsandtricks-hq.com/wordpress-membership/how-to-protect-a-section-of-a-post-or-page-88
July 4, 2012 at 1:14 am #46854eldigital2MemberThat does not seem to do what I need. The goal is to hide the teaser content on a page from the new member every time he/she signs in and goes to that page since they paid for it already. If I hide the teaser content still needs to be there though when they sign out and other members still need to be able to see it.
If i use “[emember_protected for=1-3-5] or [emember_protected scope=not_logged_in_users_only]” that will not work either because I need other lower and higher levels to see that teaser content so if i pick levels 2 and 3 then levels 4 and anonymous will not be able to see the teaser content.
So basically I am looking to HIDE a section of a page from eMember level. Is there a way that this can happen.
Let me try and say the steps:
1. they see only teaser content.
2. they register and then see the add to cart button
3. they buy the video and then they see the paid content but then the teaser section should be gone.
4. every time they come back to this page they see the paid content if they are logged in.
It doesnt seem like the Section Protection post will work for my needs.
July 4, 2012 at 1:31 am #46855eldigital2MemberHas anyone else come up with the need for this? Seems almost impossible to live without no?
July 4, 2012 at 5:58 am #46856IvyMemberWhy not use this option.
Section Protection for Anyone Who is Logged In
If you want to just protect a section of a post or page for logged in member (you don’t care if the member’s status is expired or not) then use the following shortocde:
[emember_protected scope=verified_users_only]
Whatever content goes here is only viewable by anyone who is logged into eMember (doesn’t matter if his account is expired or not)
[/emember_protected]
This way the section you want protect for logged in members can be seen by any membership level.
July 4, 2012 at 6:28 am #46857eldigital2MemberI am sorry but I dont think that will work at all to do what I need. Unless i am not clear as to how u would implement this to cover what i need?
July 4, 2012 at 6:34 am #46858eldigital2MemberI am still stuck. wish I could figure this out.
July 4, 2012 at 7:54 am #46859eldigital2MemberMaybe this is too hard to code/implement? It must be because this makes a TON of sense to make a part of this plug in!
July 4, 2012 at 7:32 pm #46860eldigital2MemberJuly 4, 2012 at 11:50 pm #46861IvyMemberYou have a page that has 2 sections of content on it. One section A you do not want logged in members to see and section B you want only logged in members to see.
This will make it so only members not logged in will see this content
[emember_protected scope=not_logged_in_users_only]
Section A
[/emember_protected]
This section will only be seen by logged in members no matter what membership they are logged into.
[emember_protected scope=verified_users_only]
Section B
[/emember_protected]
July 5, 2012 at 1:47 am #46862eldigital2Memberwhat about when a member have purchased a different level and are logged in already? in this case another video. I would still need for them to see the teaser content of other pages with their own teasers on them even if they are logged in. The “Section A” example only works if they are anonymous. There is no way to hide sections by level even if you are logged in?
I hope I am communicating what I need to happen more clearly. I am just sad this isnt part of this plug in
Would I be asking too much if you made these shortcodes a reality?
July 5, 2012 at 7:44 am #46863adminKeymasterFirst of all read the full documentation so you understand all the options available to this section protection shortcode (anything else is not available):
http://www.tipsandtricks-hq.com/wordpress-membership/how-to-protect-a-section-of-a-post-or-page-88
You can have as many sections of content as you want on your page and then protect them for particular membership level or for member or for logged in users. You are not restricted to using one section protection per page. Here is an example:
[emember_protected scope=not_logged_in_users_only]
Show some teaser content here which is only seen by users who are not logged in (logged in users won’t see this.
[/emember_protected]
[emember_protected for=1-2-3 do_not_show_restricted_msg=1]
Video 1 goes here and it will only be available to members from level 1,2 and 3 (anyone else just won’t see this section)
[/emember_protected]
[emember_protected for=4-5 do_not_show_restricted_msg=1]
Video 2 goes here and it will only be available to members from level 4 and 5 (anyone else just won’t see this section)
[/emember_protected]
[emember_protected for=6 do_not_show_restricted_msg=1]
Video 1 goes here and it will only be available to members from level 6 (anyone else just won’t see this section)
[/emember_protected]
[emember_protected member_id=1 do_not_show_restricted_msg=1]
Video 3 goes here and it will only be available to members whose ID is 1 (anyone else just won’t see this section)
[/emember_protected]
Have as many sections as you would like. With each section you just specify who can see it and only the correct users will have access to the content.
-
AuthorPosts
- You must be logged in to reply to this topic.