Page 1 of 1

EOT question

PostPosted: September 11th, 2010, 2:17 am
by Tuchanoc
Hello I´m using s2member in conjunction with Classipress, I have assigned my s2member membership levels and when I add months or years to a user´s End of Term I can see the amount of time left for that membership in the admin section. But users don´t see in the user side when their membership expires, only when it was created.

Hope somebody can help me out with this.

Best Regards!

Re: EOT question

PostPosted: September 21st, 2010, 11:41 am
by Elizabeth
Hi,
Sounds like you want to display the date that your user's membership will expire.
add this:
Code: Select all
<?php echo date(DATE_RFC822, get_user_option("s2member_auto_eot_time")); ?>

and it should display.

Re: EOT question

PostPosted: November 29th, 2010, 6:34 am
by pericard
Hi,
Thanks for your code.
How could i display a date like : dd/mm/yyyy ?
Thanks for your help

Re: EOT question

PostPosted: December 7th, 2010, 9:02 am
by pericard
Hi, i use your code
Code: Select all
<?php echo date(DATE_RFC822, get_user_option("s2member_auto_eot_time")); ?>
but it display something like : <strong>Sat, 03 Dec 11 00:00:00 +0000</strong>

I'd like to have something better like <strong> 03/12/2011</strong>

Could you help please, if you any idea

Thand a lot in advance

Cedric

Re: EOT question

PostPosted: April 24th, 2011, 3:28 pm
by sixagency
@Pericard, did you find a solution to this?

Re: EOT question

PostPosted: April 24th, 2011, 3:40 pm
by Cristián Lávaque

Re: EOT question

PostPosted: April 24th, 2011, 3:50 pm
by sixagency
Thank you!

Re: EOT question

PostPosted: April 24th, 2011, 4:05 pm
by Cristián Lávaque
;)