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.

Members Subscription Experation Data

Home Forums Community Forum Members Subscription Experation Data

This topic contains 1 reply, has 2 voices. Last updated by  Raam Dev 4 years, 8 months ago.

Topic Author Topic
Posted: Saturday Apr 14th, 2012 at 2:19 pm #10810

Using Authorize.

Can I create a separate page in the members only area to show the name of their subscription and when it expires?

I have 3 membership subscriptions to the same members only area. 2 are recurring monthly and quarterly and one non recurring that is a 90 day access.

Is this be done with the custom=”yourwebsite.com|cv1|cv2|cv3|etc”, then using a shortcode?

Thank you for your support! ;-)

  • This topic was modified 4 years, 8 months ago by  GaperVille.

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Monday Apr 16th, 2012 at 5:49 pm #10933
Raam Dev
Username: Raam
Staff Member

Hi Gaper,

You’d need to write some PHP code to calculate the expiration date based upon the registration or payment date (you could use the s2Member PHP Constant S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS; see Dashboard -› s2Member® -› API / Scripting -› PHP/API Constants for more info).

You could also use the s2Member Advanced/PHP Conditionals (Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals) to check which Custom Capability and/or Level the user currently has.

Using PHP code inside a WordPress Post/Page requires the use of a plugin such as Exec-PHP Plugin.

Viewing 1 replies (of 1 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.