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™

Content dripping

s2Member Plugin. A Membership plugin for WordPress®.

Content dripping

Postby cassel » April 6th, 2011, 5:11 am

I dont know if this is possible and i just didn't find the information or if maybe it is not possible or if it needs some custom capabilities coded.

If i have a course (say 10 chapters), is there a way to drip content 1 chapter every week to the paying member? I mean, have one page added to the "allowed" pages, but one new one each week, so after 10 weeks, they have access to the whole thing but not right from the start? This would be cool for course delivery.

(of course, i mean automatic setup, so if you start the course onTuesday, you get the next chapter next Tuesday, but if your neighbour starts on Friday, the next chapter will be next Friday)
User avatar
cassel
Experienced User
Experienced User
 
Posts: 442
Joined: February 17, 2011

Re: Content dripping

Postby hardline » April 6th, 2011, 9:49 am

This would be great!
User avatar
hardline
Registered User
Registered User
 
Posts: 14
Joined: April 6, 2011

Re: Content dripping

Postby cassel » April 6th, 2011, 9:55 am

I know i could find a winded work around and have content dripped from the mailing list (MailChimp allows that) and then send a link to a new chapter each week, but i find it would be kind of awkward for the member to review all 10 chapters at once, in the end.
User avatar
cassel
Experienced User
Experienced User
 
Posts: 442
Joined: February 17, 2011

Re: Content dripping

Postby Cristián Lávaque » April 6th, 2011, 1:08 pm

This is a feature we're looking at improving, but right now you can already do this. :)

These may help you:

WP Admin -> s2Member -> API / Scripting -> s2Member Content Dripping
viewtopic.php?f=4&t=2968
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: Content dripping

Postby cassel » April 6th, 2011, 1:25 pm

Yayyyy!!! Thank you!

(told you i probably had not found it)
User avatar
cassel
Experienced User
Experienced User
 
Posts: 442
Joined: February 17, 2011

Re: Content dripping

Postby Cristián Lávaque » April 6th, 2011, 2:54 pm

:)
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: Content dripping

Postby woodpecker34 » May 15th, 2011, 7:25 pm

Christian,

I am very new at this (downloaded and installed the plugin this weekend) and want to use the drip function.

So, I want to deliver daily messages.

I plan to send them via email and also make the files available within the site as a download.

Would I place this code on a page so that the posts that are within the correct date range would be displayed as available for my member?

Thx
Dave
User avatar
woodpecker34
Registered User
Registered User
 
Posts: 1
Joined: May 15, 2011

Re: Content dripping

Postby Cristián Lávaque » May 16th, 2011, 10:57 am

Hi Dave. Well, what's explained in the Content Dripping section is pretty much what you'd use. WP Admin -> s2Member -> API / Scripting -> s2Member Content Dripping

You could create an array with the day and file pairs and then loop through it checking if the person can see them. For example:

Code: Select all
$files = array(
    2 => 'fileday2.pdf',
    3 => 'fileday3.pdf',
    5 => 'fileday5.pdf',
);

foreach ($files as $day => $file) {
    if ($day S2MEMBER_CURRENT_USER_REGISTRATION_DAYS)
        echo 'http://example.com/files/', $file;
    else
        break
} 


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


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 1 guest

cron