Cristián Lávaque
Forum Replies Created
-
AuthorPosts
-
Cristián LávaqueKeymaster
That’s odd. I see that the email starts with “Thank you” but the template says “Thanks”. It may be you’re looking at a different template.
Could you expand the confirmation email panels and take a screenshot to show me? WP Admin -> s2Member -> PayPal Options -> * Confirmation Email
Looking forward to your update. 🙂
Cristián LávaqueKeymasterGreat! 😀
Cristián LávaqueKeymasterThanks!
Okay, I wrote a new simpler one, and tested it to confirm it works.
http://s2member.net/?_s2member_vars=ccap..ccap..element..page..4286
<?php if (!empty($_REQUEST['_s2member_vars']) && strpos($_REQUEST['_s2member_vars'], 'ccap..ccap..element') !== false) { header('Location: http://scrapbookcampus.com/creative-scrap/creative-scrap-register/'); exit; }
🙂
Cristián LávaqueKeymasterOpened an issue for this too: https://github.com/websharks/s2member/issues/786
Cristián LávaqueKeymasterYes, all good questions. I’m updating Jason about that hoping he’ll share his thoughts.
Cristián LávaqueKeymasterNo, the PHP closing tag is not required there.
Hmm… What is the ccap you’re using for that? Can I have a link to a page protected with it to see what the MOP vars are when redirected?
Thanks!
Cristián LávaqueKeymasterYeah, I know what you mean… That’s why I notified Jason, in case it’s something we can pinpoint and do something about to prevent it under whatever rare combination of factors that causes it.
Here’s something I’d like you to try, if possible… Would you add a list to the levels below 4 even if you’re not using them? I wanna see if skipping one or more in that settings panel, could be related.
Looking forward to your update. 🙂
Cristián LávaqueKeymasterWell, you could customize the behavior in different ways…
You can change the Membership Options Page’s content with conditionals, using the MOP Vars. WP Admin -> s2Member -> Scripting -> Membership Options Page Variables
Or, you could try a must-use plugin that checks if the required access is the ccap you’re talking about, and redirect the person to another page instead. Or do the redirection in the page with a conditional and a JavaScript redirection.
Maybe somthing like this: In /wp-content/mu-plugins/s2mop-redir.php
<?php if (!empty($_REQUEST['_s2member_vars'])) @list($restriction_type, $requirement_type, $requirement_type_value, $seeking_type, $seeking_type_value, $seeking_uri) = explode("..", stripslashes((string)$_REQUEST["_s2member_vars"])); if (!empty($seeking_value) && $seeking_value == 'yourccaphere' ) { header('Location: http://www.yoursite.com/yourccapsalespage'); exit; }
Not tested, but I hope it helps. 🙂
Cristián LávaqueKeymasterWell done on testing more variables to notice that it’s the browser.
That’s a very interesting behavior. Yes, it’s very odd that the browser would affect some sites and not others. I don’t know what’s doing it. Maybe one of the extensions? Do you have the same s2Member version in all those different installations?
I guess that when you see that, you can open Firefox to check what it really is…
Cristián LávaqueKeymasterYeah, I know it would be very weird, but just to confirm, could you test logging out of LastPass and trying to reproduce that behavior in the form again? It’s just that I can’t think of anything else causing it yet. :/
Hopefully Jason may have ideas for other things to check.
Cristián LávaqueKeymasterSo good to have you here! 😀
Yes, this forum is fine for s2Member Pro or free.
Thank you for the video, it was very helpful to understand the behavior you are seeing. I haven’t seen other reports like it yet.
This is just a guess, but maybe LastPass is populating the form as if it were a login or registration one? I see the message at the top of the page and find it odd for that form. Could you test logging out of LastPass and test again?
I sort of remember a LastPass related problem with the WP user profile edit form recently…
I’ll ask Jason about this.
Cristián LávaqueKeymasterThanks man! 😀
Cristián LávaqueKeymasterThank you! It’s great to be back and have you here. 😀
-
AuthorPosts