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™

Applying a time limit to content

s2Member Plugin. A Membership plugin for WordPress®.

Applying a time limit to content

Postby David Wilshaw » September 27th, 2011, 3:49 pm

Hi,

Please could anybody let me know how I can set a time limit (in hours) for access to content on a website once someone has signed up with S2member?

Thank you in advance

David
User avatar
David Wilshaw
Registered User
Registered User
 
Posts: 2
Joined: September 27, 2011

Re: Applying a time limit to content

Postby Cristián Lávaque » September 29th, 2011, 1:51 am

Hi David.

What kind of restriction are you using? Level, custom capability or specific post/page?
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: Applying a time limit to content

Postby David Wilshaw » September 29th, 2011, 2:02 am

Hello Cristian,

I am not using any at the moment as I am trying to find out the best way to implement it.

What would you suggest is the best way please?

Thank you
User avatar
David Wilshaw
Registered User
Registered User
 
Posts: 2
Joined: September 27, 2011

Re: Applying a time limit to content

Postby Cristián Lávaque » October 1st, 2011, 3:40 am

Well, if you choose to use the Specific Post/Page restriction, there's the exp (expires) attribute in the shortcode that you set in hours. WP Admin -> s2Member -> PayPal Buttons -> Shortcode Attributes -> exp

With access restrictions for levels, the sooner the EOT (end of term) can be set is a day, if I'm not mistaken. But, you can work with the payment time and use a conditional that checks the time difference in hours. WP Admin -> s2Member -> API / Scripting -> s2Member Content Dripping

Let me know if this helps.
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: Google [Bot] and 3 guests

cron