Community Support Forums — WordPress® ( Users Helping Users ) — 2011-05-16T10:57:38-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=3015 2011-05-16T10:57:38-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3015&p=15089#p15089 <![CDATA[Re: Content dripping]]> 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:
$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. :)

Statistics: Posted by Cristián Lávaque — May 16th, 2011, 10:57 am


]]>
2011-05-15T19:25:46-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3015&p=15070#p15070 <![CDATA[Re: Content dripping]]>
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

Statistics: Posted by woodpecker34 — May 15th, 2011, 7:25 pm


]]>
2011-04-06T14:54:05-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3015&p=9230#p9230 <![CDATA[Re: Content dripping]]>

Statistics: Posted by Cristián Lávaque — April 6th, 2011, 2:54 pm


]]>
2011-04-06T13:25:33-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3015&p=9226#p9226 <![CDATA[Re: Content dripping]]>
(told you i probably had not found it)

Statistics: Posted by cassel — April 6th, 2011, 1:25 pm


]]>
2011-04-06T13:08:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3015&p=9222#p9222 <![CDATA[Re: Content dripping]]>

These may help you:

WP Admin -> s2Member -> API / Scripting -> s2Member Content Dripping
viewtopic.php?f=4&t=2968

Statistics: Posted by Cristián Lávaque — April 6th, 2011, 1:08 pm


]]>
2011-04-06T09:55:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3015&p=9209#p9209 <![CDATA[Re: Content dripping]]> Statistics: Posted by cassel — April 6th, 2011, 9:55 am


]]>
2011-04-06T09:49:52-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3015&p=9207#p9207 <![CDATA[Re: Content dripping]]> Statistics: Posted by hardline — April 6th, 2011, 9:49 am


]]>
2011-04-06T05:11:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3015&p=9199#p9199 <![CDATA[Content dripping]]>
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)

Statistics: Posted by cassel — April 6th, 2011, 5:11 am


]]>