Page 1 of 2

specific posts

PostPosted: July 4th, 2011, 1:36 pm
by hapke
I'm back! ;)
I do not like to create any membership levels. I want to grant access to specific posts without any registration.
So I configured the restriciton options for post (e. g. 123) and generated a paypal button code for an example post. But where have I to put this button on? The specific post (123) is still visible, why?
A user must see the title of the post and the teaser in order to decide whether he wants to buy access or not.
1) Can you please help me: Where must I include the paypal button? The video says "anywhere".
2) Why is the specific post not protected?
3) There is an error after paying, see attachment.
BUT: I have configured all paypal options again, they are ok.
s2m.jpg
s2m.jpg (17.36 KiB) Viewed 251 times

Re: specific posts

PostPosted: July 4th, 2011, 1:41 pm
by Cristián Lávaque
Welcome back. :)

1) You can use the shortcode in any post or page of your blog where you want to sell the Specific Post/Page.
2) Try this video and see if it helps http://www.s2member.com/content-restric ... ble-video/
3) Could you show me your s2Member log entries for this x'ing out any private info, please? /wp-content/plugins/s2member-logs/

Re: specific posts

PostPosted: July 5th, 2011, 5:05 am
by hapke
Thank you!
1) Yes, I know. I have not configured an options page, no levels etc. because I only use a specific post protection by entering the ID of the post inside the restriciton options. I followed the video instructions. Must I do anything else?
2)Not really. Everthing goes wrong in my mind (?)
3) This folder is empty. Hmm, what to do?

Re: specific posts

PostPosted: July 5th, 2011, 10:56 am
by Cristián Lávaque
2) Hmm... Could you make sure the post you restricted with Specific Post/Page, is not also restricted with a level? Could you take a screenshot of the Restriction Options page with all the panels expanded? WP Admin -> s2Member -> Restriction Options

3) You either haven't made a sale or haven't enabled logging. WP Admin -> s2Member -> PayPal Options -> PayPal Account Detaisl -> Enable Logging Routines

Re: specific posts

PostPosted: July 5th, 2011, 1:21 pm
by hapke
[quote="Cristián Lávaque"]2) Hmm... Could you make sure the post you restricted with Specific Post/Page, is not also restricted with a level? Could you take a screenshot of the Restriction Options page with all the panels expanded? WP Admin -> s2Member -> Restriction Options

2) After installing I have configured the restriciton options and email notifications and paypal. Nothing else. All other things I did not touch. Really ;)

Here are some screens:https://sites.google.com/site/s2memberplugin/

Here are the URIs from the protected posts:
201: http://www.anglos.de/email-stand-alone/
350: http://www.anglos.de/social-media-release/
687: http://www.anglos.de/genus-kurzwoerter/
729: http://www.anglos.de/social-sharing-button/
I have created a category "specific" like the example in the video. No categories are protected as you can see in the screenshots.
button.png
button.png (9.4 KiB) Viewed 234 times

3) You either haven't made a sale or haven't enabled logging.
Done, now enabled.

Now I can send you the 3 logfiles. Please send me you email address for this. I do not know what private things I have to delete.

Something very strange happened:
a)When I put the button shortcode or form code into the sidebar widget (text widget)in both cases feedburner opens instead of PayPal.
b) When I put the code into a post (e.g. http://www.anglos.de/mit-vielen-worten-nichts-sagen/) PayPal opens, I can pay. But there is not return,the same error occurs as I already sent you.
Best regards, Ramona

Re: specific posts

PostPosted: July 5th, 2011, 9:24 pm
by Cristián Lávaque
Ramona, you can use this private form to send the logs. http://s2member.com/contact/ :)

Re: specific posts

PostPosted: July 6th, 2011, 4:53 am
by hapke
A little feedback:
hapke wrote:Something very strange happened:
a)When I put the button shortcode or form code into the sidebar widget (text widget)in both cases feedburner opens instead of PayPal.

Solved: Feedburner form was missing end-tag </form>.

