Cristián Lávaque
My Latest Replies (From Various Topics)
| Author | Replies |
|---|---|
| Author | Replies |
| Posted: Friday Jul 13th, 2012 at 6:56 am #19153 | |
|
|
|
|
I just noticed that there’s a WP role named “Author”. I’d make a note of the capabilities it has and then add them to the s2Member Level role you’re trying to have publish posts. I hope that helps. :) |
|
| Posted: Friday Jul 13th, 2012 at 6:51 am #19150 | |
|
|
|
|
Thanks for the kudos, Scott! Glad you’re liking s2Member so much. I’ll keep your request in mind when we work on adding this to s2Member. :) |
|
| Posted: Friday Jul 13th, 2012 at 6:31 am #19149 | |
|
|
|
|
I don’t know… Did you ask in the JW Player forums if they know why this may happen? I’m assuming your video file is in an S3 bucket protected by s2Member. Did you try it with an unprotected S3 bucket to see if the same happens? Could you post a link to the page with the video? Or send it privately: s2Member® » Private Contact Form Thanks. |
|
| Posted: Friday Jul 13th, 2012 at 6:28 am #19148 | |
|
|
|
|
I’m not familiar with the WP capabilities. :/ I’d ask in the WP forums what capability is needed or what you need to do for the user to be listed as an author. |
|
| Posted: Friday Jul 13th, 2012 at 6:12 am #19145 | |
|
|
|
|
I got your email. Logged in to your WP but couldn’t see the admin side, got a white page with a 500 error. I found some pages in your site that’d give me a “not found” error. They seem to have in common that they all seem to be children of another one according to the URL. If the slug is right /page it works, but if it’s /members/page or some other “directory” in the URL, then it gives the problem. I could login to the FTP but couldn’t tell much from that. I see you serve everything over HTTPS, don’t know if that causes a problem or not. I’d first try to get access to the admin area to then check the slugs for those pages that have the problem. Did you update other plugins when you started having the problem? I’d try removing those temporarily as a test, you can do it via FTP, and see if you can then access the admin side. |
|
| Posted: Friday Jul 13th, 2012 at 5:41 am #19142 | |
|
|
|
|
Great! :) |
|
| Posted: Friday Jul 13th, 2012 at 5:40 am #19141 | |
|
|
|
|
Yes, you should be able to. But if one of the things you used in your customization causes a JavaSript problem, the pro-form may not work correctly. So one of the things you can test is deactivating other plugins one by one and refreshing the pro-form page after each to see if the problem is gone. Once you spot the plugin causing trouble, if there is one, you’d try to fix or replace it to prevent the problem it caused. |
|
| Posted: Friday Jul 13th, 2012 at 5:35 am #19140 | |
|
|
|
|
Great. :) |
|
| Posted: Friday Jul 13th, 2012 at 5:34 am #19138 | |
|
|
|
|
I’ll ask, will let you know when I get a reply. Are you using live transactions when you test? It’s better to do live 1 cent transactions than using the PayPal Sandbox, which many times has its own bugs, which are pointless to resolve if they won’t be present in the actual service. I don’t know if another plugin may be causing a conflict. Some weird problems were found to come from this, so it may be worth testing for it. Deactivate other plugins one by one and test after each to see if the problem is gone, please. If you’re okay with it, could you send the login info to your WP and FTP to take a look? s2Member® » Private Contact Form |
|
| Posted: Friday Jul 13th, 2012 at 5:29 am #19137 | |
|
|
|
Awesome! So the item number in the custom field is now added when starting the second subscription, not replacing the previous one? And your demotion only removes the subscription cancelled, not both? Great. :) Here are some details about how EOTs work (it says PayPal, but the EOT behavior settings are the same for all gateways): [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior[/hilite]
Right, another plugin or theme applying its own redirection on login would prevent s2Member’s.
You’re correct. It completely slipped my mind that subscriptions work with levels, not ccaps yet… That said, you’d still have to give the user an s2Member Level role to use the ccaps, and you’re adding the subscriptions to an s2Member Level, so you may still use them.
Maybe you can… I once tested a CB subscription with their test card and after that, I kept receiving “payment” notification emails for some months. You could try creating a test daily subscription, if CB allows such a short term, and see if you can do the cancellation in some way. You could also ask CB support if they have a way to test cancellations without waiting for the real thing. |
|
| Posted: Thursday Jul 12th, 2012 at 11:25 pm #19107 | |
|
|
|
|
Cool. :) |
|
| Posted: Thursday Jul 12th, 2012 at 8:38 pm #19095 | |
|
|
|
Yes, you can do that. That’s actually how I had it before the last revision, but I had to change it to that so that the Login OTO redirections worked.
The second checkout will happen with the user already registered and logged in, so the hack won’t apply there. To send the person to a specific page after checkout, you’d use the URL for the Thank-you page for that product in ClickBank. [hilite path]Dashboard -› s2Member® -› ClickBank® Options -› Thank-You Page Integration[/hilite]
I don’t know how to disable that. You’ll need to ask the BP guys that question. :/
Thanks for the kudos! I’m glad I can help you, although many parts weren’t something I was familiar with. I know how it’s been for me when I needed to customize something and got help or not.
Yeah, I know what you mean. I started to learn PHP about 11 years ago myself. Was part of the SMF open source project for years. Then I did some real estate business, and studied internet marketing some years, and when I wanted to create a membership site and studied the options, found s2Member and ended up joining the project. :) |
|
| Posted: Thursday Jul 12th, 2012 at 6:43 pm #19088 | |
|
|
|
If your PDT token is correct, then I’m not sure why the 4020. Maybe it’s a mod_security problem? I’m not familiar with it, but would be worth checking it to make sure it’s not part of this trouble you’re having. Knowledge Base » Mod Security, Random 503/403 Errors
The way I understnad it, you’d put the central IPN script in the URLs that the PayPal subscriptions point to for IPN, then the script would forward it to s2Member in a way that they’ll work with s2Member. |
|
| Posted: Thursday Jul 12th, 2012 at 6:13 pm #19084 | |
|
|
|
I know that happens when there’s a problem with allow_url_fopen or cURL, but those seem to be fine in your installation or the server check tool would have warned you about them. I researched the error some more and found mentioned in one place that it may be caused by bad PDT Identity Token. Could you check that you have entered the PDT Identity Token correctly? [hilite path]Dashboard -› s2Member® -› PayPal® Options -› PayPal® PDT Integration[/hilite]
Ah okay, I didn’t know you had transactions from a previous plugin there.
I see. Well, in the central IPN script you can add the domain name to the custom value. Then s2Member would work as usual. This would be better than hacking s2Member in all the places where it’d check the custom value. Take a look at the thread I pointed you to earlier, these posts in particular: I hope that helps. :) |
|
| Posted: Thursday Jul 12th, 2012 at 5:40 pm #19080 | |
|
|
|
Sorry, since you were talking about the piped values, I thought you knew about them, so I didn’t think of mentioning it earlier. The whole string for the custom attribute gets saved in usermeta, including the piped values. Look here: [hilite path]Dashboard -› s2Member® -› API / Scripting -› PHP/API Constants -> S2MEMBER_CURRENT_USER_CUSTOM[/hilite]
But that constant may not be available right when the user returns from ClickBank. It most probably will be available in the s2 Vars, though. [hilite path]Dashboard -› s2Member® -› ClickBank® Buttons -› s2 Vars (Explained)[/hilite] Now, I haven’t checked if the custom attribute is sent by CB with each notification afterwards, like with the recurring payments or cancellations/refunds, you’ll need to test this. If it doesn’t, you’ll need to save in usermeta the CB transaction/subscr ID, whatever CB identifies the subscription with in its IPNs, and include the item’s number. Knowing the item number you’ll be able to remove that level/ccap when the user cancels/refunds.
This video explains them quite well: You will still want to read the documentation for them here: That said, now that I saw your upsell path, I realize these are not subscriptions that you’d sell independently. One would be an upsell to the first one, so Levels will work fine for access, since it’s incremental too. Unless you plan to sell Level 2 without requiring Level 1, then you’ll need to separate them with ccaps.
The funnel I’d try would be: Level 1 -> CB checkout -> Registration -> Auto login -> Upsell Level 2 -> CB checkout For the auto-login after registration I have a hack you can try: wp-content/mu-plugins/s2hacks.php Then you can set the first login to redirect the person to your upsell sales page. [hilite path]Dashboard -› s2Member® -› General Options -› One-Time Offers (Upon Login)[/hilite]
Right, it wasn’t. It started over 2 years ago as a simple plugin to restrict certain things and sell access to them through PayPal, but Jason is not a marketer. Since it was good, it became very popular and with feature requests, Jason kept expanding what it does, but always limited by what the original framework permits. Year and a half ago I started working with him and I do have a marketing background, and being in charge of support I’ve dealt with what users have trouble with. So about a year ago we started talking about a rewrite of s2Member, and about 6 months ago he started working on it, the last 4 months almost exclusively on it. The new version takes care of most of the known limitations s2Member has, permits to do what most users have requested, and opens up some possibilities that no one has even asked for yet. It won’t be perfect and we’ll still be improving it, but it’ll be a quantum leap from what it now is, and it already is quite decent even with it’s current limitations. |
|
| Posted: Thursday Jul 12th, 2012 at 4:27 pm #19073 | |
|
|
|
Glad to help. :) Did the single line one work?
That’s PHP code, so you’ll need a PHP execution plugin for it to work in your WP post/page. http://wordpress.org/extend/plugins/exec-php/ Then put the code where you want the thing to show, just as you would a WP shortcode. |
|
| Posted: Thursday Jul 12th, 2012 at 8:21 am #19032 | |
|
|
|
|
Ah, right, sorry I forgot to check that. Try this to only show the line if there’s an EOT time: [hilite pre_code]Membership expires on ' . date('M-d-Y', $s2member_auto_eot_time) . ' '; ?> To have it in a single line, I wrote it in a way I haven’t used before, so if it doesn’t work try this: [hilite pre_code]Membership expires on ' . date('M-d-Y', $s2member_auto_eot_time) . ' '; I hope it helps. :) |
|
| Posted: Thursday Jul 12th, 2012 at 8:10 am #19031 | |
|
|
|
|
Hi Lee. No, the coupon codes are a feature of the pro-forms. ccBill doesn’t have pro-forms, so it doesn’t get the coupons functionality. You could create a coupons feature for the buttons, but it’d require some custom code. Adjusting the shortcodes with variables is part of what you’d need to do. http://www.primothemes.com/forums/viewtopic.php?f=36&t=1604 I hope that helps. :) |
|
| Posted: Thursday Jul 12th, 2012 at 8:07 am #19030 | |
|
|
|
|
You can change the description to what you like, just try not to use fancy characters to avoid potential problems. :) |
|
| Posted: Thursday Jul 12th, 2012 at 7:52 am #19028 | |
|
|
|
|
Hi Gaper. Could you send me the URL to some of the pages with that problem? Login info would also be good so I take a look at what you have. s2Member® » Private Contact Form I can’t say for sure until I check it, but I’m guessing you may have a wrong [hilite mono]RewriteBase[/hilite] in your .htaccess file, although the couple sites I’ve seen have that problem in the past went completely blank. |
|
| Posted: Thursday Jul 12th, 2012 at 7:49 am #19027 | |
|
|
|
What did you change the condition to, something like just [hilite code]if (true)[/hilite]? I don’t see how that affects the item_number, but I haven’t tried it…
Are these new purchases you’re testing or old subscriptions? What is the [hilite mono]item_number[/hilite] in the transactions that fail?
So you tried the central IPN script already? http://www.s2member.com/forums/topic/error-4020-on-paypal-pdt/#post-18609
No idea about that. Do you have phpMyAdmin? It has an export tool. |
|
| Posted: Thursday Jul 12th, 2012 at 7:34 am #19026 | |
|
|
|
I’m not familiar with domain mapping or that plugin. Are those settings the ones responsible for the redirection when I tried to register? You need to somehow prevent the redirection from happening so that registration is done in the blog that http://innerpeaceinourlife.com/wp-login.php?action=register which is where s2Member would expect it and give the user the Level he paid for. See if you can adjust your domain mapping plugin settings to have that happen and test your checkout again. I think it’ll work properly then. Let me know how it goes, please. :) |
|
| Posted: Thursday Jul 12th, 2012 at 7:23 am #19025 | |
|
|
|
|
Hi Jonathon. Yeah, it’d have complications, but it’s still doable. Here’s a thread that goes over this problem and a solution you could try: http://www.s2member.com/forums/topic/help-with-paypal-central-ipn-php-and-ipn/ I hope it helps! |
|
| Posted: Thursday Jul 12th, 2012 at 7:14 am #19024 | |
|
|
|
|
Masanori-san, if you edit your roles, you may want to read this article too: Knowledge Base » Locking s2Member Roles/Capabilities I hope it helps. :) |
|
| Posted: Thursday Jul 12th, 2012 at 7:12 am #19023 | |
|
|
|
The PayPal button doesn’t use JavaScript and the PayPal pro-form does. Maybe something is causing a JS conflict, causing your pro-form to not work properly because of it.
You can use the contact form: s2Member® » Private Contact Form |
|








Pre-Sale FAQs
Video Tutorials
Community Forum
Knowledge Base
News/Updates
s2 Codex / Docs
GPL v2 License
Contact A Human
About Us
Our Customers
Support Policy
Privacy Policy
