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™

drip content vs. straight purchase

s2Member Plugin. A Membership plugin for WordPress®.

drip content vs. straight purchase

Postby drawingsecretsrevealed » September 1st, 2011, 10:46 am

I am wondering if it's possible with s2Member's drip content and membership levels to do the following:

I would like to offer my 12-video course as a monthly membership of $27/mo. with the videos being drip-content using s2Member's PHP script for dripping content as Level 1 membership. I would also like to offer a Level 2 membership of a flat price of $97 for immediate access to the entire course, without dripping content. Is this possible? Is it possible to have, say, Lesson #1 (a single WordPress page) recognize if someone is at Level 1 membership and be released according to the weekly drip schedule, or recognize if someone is at Level 2 membership and be immediately open to them. Does this make sense?

Can you have different levels of membership be different TYPES of membership? Like a monthly membership for Level 1 and a one-time membership for Level 2?
User avatar
drawingsecretsrevealed
Registered User
Registered User
 
Posts: 61
Joined: June 15, 2011

Re: drip content vs. straight purchase

Postby Cristián Lávaque » September 1st, 2011, 10:28 pm

Sure, you can do that. :)

Protect the pages at Level 1, this will let Level 1 and 2 users to access that page. s2Member -> Restriction Options -> Page

Then in the pages you'll have a condition to check if he's at Level 1 and for how long to determine if he gets the new video or a message telling him it's not available yet, or show him the video if Level 2.

Check the documentation for conditionals and content dripping. WP Admin -> s2Member -> API / Scripting -> Advanced/PHP Conditionals and s2Member Content Dripping

Code: Select all
<?php
if 
(current_user_is('s2member_level1') && S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS < 30) {
    echo 'This video is not available to you yet, check back in ', (30 - S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS) , ' days.';
}
 else {
    echo 'Here is your video.';
}
?>


I hope this 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: drip content vs. straight purchase

Postby drawingsecretsrevealed » September 2nd, 2011, 12:15 pm

This does help, enormously. One more question: How would I generate the correct PayPal buttons? Would I generate a Level 1 button for monthly members of $27, label it on the sales page as "monthly membership of $27/mo", and then generate a Level 2 button for flat-rate members of $97, and label THAT on the sales page as "immediate access to all lessons"?
User avatar
drawingsecretsrevealed
Registered User
Registered User
 
Posts: 61
Joined: June 15, 2011

Re: drip content vs. straight purchase

Postby cassel » September 2nd, 2011, 4:06 pm

I would not know much about the coding, but you can create different button images and identify them differently, like "regular" and "instant access" or something like that ON the button graphic itself :)
User avatar
cassel
Experienced User
Experienced User
 
Posts: 442
Joined: February 17, 2011

Re: drip content vs. straight purchase

Postby Cristián Lávaque » September 2nd, 2011, 10:42 pm

drawingsecretsrevealed wrote:This does help, enormously. One more question: How would I generate the correct PayPal buttons? Would I generate a Level 1 button for monthly members of $27, label it on the sales page as "monthly membership of $27/mo", and then generate a Level 2 button for flat-rate members of $97, and label THAT on the sales page as "immediate access to all lessons"?


Correct. :)

Cassel, do you mean customizing the button's image for each too? That is certainly a possibility if he wanted to do that. WP Admin -> s2Member -> PayPal Buttons -> Shortcode Attributes -> image
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: drip content vs. straight purchase

Postby cassel » September 2nd, 2011, 10:50 pm

Yes that is what i meant, so it is easier for a potential customer to know what they click for!
User avatar
cassel
Experienced User
Experienced User
 
Posts: 442
Joined: February 17, 2011

Re: drip content vs. straight purchase

Postby Cristián Lávaque » September 2nd, 2011, 11:14 pm

Cool. :)
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: drip content vs. straight purchase

Postby drawingsecretsrevealed » September 3rd, 2011, 9:22 pm

How would I use the Shortcode Attribute? Where would I plug in the location of my custom image in the "Level 1" or "Level 2" button generator?
User avatar
drawingsecretsrevealed
Registered User
Registered User
 
Posts: 61
Joined: June 15, 2011

Re: drip content vs. straight purchase

Postby Cristián Lávaque » September 3rd, 2011, 10:33 pm

Not in the generator, just edit the shortcode manually after you generate it. You can change the image attribute with the URL of the image you'd like to use. E.g. image="http://example.com/images/my-cooler-button.png"
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: Bing [Bot] and 1 guest

cron