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™

PHP Constant for Restricted page Expiration Date

s2Member Plugin. A Membership plugin for WordPress®.

PHP Constant for Restricted page Expiration Date

Postby serotta1958 » October 18th, 2011, 4:07 pm

I see lots of php constants that show the days until your membership expires.
Is there a similar variable to show the days until your access to a specific page/post expires?
User avatar
serotta1958
Registered User
Registered User
 
Posts: 4
Joined: October 12, 2011

Re: PHP Constant for Restricted page Expiration Date

Postby Eduan » October 18th, 2011, 5:31 pm

Try what's on this post and then try to find a way to get the result of this code (or something along those lines).

Hope this helps. :)
P.S. Remember to report back. ;)
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: PHP Constant for Restricted page Expiration Date

Postby serotta1958 » October 19th, 2011, 9:59 am

Thank you but that post still deals with a time schedule based on a user registration.
My issue is a time schedule based on expiring access to a restricted page.
User avatar
serotta1958
Registered User
Registered User
 
Posts: 4
Joined: October 12, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 0 guests

cron