$custom = get_user_option("s2member_custom");
list($domain, $timestamp1, $timestamp2, $timestamp3, $timestamp4) = preg_split("/\|/", $custom);
Statistics: Posted by KirkWard — October 29th, 2010, 1:40 pm
Statistics: Posted by KirkWard — October 29th, 2010, 7:13 am
$level = ws_plugin__s2member_user_access_level();
echo $level; // Is this the current level only?
That way, if I set a script to release content every thirty days of a membership, a user will not revert to the first issue when they start a new level. I created a CV pipe for each button in a standard layout to do that.
Statistics: Posted by Jason Caldwell — October 29th, 2010, 3:12 am
$custom = get_user_option("s2member_custom");
list($domain, $timestamp1, $timestamp2, $timestamp3, $timestamp4) = preg_split("/\|/", $custom);
$level = ws_plugin__s2member_user_access_level();
echo $timestamp1;
echo $timestamp2;
echo $timestamp3;
echo $timestamp4;
echo $level; // Is this the current level only?
Statistics: Posted by KirkWard — October 28th, 2010, 10:44 am
[s2Member-PayPal-Button ... custom="www.example.com|<?php echo time(); ?>" /]
$custom = get_user_option("s2member_custom");
list($domain, $timestamp) = preg_split("/\|/", $custom);
$level = ws_plugin__s2member_user_access_level();
echo $timestamp; // A Unix timestamp.
echo $level; // Numeric Level number.
Statistics: Posted by Jason Caldwell — October 27th, 2010, 11:52 pm
[s2Member-PayPal-Button ... custom="www.example.com|TIMESTAMP|%cv2%|%cv3%|%cv4%" /]
[s2Member-PayPal-Button ... custom="www.example.com|%cv1%|TIMESTAMP|%cv3%|%cv4%" /]
[s2Member-PayPal-Button ... custom="www.example.com|%cv1%|%cv2%|TIMESTAMP|%cv4%" /]
[s2Member-PayPal-Button ... custom="www.example.com|%cv1%|%cv2%|%cv3%|TIMESTAMP" /]
$custom = get_user_option("s2member_custom");
list($domain, $timestamp1, $timestamp2, $timestamp3, $timestamp4) = preg_split("/\|/", $custom);
if (($timestamp4 == "") && ($timestamp3 == "") && ($timestamp2 == ""))
{ echo $timestamp1;}
elseif (($timestamp4 == "") && ($timestamp3 == ""))
{ echo $timestamp1;
echo $timestamp2;}
elseif ($timestamp4 == "")
{ echo $timestamp1;
echo $timestamp2;
echo $timestamp3;}
else
{ echo $timestamp1;
echo $timestamp2;
echo $timestamp3;
echo $timestamp4;}
Statistics: Posted by KirkWard — October 27th, 2010, 4:06 pm