Page 1 of 1
		
			
				Applying a time limit to content
				
Posted: 
September 27th, 2011, 3:49 pmby David Wilshaw
				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
			 
			
		
			
				Re: Applying a time limit to content
				
Posted: 
September 29th, 2011, 1:51 amby Cristián Lávaque
				Hi David.
What kind of restriction are you using? Level, custom capability or specific post/page?
			 
			
		
			
				Re: Applying a time limit to content
				
Posted: 
September 29th, 2011, 2:02 amby David Wilshaw
				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
			 
			
		
			
				Re: Applying a time limit to content
				
Posted: 
October 1st, 2011, 3:40 amby Cristián Lávaque
				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.