Page 1 of 1

About Dripping

PostPosted: December 17th, 2010, 4:51 am
by Maryke
I want to drip content automatically.

For example

My site is up and running 3 months.

Then I have a new member. I want to show a 'welcome' video on first day or the member. Then on second day I want to show Inspirational video nr 1.

How do I do this?

This is the code as given in s2member. What do I need to change?

For example. My current users should be able to see all.

Code: Select all
<?php if(S2MEMBER_CURRENT_USER_IS_LOGGED_IN_AS_MEMBER){ ?>

    This is some content that will be displayed to all paying Members.
   
    <?php if(S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= 30){ ?>
        Drip content to Members that started paying you at least 30 days ago.
    <?php } ?>
   
    <?php if(S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= 60){ ?>
        Drip content to Members that started paying you at least 60 days ago.
    <?php } ?>
   
    <?php if(S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= 90){ ?>
        Drip content to Members that started paying you at least 90 days ago.
    <?php } ?>

<?php } ?>


and new users should drip.

Re: About Dripping

PostPosted: December 17th, 2010, 5:12 pm
by brianfryer
I am also curious to know how to manually adjust the S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS field.

Being able to "upgrade" new members to receive additional content would be tremendously useful (i.e., I have six months worth of content to be dripped and typical users receive new content once every 30 days; on a case-by-case basis, certain users could be "adjusted" to receive the first 3 months worth of content right off the bat).

I would be very appreciative of any help locating this particular field.