Page 1 of 1

Protecting content in a post

PostPosted: December 8th, 2011, 6:07 am
by weseoin
My blog posts are visible to any reader, but I've protected the video in each post by using this shortcode:

[s2If current_user_can(access_s2member_level1)] Protected Video [/s2If]

I plan to have no free membership, and just 1 level of paid membership, but the paid membership will have 7 days free trial after which the payment begins. This means when anyone subscribes using PayPal, she will pay nothing for 7 days after which PayPal automatically bills her the membership fee.

1
Now, my question is if I want to restrict a few videos during the 7-day trial period, how do I implement it within the shortcode above..! :?

2
If (1) is not possible, then is it possible to disable just the download of a video during the trial period even though the members can watch it on my site?

Thanks in advance.

Re: Protecting content in a post

PostPosted: December 10th, 2011, 2:35 am
by Cristián Lávaque
You can use a conditional to drip those videos after the 7 days. The documentation here should help you with that: WP Admin -> s2Member -> API / Scripting -> s2Member Content Dripping

Re: Protecting content in a post

PostPosted: December 11th, 2011, 3:57 am
by weseoin
Thanks Cristián.

I read the documents and feel it can be done. May I request another help..!

Is there a place where the different parameters for PayPal button code is explained? This is 'cause PayPal button generator isn't working. But I guess if the parameters are known then it will not be difficult to make the button code manually.

Thanks again.

Re: Protecting content in a post

PostPosted: December 11th, 2011, 8:17 am
by Eduan
Well, you can go under WP Admin -> s2Member -> PayPal® Buttons -> Shortcode Attributes ( Explained ), or if you're using pro-forms then under WP Admin -> s2Member -> PayPal® Pro Forms -> Shortcode Attributes ( Explained ).

I believe you can find every thing a button shortcode can have.

Hope this helps. :)

Re: Protecting content in a post

PostPosted: December 12th, 2011, 1:06 am
by weseoin
Thanks Eduan. :)

Re: Protecting content in a post

PostPosted: December 12th, 2011, 3:24 am
by weseoin
For the benefit of the s2m users, here are 2 PayPal URLs for creating button code for subscriptions:

https://www.paypalobjects.com/en_US/ebo ... /html.html
https://www.paypal.com/cgi-bin/webscr?c ... ro-outside

Thank you.

Re: Protecting content in a post

PostPosted: December 14th, 2011, 3:48 am
by Cristián Lávaque
If you create the buttons over at PayPal, make sure to follow Jason's instructions here so the buttons are integrated with s2Member viewtopic.php?f=36&t=309#p1333 ;)

Re: Protecting content in a post

PostPosted: December 17th, 2011, 8:11 am
by weseoin
Thanks Cristián :)