PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Membership and a specific post

s2Member Plugin. A Membership plugin for WordPress®.

Membership and a specific post

Postby shlomof » October 25th, 2011, 2:55 pm

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
User avatar
shlomof
Registered User
Registered User
 
Posts: 19
Joined: October 25, 2011

Re: Membership and a specific post

Postby Cristián Lávaque » October 26th, 2011, 12:34 am

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. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Membership and a specific post

Postby shlomof » October 26th, 2011, 5:48 pm

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
User avatar
shlomof
Registered User
Registered User
 
Posts: 19
Joined: October 25, 2011

Re: Membership and a specific post

Postby Cristián Lávaque » October 27th, 2011, 3:54 pm

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. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 0 guests

cron