Page 1 of 1
Content dripping
Posted:
April 6th, 2011, 5:11 am
by cassel
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)
Re: Content dripping
Posted:
April 6th, 2011, 9:49 am
by hardline
This would be great!
Re: Content dripping
Posted:
April 6th, 2011, 9:55 am
by cassel
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.
Re: Content dripping
Posted:
April 6th, 2011, 1:08 pm
by Cristián Lávaque
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 Drippingviewtopic.php?f=4&t=2968
Re: Content dripping
Posted:
April 6th, 2011, 1:25 pm
by cassel
Yayyyy!!! Thank you!
(told you i probably had not found it)
Re: Content dripping
Posted:
April 6th, 2011, 2:54 pm
by Cristián Lávaque
Re: Content dripping
Posted:
May 15th, 2011, 7:25 pm
by woodpecker34
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
Re: Content dripping
Posted:
May 16th, 2011, 10:57 am
by Cristián Lávaque
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 DrippingYou 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.