Now I have placed the full code into the sidebar. Shortcode does not work in the sidebar (within a text widget), doesn't it? The button does not look nice because of br-tags and p-tags. Deletion does not help within the widget.

Regards, Ramona

Re: specific posts

PostPosted: July 6th, 2011, 5:27 pm
by Cristián Lávaque
hapke wrote:Shortcode does not work in the sidebar (within a text widget), doesn't it?


I just tried a shortcode in a Text widget and it worked fine.

Re: specific posts

PostPosted: July 7th, 2011, 2:41 am
by hapke
Have you got the logfiles? Specific Post/Page restriction still does not work. Have you any idea?

Re: specific posts

PostPosted: July 7th, 2011, 2:57 am
by hapke
Cristián Lávaque wrote:I just tried a shortcode in a Text widget and it worked fine.

I get an error:
"We were unable to decrypt the certificate id." You can try it on www.anglos.de.

Re: specific posts

PostPosted: July 7th, 2011, 3:30 am
by Cristián Lávaque
Got the logs, thanks!

I'll ask Jason about this and wait for this comments.

About the error you mention, I don't see it in the page. Could you show me a screenshot, please?

Re: specific posts

PostPosted: July 7th, 2011, 3:41 am
by hapke
Because of an RSS error I deleted the button for some minutes, now it's online again.

Re: specific posts

PostPosted: July 7th, 2011, 3:49 am
by Cristián Lávaque
I see it now. Do you get that error with the very same code if used in a post/page?

Could you turn off button encryption and try your buttons again? WP Admin -> s2Member -> PayPal Options -> PayPal Account Detaisl -> Enable Button Encryption

If you need encryption and it doesn't work in the widget, you could generate a button over at PayPal following these instructions viewtopic.php?f=36&t=309#p1333

Re: specific posts

PostPosted: July 7th, 2011, 4:27 am
by hapke
Cristián Lávaque wrote:I see it now. Do you get that error with the very same code if used in a post/page?

No, within a post there is no error.
Now it works in the widget without encryption.

The return still shows an error as mentioned above (wrong PayPal options configuration). Maybe it has sth. to do with the restriciton? Waiting for your replay, thank you for your help.

Re: specific posts

PostPosted: July 7th, 2011, 4:47 am
by hapke
In addition: Force WordPress® to use your Labels? is NO, your levels gold, silver ... are inserted by default but not configured by myself because I do not use any.

Re: specific posts

PostPosted: July 8th, 2011, 3:58 pm
by Jason Caldwell
Thanks for bringing this to my attention.
1) Yes, I know. I have not configured an options page, no levels etc. because I only use a specific post protection by entering the ID of the post inside the restriciton options. I followed the video instructions. Must I do anything else?
Did you configure s2Member with a Membership Options Page yet? It's fine if you don't intend to use Membership Level Access, but s2Member will NOT apply your Restriction Options until a Membership Options Page has been configured.

I too looked at your log files.
Since the IPN log indicates success, but your RTN log indicates failure, that suggests to me that your Auto-Return/PDT integration is invalid. Please take a look at the instructions again inside your Dashboard, under: s2Member -> PayPal Options -> Auto-Return/PDT Integration. Be sure that your PayPal account has Auto-Return (on) and PDT/ Payment Data Transfer enabled.

I would also take a look at this article, just in case it's a server issue:
viewtopic.php?f=36&t=2636

Re: specific posts

PostPosted: July 9th, 2011, 1:56 am
by hapke
Jason Caldwell wrote:Thanks for bringing this to my attention.
Did you configure s2Member with a Membership Options Page yet? It's fine if you don't intend to use Membership Level Access, but s2Member will NOT apply your Restriction Options until a Membership Options Page has been configured.
Since the IPN log indicates success, but your RTN log indicates failure, that suggests to me that your Auto-Return/PDT integration is invalid. under: s2Member -> PayPal Options -> Auto-Return/PDT Integration[/b][/i]. Be sure that your PayPal account has Auto-Return (on) and PDT/ Payment Data Transfer enabled.

