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™

Single Post & Member Access

s2Member Plugin. A Membership plugin for WordPress®.

Single Post & Member Access

Postby Weblanced » August 23rd, 2011, 7:13 am

Can someone please tell me if there is a way to set multiple capabilities on posts in such a way that the post can be accessed by someone that has only one of those capabilities.

Here's the background:

We sell a subscription and subscribers have access to the current issue (post) and all past issues. We also want to be able to sell access to single posts. So we need any given post to be accessible by people that have two different capabilities.

I was hoping that there was a way to set capabilities on posts in a way that only one of the capabilities needs to be valid to grant access. For example a post could be given the capabilities apples & oranges - so that members with the capability apples can access it, and people that buy access as single post can be given the capability orange.

If this isn't possible can anyone think of another way to be able to make a post available to both long term subscribers and people that want to buy as a single post?

Thanks very much

Matt
User avatar
Weblanced
Registered User
Registered User
 
Posts: 1
Joined: August 23, 2011

Re: Single Post & Member Access

Postby Cristián Lávaque » August 23rd, 2011, 3:38 pm

You can do it using conditionals. WP Admin -> s2Member -> API / Scripting -> Simple/Shortcode Conditionals or Advanced/PHP Conditionals
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