Community Support Forums — WordPress® ( Users Helping Users ) — 2011-08-25T03:04:02-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=14637 2011-08-25T03:04:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14637&p=32851#p32851 <![CDATA[Re: open preview of protected content]]>

Statistics: Posted by Cristián Lávaque — August 25th, 2011, 3:04 am


]]>
2011-08-24T20:47:50-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14637&p=32816#p32816 <![CDATA[Re: open preview of protected content]]>
While they both work, I really like the api method, very elegant.

Thanks again for your help.

Ray

Statistics: Posted by raymasa — August 24th, 2011, 8:47 pm


]]>
2011-08-22T21:49:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14637&p=32646#p32646 <![CDATA[Re: open preview of protected content]]>
Another approach, if you only need the teasers in the posts list (like the home page), would be to leave Alternative Views unprotected and use the <!--more--> where you want the preview to end, then when they click to open the protected post, they'll get sent to the Membership Options Page. WP Admin -> s2Member -> Restriction Options -> Alternative View Protection

Statistics: Posted by Cristián Lávaque — August 22nd, 2011, 9:49 pm


]]>
2011-08-21T13:52:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14637&p=32582#p32582 <![CDATA[Re: open preview of protected content]]> Dashboard -> s2Member -> API/Scripting -> Simple/Shortcode Conditionals). Then, have a button show if they are not a member, using the [s2If !is_user_logged_in()] shortcode.

So your code could look something like this:
Code:
This part is for the non-logged in users/users of a low level
[s2If !is_user_logged_in()]
...
If you would like to read more, please buy a membership here: http://example.com
[/s2If]
[s2If is_user_logged_in()]
The rest of the page.
[/s2If]


Hope that helps!

Statistics: Posted by Bruce C — August 21st, 2011, 1:52 pm


]]>
2011-08-21T12:50:53-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14637&p=32577#p32577 <![CDATA[open preview of protected content]]>
Started trying s2member few days ago. Really like, great plugin.

Is there a feature that would allow me to publicly show part of a page, but protect the rest? As a teaser to get people to become member of the site to view rest of the page. For example, if there are five paragraphs on the page, the first paragraph is visible to everyone (even when not logged in). if they like that and want to read the rest, they would need top register.

Is that possible to do with s2member?

Thanks,

Ray

Statistics: Posted by raymasa — August 21st, 2011, 12:50 pm


]]>