Page 1 of 1

Membership and a specific post

PostPosted: October 25th, 2011, 2:55 pm
by shlomof
Hello, if someone is a memeber of level one can he access restricted single posts?

using smemebers thid way, saves me the time creating duplicate pages for specific access and level #1 access. if not, is there a different solution for this problem, or I have to make duplicate pages?

thanks,
Shlomo

Re: Membership and a specific post

PostPosted: October 26th, 2011, 12:34 am
by Cristián Lávaque
Level and Specific access restrictions are mutually exclusive.

The main advantage of the Specific Post/Page restriction is that it doesn't require the customer to create/have an account, he'll just get the access link in an email.

If you don't mind asking them to register, then I suggest that you take a look at custom capabilities. http://www.s2member.com/custom-capabilities-video/

I hope that helps. :)

Re: Membership and a specific post

PostPosted: October 26th, 2011, 5:48 pm
by shlomof
Cristian,
I watched the videos but it still deosnt'make sence for me , on how to do it.
I"ll try explaining what I need.

I have a series of pages,that van be accessed per single payment. I'm offering my users a subscription to ALL these pages. As I said I can recreate all those pages, and add restrict access to level #1. What I want to do, is save this double work and have the single payment posts be accessed to a subscribed person as well.

I hope it makes sense now, of how I can implement that.
thanks,
Shlomo

Re: Membership and a specific post

PostPosted: October 27th, 2011, 3:54 pm
by Cristián Lávaque
If you use the Specific Post/Page restriction, you will need to duplicate the content to sell it in a subscription. In order to use the same content sold individually with one-time payments, or collectively in a subscription, you'll need to use custom capabilities.

Each page you create would have its own custom capability, which you'd sell for the user to be able to view that page. The user would have level 1. Then the subscription could be sold at Level 2. You'd use conditionals to restrict the access, instead of the interface for the restrictions provided by s2Member.

Something like:

Code: Select all
<?php if (current_user_can('access_s2member_level2') || current_user_can('access_s2member_ccap_page123')) ?>
Show him the content.
<?php } else { ?>
Sales copy for this or all pages.
<?php } ?>


I hope it helps. :)