Thank you, it was very helpful. PDT is enabled, but i did not configure it within s2member.
I haven't set an options page yet, now protection seems to work.
But there is a problem with the return URL.: http://www.anglos.de/?s2member_paypal_return=1
Within PayPal I have another one because I use 1 return page (URL) for 4 domains!
My return page says: Click the domain you came from (here are 4 buttons of my domains). If I change the URL users from other domains go to anglos.de. Within PayPal it is not allowed to have more than 1 professional account.
Have you any suggestion for me?

Re: specific posts

PostPosted: July 9th, 2011, 10:28 pm
by Cristián Lávaque
Maybe this helps viewtopic.php?f=36&t=2905

Re: specific posts

PostPosted: July 11th, 2011, 9:16 am
by hapke
It is quite complicated. But my membership site seems to work with your url. See http://www.anglos.de/access-specific/. This is the membership options page.

One thing I like to mention: Is it possible to integrate an "agree to the terms ..." button here? It is required in Germany and some other European countries.

Re: specific posts

PostPosted: July 11th, 2011, 5:19 pm
by Jason Caldwell
hapke wrote:One thing I like to mention: Is it possible to integrate an "agree to the terms ..." button here? It is required in Germany and some other European countries.

Yes, an "I agree" check box can be created with s2Member Custom Registration Fields. You can create a checkbox that is "required", and in the description for the check box field that you configure with s2Member, you can use HTML there if you like ( i.e. spawn a popup window with your terms/conds ). Take a look in your Dashboard, under: s2Member -> General Options -> Custom Registration Fields.

Re: specific posts

PostPosted: July 12th, 2011, 12:20 am
by hapke
I don't use any registration for restricted posts/pages (no membership at all). So I need this field near to the the PayPal button. How can I do this?

Re: specific posts

PostPosted: July 15th, 2011, 11:27 am
by Jason Caldwell
Ah. I see what you're trying to do now.
Well, since they are not becoming a User/Member, it's not possible to associate Custom Fields because there is no way to associate that information with someone that has no account ( at least, not yet, not in the current release of s2Member v110710 ). However, I've seen some site owners get creative in this area, by using a custom template for their checkout form, which is made possible by s2Member Pro.

Is it possible to modify the PayPal® and/or Authorize.Net® Pro Form templates?
Usually not necessary. But yes, if you really need to. Please check your /s2member-pro/includes/templates/forms/ directory. You can take the default templates, and place some ( or all of them ) into your own WordPress® theme directory. s2Member Pro will automatically find your custom templates there. By placing custom templates into your theme directory, you can be sure they won't get overwritten in a future upgrade. Either that, or you can just use the default templates like they are, and customize them with your own CSS rules inside the Stylesheet for your WordPress® theme ( i.e. style.css ). If you're using a PriMo Theme ( for instance, the s2Clean Theme ), check your Theme Options Panel, under: Custom CSS / Style Sheet.
In short, you could make a copy of the default checkout form template, place it into your theme directory, and add the custom field to the HTML code. It is also fine to use PHP code in the custom template file if you need a way to process the extra information that you're collecting.

Re: specific posts

PostPosted: July 25th, 2011, 12:58 pm
by hapke
Jason Caldwell wrote:Ah. I see what you're trying to do now.
However, I've seen some site owners get creative in this area, by using a custom template for their checkout form, which is made possible by s2Member Pro.

I do not use a membership, only specific posts restriction.
Here is a screenshot of eStore. This is the way I'd like it ;) MAYBE some other users will need it too so that you can try to implement it later? Or can you do some custom coding? I know there are so many wishes of your customers :o

Re: specific posts

PostPosted: July 27th, 2011, 3:41 pm
by Jason Caldwell
Thanks for the follow-up.
I'll see what we can do in this regard. Many people have requested a simpler way to integrate an "I agree" box, so you're not alone :-). I'll also see what we can do to make this possible with Specific Post/Page Access.

Re: specific posts

PostPosted: July 28th, 2011, 2:49 am
by hapke
Fine, thank you in advance.