Community Support Forums — WordPress® ( Users Helping Users ) — 2012-02-04T11:46:13-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=17167 2012-02-04T11:46:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17167&p=62314#p62314 <![CDATA[Re: Restrict a text from all the posts]]> Statistics: Posted by cristiandark — February 4th, 2012, 11:46 am


]]>
2012-02-04T11:36:46-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17167&p=62313#p62313 <![CDATA[Re: Restrict a text from all the posts]]>
I'm gonna give you some examples so that you can use them:
The following code will show you where to put the level 4 content:
Code:
[s2If current_user_is(s2member_level4)]
    Some premium content for Level 4 Members only. This is where the download link will go.
[/s2If]
This code will only show the download link to level 4 members. You can modify the number on top to protect content on different levels.

Hope this is understandable. :)

Statistics: Posted by Eduan — February 4th, 2012, 11:36 am


]]>
2012-02-04T11:21:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17167&p=62312#p62312 <![CDATA[Re: Restrict a text from all the posts]]> Statistics: Posted by cristiandark — February 4th, 2012, 11:21 am


]]>
2012-02-04T11:15:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17167&p=62311#p62311 <![CDATA[Re: Restrict a text from all the posts]]> WP Admin -> s2Member -> API / Scripting -> Simple/Shortcode Conditionals.

You can find the PHP versions under WP Admin -> s2Member -> API / Scripting -> Advanced/PHP Conditionals. For these you will need the Exec-PHP plugin or any other WordPress plugin that allows you to insert PHP into posts/pages.

Hope this helps. :)

Statistics: Posted by Eduan — February 4th, 2012, 11:15 am


]]>
2012-02-04T11:08:10-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17167&p=62310#p62310 <![CDATA[Restrict a text from all the posts]]>
Example: I want to hide "Download" text, the "Download" text will contain a url to the a file. I've tryed with URI but is not working. If download text have the url to http://85.25.000.00/download/february/test-file.mp3 i puttet on URI /download/ also /download, /february/ , etc. And is still visible.

So is there any solution to hide Download from guest, and to be avanible only to Leve 4 users? And also to be done automatically, without addig [private][/private] and things like that. Sorry for my bad english :)

Statistics: Posted by cristiandark — February 4th, 2012, 11:08 am


]]>