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™

Location of EOTs

s2Member Plugin. A Membership plugin for WordPress®.

Location of EOTs

Postby MacGyvr » December 19th, 2011, 2:07 am

Where are the Automatic EOTs (and other fields of information) stored? I want to be able to look those up for each member. I can't imagine that would be stored at PayPal.
User avatar
MacGyvr
Registered User
Registered User
 
Posts: 3
Joined: December 19, 2011

Re: Location of EOTs

Postby MacGyvr » December 19th, 2011, 7:33 am

My question seems to have been ignored in a long string that were answered. Can someone just point me to where EOTs are stored?
User avatar
MacGyvr
Registered User
Registered User
 
Posts: 3
Joined: December 19, 2011

Re: Location of EOTs

Postby Raam Dev » December 19th, 2011, 2:46 pm

Hi MacGyvr,

Apologies for the slow reply!

The Automatic EOT is stored in the wp_usermeta table with a meta_key wp_s2member_auto_eot_time. The meta_value for that row will be the date of the Automatic EOT in Unixtime format (e.g., 1324339200).

Keep in mind that a Automatic EOT time will only exist in the database if one has been set for the user. By default, the EOT will only be calculated when an Account Expiration / Termination occurs. If necessary, you can override this by manually setting the EOT on the users profile:

EOT = End Of Term. ( i.e. Account Expiration / Termination. ).

If you leave this empty, s2Member will configure an EOT Time automatically, based on the paid Subscription associated with this account. In other words, if a paid Subscription expires, is cancelled, terminated, refunded, reversed, or charged back to you; s2Member will deal with the EOT automatically.

That being said, if you would rather take control over this, you can. If you type in a date manually, s2Member will obey the Auto-EOT Time that you've given, no matter what. In other words, you can force certain Members to expire automatically, at a time that you specify. s2Member will obey.

Valid formats for Automatic EOT Time:

mm/dd/yyyy
yyyy-mm-dd
+1 year
+2 weeks
+2 months
+10 minutes
next thursday
tomorrow
today

* anything compatible with PHP's strtotime() function.
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: Location of EOTs

Postby MacGyvr » December 19th, 2011, 3:26 pm

Thank you! Exactly what I needed!
User avatar
MacGyvr
Registered User
Registered User
 
Posts: 3
Joined: December 19, 2011

Re: Location of EOTs

Postby Raam Dev » December 19th, 2011, 4:56 pm

You're welcome! Glad to hear that's the info you needed. :)
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 2 guests

cron