Community Support Forums — WordPress® ( Users Helping Users ) — 2011-08-10T16:33:28-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=10385 2011-08-10T16:33:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10385&p=30437#p30437 <![CDATA[Re: Display Expiry Date]]> WP Admin -> s2Member -> API / Scripting -> Simple/Shortcode Conditionals or Advanced/PHP Conditionals. E.g.:

Code:
[s2If current_user_can(access_s2member_level1)]
    Some content for Members who are logged in with an s2Member Level >= 1.
[/s2If]

Statistics: Posted by Cristián Lávaque — August 10th, 2011, 4:33 pm


]]>
2011-08-10T14:12:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10385&p=30415#p30415 <![CDATA[Re: Display Expiry Date]]> Statistics: Posted by highfive — August 10th, 2011, 2:12 pm


]]>
2011-08-10T12:44:50-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10385&p=30394#p30394 <![CDATA[Re: Display Expiry Date]]>
highfive wrote:
Is there a field to display the date they are currently paid up to?


"s2member_auto_eot_time", but that doesn't get set for those paying lifetime access or with an ongoing subscription; at the moment subscriptions only set that time when it's stopped (cancel, refund, etc.).

If there's a time in that file, look at this code for ideas on how to display the remaining days: viewtopic.php?f=4&t=6196#p13641

Statistics: Posted by Cristián Lávaque — August 10th, 2011, 12:44 pm


]]>
2011-08-10T10:12:52-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10385&p=30371#p30371 <![CDATA[Re: Display Expiry Date]]> Statistics: Posted by kgweber — August 10th, 2011, 10:12 am


]]>
2011-08-08T22:14:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10385&p=30245#p30245 <![CDATA[Re: Display Expiry Date]]> Statistics: Posted by highfive — August 8th, 2011, 10:14 pm


]]>
2011-07-04T11:08:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10385&p=22257#p22257 <![CDATA[Re: Display Expiry Date]]> Statistics: Posted by camillemm — July 4th, 2011, 11:08 am


]]>
2011-07-04T11:00:11-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10385&p=22254#p22254 <![CDATA[Re: Display Expiry Date]]> http://www.php.net/manual/en/function.date.php

Statistics: Posted by Cristián Lávaque — July 4th, 2011, 11:00 am


]]>
2011-07-04T03:33:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10385&p=22246#p22246 <![CDATA[Re: Display Expiry Date]]> Statistics: Posted by camillemm — July 4th, 2011, 3:33 am


]]>
2011-07-04T03:18:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10385&p=22243#p22243 <![CDATA[Re: Display Expiry Date]]> Statistics: Posted by camillemm — July 4th, 2011, 3:18 am


]]>
2011-07-03T23:33:37-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10385&p=22241#p22241 <![CDATA[Re: Display Expiry Date]]> viewtopic.php?f=40&t=9015&src_doc_v=110605#src_doc_get_user_field%28%29

Code:
$s2member_auto_eot_time = get_user_field ("s2member_auto_eot_time"); # Auto EOT-Time for the current User ( when applicable ).
$s2member_access_label = get_user_field ("s2member_access_label"); # An s2Member Membership Access Label ( i.e. Bronze, Gold, Silver, Platinum, or whatever is configured ).
 

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


]]>
2011-07-03T23:28:10-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10385&p=22240#p22240 <![CDATA[Display Expiry Date]]> Statistics: Posted by mrasmith — July 3rd, 2011, 11:28 pm


]]>