latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Paying members remaining time?

Home Forums Community Forum Paying members remaining time?

This topic contains 5 replies, has 2 voices. Last updated by  Raam Dev 3 years, 4 months ago.

Topic Author Topic
Posted: Monday Aug 5th, 2013 at 5:04 am #55215
ssd ssd
Username: ssd

HI,
I would like to call the page time remaining paying users,for example::

VIP Expiry Date :2013 -08-10

Because of the language problem, I read the help file some difficulties, so only on here ask for help, trouble you.

List Of Topic Replies

Viewing 5 replies - 1 through 5 (of 5 total)
Author Replies
Author Replies
Posted: Monday Aug 5th, 2013 at 5:13 pm #55240
Raam Dev
Username: Raam
Staff Member

Hello,

~Thank you for your inquiry. I’d love to help you! :)

Could you please explain the problem a little more for me? I don’t understand what you’re trying to do. Are you trying to display the amount of time a user has remaining on their membership?

Posted: Monday Aug 5th, 2013 at 8:09 pm #55262
ssd ssd
Username: ssd

hi Raam,

Yes, I want to create a page, the “Automatic EOT Time” display to members of view,

For example:【Automatic EOT Time: Tue Aug 18, 2013 12:00 am UTC】

Displayed :【2013-8-18 12:00 UTC】

Posted: Tuesday Aug 6th, 2013 at 10:43 am #55290
Raam Dev
Username: Raam
Staff Member

Please try the following snippet of PHP code:

<?php
if ($s2member_auto_eot_time = get_user_field ("s2member_auto_eot_time") ) {
	echo date("Y-M-d h:i e", $s2member_auto_eot_time);
}
?>

If you want to use this PHP code directly on a Post or Page in WordPress, you will need to install a plugin like ezPHP.

Posted: Wednesday Aug 7th, 2013 at 10:33 am #55354
ssd ssd
Username: ssd

A success! Thank you very much!

Posted: Wednesday Aug 7th, 2013 at 11:17 am #55358
Raam Dev
Username: Raam
Staff Member

You’re most welcome! I’m happy that I was able to help. :)

Viewing 5 replies - 1 through 5 (of 5 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.