Cristián Lávaque
My Latest Replies (From Various Topics)
| Author | Replies |
|---|---|
| Author | Replies |
| Posted: Wednesday Oct 3rd, 2012 at 6:16 am #27320 | |
|
|
|
|
Actually, it’s most probably something related to the content parsing, the theme seems to be doing the paragraph filter after the do_shortcode one, causing the output of the button’s HTML to be affected. If you can’t fix the theme, you can try other things too: – Use the TrueEdit plugin to remove the content filters, checking after each if the problem goes away. http://wordpress.org/extend/plugins/trueedit/ – Edit the button’s template and remove all newlines and HTML comments. /s2member/includes/templates/buttons/ – Uset a button created over at PayPal. Knowledge Base » Using PayPal created buttons I hope that helps. :) |
|
| Posted: Tuesday Oct 2nd, 2012 at 11:03 pm #27288 | |
|
|
|
|
I forwarded everything to him. Yeah, I understand. I’m sorry we haven’t found the problem yet. The problem you had with the checkbox was definitely unusual, I don’t know if it has to do with a plugin conflict or what, but Jason will probably try to reproduce that to see if there’s something in s2Member that needs fixing. It’s the first time we had it reported. Without the checkbox, everything seems to be working correctly, even the s2Member part that sends the email to AWeber to add the user. What I don’t understand is why AWeber is not adding the user. Would it be possible that you give us access to the AWeber account for a bit, to take a look there? I’ll reply to your first email so you can reply back to it with that if you want to. |
|
| Posted: Tuesday Oct 2nd, 2012 at 10:58 pm #27287 | |
|
|
|
|
Ah, that’d be here: [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields -> Set "Display Name"[/hilite] :) |
|
| Posted: Tuesday Oct 2nd, 2012 at 6:06 pm #27273 | |
|
|
|
The level button. Since he’s logged in, the purchase will upgrade his account. The modification button is to modify a subscription, which he doesn’t have yet.
If he’s logged in when he loads the page with the button, then the account he’s logged in to will be upgraded. He’d be required to register if he wasn’t logged in before starting the order. So make sure the buttons are only shown to logged in users, restricting at Level 0 the page where they are.
I haven’t used ccBill myself, so I’m not sure if they’ll need to log back in. To control the page they’re returned to, please read this documentation: [hilite path]Dashboard -› s2Member® -› ccBill® Options -› Approval/Denial URLs -> Approval Page Template[/hilite] I hope that helps. :) |
|
| Posted: Tuesday Oct 2nd, 2012 at 5:58 pm #27271 | |
|
|
|
|
:) |
|
| Posted: Tuesday Oct 2nd, 2012 at 5:51 pm #27270 | |
|
|
|
|
No problem. :) |
|
| Posted: Tuesday Oct 2nd, 2012 at 5:45 pm #27269 | |
|
|
|
|
That is so weird. Well, leave the checkbox out for now then. I’m emailing Jason to take a look at this, I don’t know what else try suggest right now. :P |
|
| Posted: Tuesday Oct 2nd, 2012 at 4:42 pm #27263 | |
|
|
|
|
I removed the login info you posted publicly. You need to be careful with that. Using the contact form, please send me the login details for WP, FTP and if you don’t mind, to ClickBank, so I can review your settings in both places, as well as take a look a the logs when I do the test purchase. s2Member® » Private Contact Form Thanks. |
|
| Posted: Tuesday Oct 2nd, 2012 at 4:37 pm #27261 | |
|
|
|
That’s right. redirect_to will override s2Member’s Login Welcome page redirection. This video may help: Video » s2Member (Login Welcome Page Conflicts?) |
|
| Posted: Tuesday Oct 2nd, 2012 at 4:27 pm #27260 | |
|
|
|
|
Hi Sean. Yeah, I see there are paragraph tags, line-break tags where there is an HTML comment in the code, and an HTML entity. Something is affecting the parsing of the shortcode, adding extra filtering that is causing you that problem. I understand no plugins/theme were added or removed, but something must have changed if this wasn’t happening before. Probably a plugin or theme update, if you didn’t install a new one. To find what is doing it, first test the theme changing the to the default one for a moment and refreshing the page with the button to test it. To test the plugins, deactivate them one by one, testing after each too. Or try button encryption, maybe that prevents the problem, since there’ll be less code to affect by the parsing. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Button Encryption[/hilite] I hope that helps. :) |
|
| Posted: Tuesday Oct 2nd, 2012 at 4:19 pm #27257 | |
|
|
|
|
Hi Michael. The pro-form will show the custom profile fields when the user is not logged in, because the pro-form will work as a registration form too. If the user is logged in, then the pro-form won’t show those fields. Could you make sure you’re not logged in and reload the page with the pro-form? I hope it helps. :) |
|
| Posted: Tuesday Oct 2nd, 2012 at 4:17 pm #27255 | |
|
|
|
|
Because the subscription has not ended while it’s still running, so we don’t know the time. We don’t know if the user will keep paying for 10 more months or if he’ll stop tomorrow. That’s why the time is set when the user ends it (failed to pay, cancelled, etc.), then PayPal notifies s2Member and s2Member sets the time he’ll lose access (immediate if refund, whatever paid days left if cancelled, etc). What we’ll change it to, is setting the EOT time at the end of the paid time, even if the subscription hasn’t ended, and update that time after each payment. Then there’s always an EOT time for the access and you’ll be able to do stuff with it (like notifications). |
|
| Posted: Tuesday Oct 2nd, 2012 at 4:08 pm #27254 | |
|
|
|
|
Yes, that’s how it works. Subscriber is a WP role by default, s2Member just calls it Level 0 to avoid confusion with subscriptions (recurring payments) and relate it to the incremental access in levels (1, 2, etc). :) |
|
| Posted: Tuesday Oct 2nd, 2012 at 4:02 pm #27253 | |
|
|
|
|
Cool. :) |
|
| Posted: Tuesday Oct 2nd, 2012 at 4:02 pm #27252 | |
|
|
|
|
You basically have this in that line: [hilite code]My link[/hilite][hilite code]a[/hilite] is the HTML tag for the link. So the line I gave you earlier checks [hilite code]is_user_logged_in()[/hilite] to see if the user is logged in, if [hilite code]true[/hilite] it uses the first URL (the one that points to the page you’re hiding from not logged in users), if [hilite code]false[/hilite] the second one (the Membership Options page). |
|
| Posted: Tuesday Oct 2nd, 2012 at 3:51 pm #27251 | |
|
|
|
|
That redirection is done by WordPress itself, which is the one that processes the login info submitted with the widget. I’ll email Jason asking him if there’s a way to control that, and let you know when I hear back from him. :) |
|
| Posted: Tuesday Oct 2nd, 2012 at 3:49 pm #27250 | |
|
|
|
|
Hi Dean. Could you tell us what value you have in this setting for the widget? [hilite path]WP Admin -> Appearance -> Widgets -> s2Member Pro Login Widget -> My Account[/hilite] Thanks. :) |
|
| Posted: Tuesday Oct 2nd, 2012 at 3:47 pm #27249 | |
|
|
|
|
No problem. :) |
|
| Posted: Tuesday Oct 2nd, 2012 at 3:45 pm #27247 | |
|
|
|
|
Raam’s second code line in his last post is that: [hilite pre_code]0 && current_user_can("access_s2member_ccap_free_gift")){ ?> [/hilite] You just change the [hilite mono]0[/hilite] to something higher if you want to delay the access. If you just use the ccap part of the condition, without the time, then it’s not dripping. |
|
| Posted: Tuesday Oct 2nd, 2012 at 3:42 pm #27246 | |
|
|
|
|
Thanks for reporting that, Laura. I’m forwarding it to Jason so he can look into it. :) |
|
| Posted: Tuesday Oct 2nd, 2012 at 3:24 pm #27242 | |
|
|
|
|
Thanks. The admin login you had sent by email was different than the one you just gave me. I was now able to login. I see in the email log that the email to AWeber is going out. Did you verify that you wrote the list name exactly as it is in your AWeber account? [hilite mono]stmnews[/hilite]. [hilite path]Dashboard -› s2Member® -› API / List Servers -› AWeber®[/hilite] And did you test having the opt-in checkbox in the registration form? Would like to know if the user is sent the AWeber confirmation email if you do that. [hilite path]Dashboard -› s2Member® -› API / List Servers -› Registration Double Opt-In Box[/hilite] |
|
| Posted: Tuesday Oct 2nd, 2012 at 2:30 pm #27237 | |
|
|
|
Yeah, the PayPal account is under my wife’s name (Ana), the WP account I registered is under mine (Cristian Lavaque).
But that’s not the default return page, you are using a customized one. Yeah, if you didn’t, then they probably customized it. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› PayPal® PDT / Auto-Return -> Auto-Return Page Template[/hilite]
That’s cool. I wish you the best with this site and look forward to help you with the next one. :) It’d still be good to spot what’s adding those line-breaks in your posts, though, to prevent the same problem in the future. I saw that even the PayPal created button also had [hilite code] |
|
| Posted: Tuesday Oct 2nd, 2012 at 7:30 am #27207 | |
|
|
|
|
Well, the more complicated the combinations of requirements, the longer the conditions will be. You still need the conditionals. What you could to to save writing some code, and standardising it, is define a function to check the things you usually check. Then you could just feed it certain values for the function to return [hilite mono]true[/hilite] or [hilite mono]false[/hilite]. For example: [hilite pre_code]function my_conditionals($level = '', $ccaps = array(), $drip_day = 0) { // ... [/hilite] Then you can use that in your condition like: [hilite pre_code]if (my_conditionals(1, array(), 14)) echo "You can view this because you've been at Level 1 for more than two weeks."; [/hilite] But that’s just the idea, it needs refinement. I’m talking in general terms because I don’t have the exact things you’re checking in your conditions, but it should help. Ask your developer about it, he should be able to take it from here. I hope it helps. :) |
|
| Posted: Tuesday Oct 2nd, 2012 at 7:15 am #27205 | |
|
|
|
|
You can place the edited copy of the file, in the must-use plugins directory: /wp-content/mu-plugins/. Then it won’t be overwritten, but you should check if any changes are needed for it when a new update for s2Member is released. I hope it helps. :) |
|
| Posted: Tuesday Oct 2nd, 2012 at 7:12 am #27204 | |
|
|
|
I see. I’m suspecting it’s an interface problem, then, probably caused by a JavaScript conflict introduced by the theme or another plugin, or using a custom index page. Are you using an index.html file to override the default index.php in WP? This would cause problems with s2Member’s JS even in the admin area. To test the theme, switch to the TwentyEleven theme and then refresh the s2Member General Options page to check the custom profile fields. To test plugins, deactivate them one by one, checking after each if the problem continues, please. Let me know how it goes! I hope it helps find the source of the problem. :) |
|








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
