PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

EOT question

s2Member Plugin. A Membership plugin for WordPress®.

EOT question

Postby Tuchanoc » September 11th, 2010, 2:17 am

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!
Attachments
Screen shot 2010-09-11 at 2.16.04 AM.png
Screen shot 2010-09-11 at 2.12.53 AM.png
Screen shot 2010-09-11 at 2.12.53 AM.png (60.55 KiB) Viewed 277 times
User avatar
Tuchanoc
Registered User
Registered User
 
Posts: 1
Joined: September 11, 2010

Re: EOT question

Postby Elizabeth » September 21st, 2010, 11:41 am

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.
User avatar
Elizabeth
Moderator
Moderator
 
Posts: 160
Joined: May 12, 2010

Re: EOT question

Postby pericard » November 29th, 2010, 6:34 am

Hi,
Thanks for your code.
How could i display a date like : dd/mm/yyyy ?
Thanks for your help
User avatar
pericard
Registered User
Registered User
 
Posts: 10
Joined: October 22, 2010

Re: EOT question

Postby pericard » December 7th, 2010, 9:02 am

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
User avatar
pericard
Registered User
Registered User
 
Posts: 10
Joined: October 22, 2010

Re: EOT question

Postby sixagency » April 24th, 2011, 3:28 pm

@Pericard, did you find a solution to this?
User avatar
sixagency
Registered User
Registered User
 
Posts: 17
Joined: April 11, 2011

Re: EOT question

Postby Cristián Lávaque » April 24th, 2011, 3:40 pm

Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: EOT question

Postby sixagency » April 24th, 2011, 3:50 pm

Thank you!
User avatar
sixagency
Registered User
Registered User
 
Posts: 17
Joined: April 11, 2011

Re: EOT question

Postby Cristián Lávaque » April 24th, 2011, 4:05 pm

;)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 1 guest

cron