Statistics: Posted by kennymcnett — October 11th, 2011, 8:59 pm
Statistics: Posted by Cristián Lávaque — October 1st, 2011, 3:20 am
Statistics: Posted by pixls — September 28th, 2011, 9:06 am
Statistics: Posted by crazycoolcam — September 28th, 2011, 8:59 am
<?php
$time = s2member_registration_time (); // ... first registration time ( free or otherwise ).
$time = s2member_paid_registration_time (); // ... first "paid" registration and/or upgrade time.
$time = s2member_paid_registration_time ("level1"); // ... first "paid" registration or upgrade time at Level#1.
$time = s2member_paid_registration_time ("level2"); // ... first "paid" registration or upgrade time at Level#2.
$time = s2member_paid_registration_time ("level3"); // ... first "paid" registration or upgrade time at Level#3.
$time = s2member_paid_registration_time ("level4"); // ... first "paid" registration or upgrade time at Level#4.
?>
Here are some actual examples that should give you some ideas:
------- Example #1 ------------------------------------------------------
<?php if(s2member_paid_registration_time() > 0){ ?>
This is some content that will be displayed to all Members that have paid you at some point.
<?php if(s2member_paid_registration_time("level2") > 0){ ?>
This will be displayed to all Members that have paid for Level#2 at some point.
<?php } ?>
<?php if(s2member_paid_registration_time("level3") > 0){ ?>
This will be displayed to all Members that have paid for Level#3 at some point.
<?php } ?>
<?php } ?>
------- Example #2 ------------------------------------------------------
<?php if(s2member_paid_registration_time() > 0){ ?>
This is some content that will be displayed to all Members that have paid you at some point.
<?php if(s2member_paid_registration_time("level1") >= ($_30_days_ago = strtotime("-30 days"))){ ?>
Drip content to Members that started paying you at Level#1, at least 30 days ago.
<?php } ?>
<?php if(s2member_paid_registration_time("level1") >= ($_60_days_ago = strtotime("-60 days"))){ ?>
Drip more content to Members that started paying you at Level#1, at least 60 days ago.
<?php } ?>
<?php } ?>
Statistics: Posted by pixls — September 28th, 2011, 8:21 am
<?php
$time = s2member_registration_time (); // ... first registration time ( free or otherwise ).
$time = s2member_paid_registration_time (); // ... first "paid" registration and/or upgrade time.
$time = s2member_paid_registration_time ("level1"); // ... first "paid" registration or upgrade time at Level#1.
$time = s2member_paid_registration_time ("level2"); // ... first "paid" registration or upgrade time at Level#2.
$time = s2member_paid_registration_time ("level3"); // ... first "paid" registration or upgrade time at Level#3.
$time = s2member_paid_registration_time ("level4"); // ... first "paid" registration or upgrade time at Level#4.
?>
Here are some actual examples that should give you some ideas:
------- Example #1 ------------------------------------------------------
<?php if(s2member_paid_registration_time() > 0){ ?>
This is some content that will be displayed to all Members that have paid you at some point.
<?php if(s2member_paid_registration_time("level2") > 0){ ?>
This will be displayed to all Members that have paid for Level#2 at some point.
<?php } ?>
<?php if(s2member_paid_registration_time("level3") > 0){ ?>
This will be displayed to all Members that have paid for Level#3 at some point.
<?php } ?>
<?php } ?>
------- Example #2 ------------------------------------------------------
<?php if(s2member_paid_registration_time() > 0){ ?>
This is some content that will be displayed to all Members that have paid you at some point.
<?php if(s2member_paid_registration_time("level1") >= ($_30_days_ago = strtotime("-30 days"))){ ?>
Drip content to Members that started paying you at Level#1, at least 30 days ago.
<?php } ?>
<?php if(s2member_paid_registration_time("level1") >= ($_60_days_ago = strtotime("-60 days"))){ ?>
Drip more content to Members that started paying you at Level#1, at least 60 days ago.
<?php } ?>
<?php } ?>
Statistics: Posted by crazycoolcam — September 28th, 2011, 7:56 am
Statistics: Posted by pixls — September 28th, 2011, 7:22 am
Statistics: Posted by crazycoolcam — September 28th, 2011, 7:10 am
Statistics: Posted by pixls — September 28th, 2011, 6:59 am
Statistics: Posted by cassel — September 28th, 2011, 6:45 am
Statistics: Posted by pixls — September 28th, 2011, 5:27 am