Cristián Lávaque
My Latest Replies (From Various Topics)
| Author | Replies |
|---|---|
| Author | Replies |
| Posted: Friday Oct 5th, 2012 at 7:47 am #27568 | |
|
|
|
|
Great. :) When you switched the theme and you say it worked, what were you testing? The generator in admin or the shortcode in a page? The JavaScript problems are usually caused by the theme/plugin not adding its JS to WP correctly. It needs to be done with [hilite mono]wp_enqueue_script[/hilite]. http://codex.wordpress.org/Function_Reference/wp_enqueue_script If you use the HTML code for the button, then you need to have a PHP execution plugin, because there’s a bit of PHP there. Or you can replace those PHP bits with the shortcode equivalents. [hilite path]Dashboard -› s2Member® -› API / Scripting -› PHP/API Constants[/hilite] |
|
| Posted: Friday Oct 5th, 2012 at 7:43 am #27567 | |
|
|
|
|
Excellent. :) |
|
| Posted: Friday Oct 5th, 2012 at 7:42 am #27566 | |
|
|
|
|
I’d take it off and use the Level for that content’s restriction, instead of the ccap. If you use the ccap, then you won’t be able to remove that access without getting it mixed up with the other ccap.
You’re welcome! I’m glad I could help you. :) |
|
| Posted: Friday Oct 5th, 2012 at 7:39 am #27565 | |
|
|
|
|
Thanks, I got your email. I tried to load the page with the pro-form, but first got a security warning about the SSL certificate and then, after adding an exception, got the error “The page isn’t redirecting properly”. Anyway, I went to the editor for those pages with the pro-forms and looked at the shortcode. The standard memberships are for Level 1 and the Premium ones for Level 2. I looked at your custom profile fields and you set them for Levels 2, 3 or 4. In that case, the pro-forms that sell Level 1 would not show the fields, but the ones for Level 2 should. I couldn’t verify this in your site, though, because I wasn’t able to load the pages. Could you fix the SSL problem and let me know so I take a new look at this? Thanks! :) |
|
| Posted: Friday Oct 5th, 2012 at 7:26 am #27560 | |
|
|
|
|
Yep, that sounds right. The only trouble I can see is if someone starts the Level 1 subscription, then buys the sockerfri ccap, and then ends the Level 1 subscription: he’ll be demoted to Level 0 and the ccap removed. You’ll need to use a hack to avoid ccaps being removed on demotion and not have that problem. Move the file s2member\includes\classes\auto-eots.inc.php to the /wp-content/mu-plugins/ folder and comment out this: [hilite pre_code]foreach ($user->allcaps as $cap => $cap_enabled) if (preg_match ("/^access_s2member_ccap_/", $cap)) $user->remove_cap ($ccap = $cap); [/hilite] I hope it helps. :) |
|
| Posted: Friday Oct 5th, 2012 at 7:16 am #27559 | |
|
|
|
|
I see, that’s way off then. :P I got your email. Just logged in to the admin area and generated a link to expire in a few hours. I’ll try it again later today to see if it still lets me in or not. I’ll post an update then. |
|
| Posted: Friday Oct 5th, 2012 at 6:14 am #27556 | |
|
|
|
|
If it’s paid monthly, then you have to sell a Level, the ccap can’t be sold with a subscription, it’s the level that can and you add the ccap to that sale. Remember, too, that when the EOT demotion happens, the level is dropped to 0 and all ccaps are removed, even the ones sold without expiration. So it can get complicated to mix things like these with the current s2Member.
|
|
| Posted: Friday Oct 5th, 2012 at 5:59 am #27554 | |
|
|
|
Then sell them separately. I thought earlier you were asking if you had to sell them separately, so it sounded like you wanted to sell them together… Sorry for misunderstanding. |
|
| Posted: Friday Oct 5th, 2012 at 5:58 am #27553 | |
|
|
|
|
By the way, in case there’s a misunderstanding with “independent” in Independent Custom Capabilities, that’s because they aren’t being added to a role, but the user, they’re independent of the WP role the user has. So it’s not like they’re independent so only one can be sold at a time, you can sell several at the same time too, just wanted to make that clear. |
|
| Posted: Friday Oct 5th, 2012 at 5:54 am #27551 | |
|
|
|
|
Oh, no, you can sell several ccaps at the same time, just separate them with commas: [hilite mono]ccap1,ccap2[/hilite]. :) |
|
| Posted: Friday Oct 5th, 2012 at 5:42 am #27549 | |
|
|
|
|
Hi Novo. Do you mean the New User email sent on registration, which includes the username and password? [hilite path]Dashboard -› s2Member® -› General Options -› Email Configuration -> New User[/hilite] |
|
| Posted: Friday Oct 5th, 2012 at 5:39 am #27548 | |
|
|
|
|
No, you can’t use that button/pro-form if the user isn’t logged in. Not because they’re buy-now, but because they’re independent custom capabilities, which can only be added to an account. If you want to sell a ccap to someone not logged in, you have to use the Level button/pro-form, with the ccap included. |
|
| Posted: Thursday Oct 4th, 2012 at 9:44 pm #27516 | |
|
|
|
|
Yes, it works, but in that case you have to set it yourself, because there won’t be a ccBill notification to make it happen. |
|
| Posted: Thursday Oct 4th, 2012 at 6:22 pm #27497 | |
|
|
|
|
Hi Mark. That is all handled by WordPress, not s2Member. I don’t know if there’s a plugin that alters the way the Lost Password tool works. When the user enters his email address in the Lost Password form, WordPress will generate a new password and email it to him. The user is not returned to the Lost Password page, he has to find the new password in his email and go to the Login form instead. I hope that helps. :) |
|
| Posted: Thursday Oct 4th, 2012 at 6:19 pm #27496 | |
|
|
|
|
Greg, good news! Another user shared a solution for his AWeber problem similar to yours. We weren’t aware of it, that’s why I had not suggested it, but now I updated the knowledgebase article and am letting you know about it to try it. http://www.s2member.com/forums/topic/aweber-integration-problem-resolved/ I hope that does the trick! :) |
|
| Posted: Thursday Oct 4th, 2012 at 6:08 pm #27493 | |
|
|
|
|
Shawn, that’s great! Thanks so much for the tip! I’ll be updating the article in a moment, and notifying other users about this too. Very appreciated that you shared that after finding it! :) |
|
| Posted: Thursday Oct 4th, 2012 at 6:05 pm #27492 | |
|
|
|
|
Ah, great! Thanks for the update. I’m very glad you found the cause and were able to fix it. :) |
|
| Posted: Thursday Oct 4th, 2012 at 5:59 pm #27488 | |
|
|
|
|
Hi William. The API has a [hilite mono]notification[/hilite] parameter that’s for that. [hilite pre_code]"notification" => "1", /* Optional. A non-zero value tells s2Member to email the new User/Member their Username/Password. */ /* The "notification" parameter also tells s2Member to notify the site Administrator about this new account. */ [/hilite] If you have it set to [hilite mono]1[/hilite] and you still don’t get the email, then please read this article: Knowledge Base » Troubleshooting Email Delivery Problems I hope it helps. :) |
|
| Posted: Thursday Oct 4th, 2012 at 5:55 pm #27487 | |
|
|
|
|
Okay. Could you send me your site’s info? I’d like to take a look at this. s2Member® » Private Contact Form Thanks. :) |
|
| Posted: Thursday Oct 4th, 2012 at 5:54 pm #27486 | |
|
|
|
|
Cool. :) |
|
| Posted: Thursday Oct 4th, 2012 at 5:53 pm #27484 | |
|
|
|
|
Hi Mark.
The generator works normally, and so does the shortcode. If you’re having trouble, then it’s something specific to your installation. I’ll help you find what the problem may be. First we’ll check for a JavaScript conflict, since this is what was found to affect the generator in the past. To test the theme, change it temporarily to the default TwentyEleven and try if the problem continues. To test other plugins, deactivate them one by one, testing after each if the problem continues. Once you found the culprit, it can be fixed or replaced. Now, if you got as far as PayPal, then should I assume that you could use the generator, but the code didn’t work? In that case, you may have a parsing problem or a content filtering problem, also most probably caused by the theme or a plugin. Test as above, but checking the page where the button is instead of the generator.
The PayPal created button works for new registrations only, existing accounts can’t be upgraded with it because it lacks the user info s2Member adds to the button in those cases, to relate the order to that account. The s2Member button generator needs to be used so it works properly. Please let me know how it goes with the tests I explained above. :) |
|
| Posted: Thursday Oct 4th, 2012 at 5:46 pm #27482 | |
|
|
|
|
:) |
|
| Posted: Thursday Oct 4th, 2012 at 5:44 pm #27481 | |
|
|
|
|
Okay, the configuration seems okay, except for one thing: the Clerk API is set to read/write in ClickBank, but the s2Member panel says just read. [hilite path]Dashboard -› s2Member® -› ClickBank® Options -› Account Details -> Clerk/API Key (Read Access)[/hilite] I didn’t change it myself, because I don’t know if that account is tied to some other thing you’re using, that’d require that. Could you make that change to read in the Clerk API and do a test transaction? Or let me know if I can change it and I’ll do that to continue the test and look at the logs. Thanks. :) |
|
| Posted: Thursday Oct 4th, 2012 at 5:33 pm #27479 | |
|
|
|
|
Sorry I didn’t get to this yesterday. I’m going to take a look now. :) |
|
| Posted: Thursday Oct 4th, 2012 at 8:06 am #27422 | |
|
|
|
|
Doesn’t need to be a separate page for each user, it can be a single WP page where you use variables to customize the data for each. These may be useful: |
|








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
