May 5, 2010 at 11:11 pm #1172
Hi, thanks for this plugin it is great. I was wondering if there’s a way in which I can configure something like level protection in the content. For example: Let’s say there are 3 levels 1,2 and 3 the first allows content some content, the second is the first content plus additional content and the third membership allows you to see content 1, 2, and 3. Is there any way to configure this without having to specify in the code all the memberships? [emember_protected for=1,2,3]May 6, 2010 at 7:03 am #20362
If you are talking about section protection then the only way to protect content for different membership levels is to specify it like the following:
You should be able to achieve the same result by using multiple tags with protection for different levels.June 8, 2010 at 7:38 pm #20363
Hi, I hope you guys are doing great!
How do I use multiple tags with protection for different levels.
This is the scenario, I have 3 memberships, I want membership A to have access to some posts, membership B to access all posts that membership A has access and some articles and membership C will have access to everything membership A and B have but an additional category.
One more question is there a way to protect a widget? Like to only show if a member is signed in and with certain level?
Thanks!June 9, 2010 at 4:10 am #20364
Are you talking about protecting the whole post or a section of this post?June 9, 2010 at 4:40 am #20365
Just a section of the post…
And another question,, I am thinking on buying your theme… Is it possible to customize the CSS?June 9, 2010 at 1:05 pm #20366
Okay very simple… you use the section protection tag but specify the membership level that you are protecting that section for. So for example if you want the first section to be viewable by membership level 1, 2 and 3 then you use the following tage
For the next section that you only want membership leve 2 and 3 to have access you use the following tag
This way membership leve 1 won’t have access this section. Do you see how this is done?
There is no way to protect the widget without using custom PHP code. The widgets vary based on what plugins you install and different people use different widget so there is not set guideline as to how to protect widgets. If you know a bit of PHP then I can give you code that can be used to block the content of a widget.
Yes, you can customize the CSS of the theme.June 9, 2010 at 9:31 pm #20367
Thanks for the great response.. I know the basics of PHP so if you could send me the code to block the content of a widget and where to add it, that would be great.
I already bought your theme. Where can I post questions about the theme? I have several questions I would like for you to help me with.
ThanksJune 10, 2010 at 1:30 am #20368
Okies good. Here is a sample PHP code example:
$user_id = $auth->getUserInfo('member_id');
echo "This secret message is for member's only";
echo "Anything you display here can only be viewed by members";
On the forum there is a forum category for “Infinity Remix” theme. You can post there for the Infinity Remix theme related stuff.June 11, 2010 at 11:18 pm #20369
Thanks Amin,, I have two other questions regarding the code.. where should I add it? and do I change the “member_id” and put the number of the membership I want to be able to see the widget?
Thanks!!!June 12, 2010 at 2:20 am #20370
You add it anywhere where PHP can be used, for example your theme’s template file or add PHP executable widget to your sidebar then you can use PHP code.
I get the feeling you are not familiar with PHP coding. Please remember, it is not the purpose of this forum to teach you PHP as it is beyond the scope of these plugins. If you are not a developer then it is better not to try these tweaks as it can cause other problems and bring your site down then you won’t know what to do.October 10, 2010 at 3:11 pm #20371pilotjoeMember
I’m working with section protection and this isn’t working for me. I set
And not content is viewable by any level
If I specify a single level it works for that level.
Any idea why multiple levels are not working?
JoeOctober 10, 2010 at 4:12 pm #20372pilotjoeMember
Okay I found the problem…
Earlier in this post the shortcode is posted as:
but I found another post where it explains the shortcode as:
This works with the dash!!
Just FYIOctober 11, 2010 at 12:29 am #20373
It’s best to follow the official documentation
- You must be logged in to reply to this topic.