Community Support Forums — WordPress® ( Users Helping Users ) — 2011-08-03T23:26:29-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=14334 2011-08-03T23:26:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14334&p=29803#p29803 <![CDATA[Re: php conditional for is user currently subscribed?]]>
Well, if you set the EOT behavior to demote the account, then checking his level may be enough to know if he's subscribed. If he's at Level 1 or higher he's subscribed, if Level 0 or lower then not. Would that work?

Statistics: Posted by Cristián Lávaque — August 3rd, 2011, 11:26 pm


]]>
2011-08-03T16:59:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14334&p=29767#p29767 <![CDATA[Re: php conditional for is user currently subscribed?]]> think this works...

Code:

if ($subscr_id = get_user_option ("s2member_subscr_id", $user_id)) {
  echo '<p>As a subscribed member you will be charged according to your billing preferences one year after your last payment. </p>';   
} else {
  echo '<p>You are not currently subscribed.</p>';
}

Statistics: Posted by craigjb12 — August 3rd, 2011, 4:59 pm


]]>
2011-08-03T16:28:16-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14334&p=29765#p29765 <![CDATA[php conditional for is user currently subscribed?]]> Statistics: Posted by craigjb12 — August 3rd, 2011, 4:28 pm


]]>