Community Support Forums — WordPress® ( Users Helping Users ) — 2010-11-02T07:46:20-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=1136 2010-11-02T07:46:20-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1136&p=4467#p4467 <![CDATA[Re: Custom message to appear in place of protected content?]]>
jacko wrote:
All the other major membership plugins have this embedded in the core functions, I'm surprised S2members with all its elegant solutions need us to enter the code manually each time we protect content.

Hi Jacko,

I'm own about a half dozen membership plugins, several of them are very highly regarded.

I've been looking at and playing with s2 for a short while now, and even the free version seems more powerful than any of the others. One of the reasons is the fact that it gives you more freedom to code.

I think that if you look at all the others you are talking about, they do not have any way of performing some of the really, really, advanced tasks that s2 makes accessible.

I'm thinking that the closer you get to the core, the more work you have to do, but also, the more freedom you are given.

Kirk

Statistics: Posted by KirkWard — November 2nd, 2010, 7:46 am


]]>
2010-11-02T03:57:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1136&p=4460#p4460 <![CDATA[Re: Custom message to appear in place of protected content?]]>
All the other major membership plugins have this embedded in the core functions, I'm surprised S2members with all its elegant solutions need us to enter the code manually each time we protect content.

I still think S2member is the best membership plugin out there, but is there really no other way around this? Perhaps a member of the S2member team can clarify...

Statistics: Posted by jacko — November 2nd, 2010, 3:57 am


]]>
2010-11-01T17:39:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1136&p=4456#p4456 <![CDATA[Re: Custom message to appear in place of protected content?]]>
[s2If current_user_can(access_s2member_level1)]
Here is the members only content.
[/s2If]

[s2If !current_user_can(access_s2member_level1)]
Here's where I write: Not a member yet? Sign Up!
[/s2If]

The difference between the first one and the second one is the ! in the second one.

If you are writing a lot of posts with this type of thing, I decided to install the Pre-Publish reminder plugin and copy/pasted this code, so for each post I write, it shows up in the post dashboard so I just have to copy/paste it into the content each time.

Hope that helps!

Statistics: Posted by chelle — November 1st, 2010, 5:39 pm


]]>
2010-11-01T14:46:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1136&p=4455#p4455 <![CDATA[Custom message to appear in place of protected content?]]> sections of my posts and pages.

Is there a way I can force a message to appear in place of the hidden/protected section, advising visitors to pay in order to access/read it?

My website structure is uber simple: I have a single membership level for paid members, roughly 10% of total content. Visitors can access the other 90% of free content (obviously paying members can as well).

Looking in the example below, a visitor would never know there was content hidden from him (Sentence 1).


[s2If current_user_can(access_s2member_level1)] Some content for Members who are logged in with an s2Member Level >= 1. [/s2If]

Some public content available to visitors, blah blah blah.


Is there a way for a custom message to appear in place of Sentence 1, or in any place I hide content?

Statistics: Posted by jacko — November 1st, 2010, 2:46 pm


]]>