latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Malin Karlsson

Sorry, I've not written a description yet. I'll get to it soon!


Topics I've Started


My Latest Replies (From Various Topics)

Viewing 24 replies - 1 through 24 (of 24 total)
Author Replies
Author Replies
Posted: Monday Dec 3rd, 2012 at 7:22 am #33287

Well, I don’t like the plugin exec-php cause everything stops working once you switch from html to visual…
My customer must be able to edit the text without destroying things.

Since the shortcode works fine except around the forms I decided to put the form in a template for this Page using the echo_do_shortcode():

<?php if (current_user_can("access_s2member_level0") && !current_user_can("access_s2member_ccap_nbbc")) { ?>
<?php echo do_shortcode('[s2Member-Pro-PayPal-Form level="*" ccaps="nbbc" desc="No Bullshit Bootcamp, 450 kr inkl moms." ps="paypal" lc="SE" cc="SEK" dg="0" ns="1" custom="www.webbmalin.se" ra="450" rp="1" rt="L" rr="BN" accept="paypal" accept_via_paypal="paypal" coupon="NBBCRABATT" template="my-checkout-form.php" accept_coupons="1" default_country_code="SE" captcha="0" /]
'); ?>
<?php } ?>
Posted: Friday Nov 30th, 2012 at 7:21 am #32984

Thank you both!!!!

It seems to work when using php instead of shortcode :)

Crossing my fingers that this was the only issue.

Posted: Wednesday Nov 28th, 2012 at 11:32 am #32786

Yay!
I tested 2 of my sites and only this one had the problem with IE9. I did everything in the troubleshooting guide and it didn’t even work with default theme and all other plugins turned off.

So it turned out to be my coding of the form. Or, the if-code around the form… (I have several forms and this one os if you’re logged in only, but it’s the same problem everywhere…)

This is NOT working

[s2If current_user_can(access_s2member_level0) AND !current_user_can(access_s2member_ccap_nbbc)]
[s2Member-Pro-PayPal-Form level="*" ccaps="nbbc" desc="No Bullshit Bootcamp, 450 kr inkl moms." ps="paypal" lc="SE" cc="SEK" dg="0" ns="1" custom="www.webbmalin.se" ra="450" rp="1" rt="L" rr="BN" accept="paypal" accept_via_paypal="paypal" coupon="NBBCRABATT" template="my-checkout-form.php" accept_coupons="1" default_country_code="SE" captcha="0" /]
[/s2If]

This WORKS
only difference is the “IF”- around the form….

[s2If current_user_can(access_s2member_level0) AND !current_user_can(access_s2member_ccap_nbbc)]
[s2Member-Pro-PayPal-Form level="*" ccaps="nbbc" desc="No Bullshit Bootcamp, 450 kr inkl moms." ps="paypal" lc="SE" cc="SEK" dg="0" ns="1" custom="www.webbmalin.se" ra="450" rp="1" rt="L" rr="BN" accept="paypal" accept_via_paypal="paypal" coupon="NBBCRABATT" template="my-checkout-form.php" accept_coupons="1" default_country_code="SE" captcha="0" /]

So how can I do this differently?? It works fine with IE8, but not IE9.

Thanks!

  • This reply was modified 4 years, 1 month ago by  Cristián Lávaque. Reason: Remove login info
Posted: Wednesday Nov 28th, 2012 at 8:29 am #32772

I already tried that. Looks the same with default theme. No other plugins are used.

BUT, right now I cloned the rasmart.se to a new test site using Manage WP and it looks better…
http://www.webbmalin.se/testmalin/kop-klubb-rasmart-manadsvis/

I guess something went wrong with the previous installation.
So now I can start my trouble shooting :)

Posted: Wednesday Nov 28th, 2012 at 7:39 am #32768

Going insane now.

I created a developer test site.

Problem is: the form looks different even though it’s the same. I only changed the custom=”rasmart.se” (which doesn’t change the looks of it anyways)
Problem: It adds the billing info and the card info. I assume it must be a set up issue. That I missed something…

Here’s the original:
http://rasmart.se/kop-klubb-rasmart-manadsvis/

and here’s the test site:
http://www.webbmalin.se/test/kop-klubb-rasmart-manadsvis/

I also tried to switch to other themes but it’s still the same.

I also have the exact same form here as on the test site, no changes, and it looks fine:
http://webbmalin.se/testarmalin/

It doesn’t matter if I use this form or create a new one. On my test site it always appears with the extra information to fill out. The billing address and card information.

So what am I doing wrong???

Posted: Thursday Nov 22nd, 2012 at 4:35 am #32315

Thanks TJ, that seems to be the same problem as I have, so I’ll try with what they recommend there.

Posted: Friday Oct 5th, 2012 at 7:33 am #27563

One little thing though:

Do you think I should take off the ccap “klubb” from my Levvel 1 subscription?
Or would it make no difference??

/Malin

Posted: Friday Oct 5th, 2012 at 7:28 am #27561

Thank you soooo much for your help and you patience :)

I’ll try the hack too…

Posted: Friday Oct 5th, 2012 at 6:32 am #27558

Yes it’s complicated, but has to be doable. Just need to figure out the best way.
This one doesn’t have an EOT though, it goes on until they cancel.

Ok, it seems to work if I do this:
They buy my Level 1, paid monthly (which also has ccap “klubb”, but I guess it’s unneccesary), and then they can add ccap “sockerfri” (one time, using Buy Now) to their subscription.

If they are not already Level 1 and want only “sockerfri”, they register at Level 0 and then they can buy “sockerfri”. If they want “klubb” later on, I use an upgrade form to level 1…

Does it seem like I have got it right this time???

Posted: Friday Oct 5th, 2012 at 6:06 am #27555

As you see in my first post I DID have to separate Level 1 forms and the problem was the payment got canceled as soon as they bought both courses.

So now it’s all confusing :)

I guess I could use Buy Now forms when somebody buys their second course, but… will that work even if one of the courses is monthly paid and not a one time payment???

Posted: Friday Oct 5th, 2012 at 5:57 am #27552

But I have 2 completely different online-courses. They buy them seperately, not at the same time.

Posted: Friday Oct 5th, 2012 at 5:43 am #27550

Ok… but then I can only sell ONE ccap to someone not logged in?
Cause that was the thing that I have two ccap…

In my case, I HAVE to have them register then.?

Posted: Friday Oct 5th, 2012 at 4:35 am #27544

Haha, yeah, I’m confused too :)

I believe that is what I want. I realize I need to have them to register and log in first.

Another question…

Can I use the same Buy Now form if I don’t need them to register? Or do they HAVE to register (as level 0) before purchasing with Buy Now forms?

Thanks!
/Malin

Posted: Wednesday Oct 3rd, 2012 at 8:09 am #27331

Thanks Raam!

But I’m getting more and more confused now :)

I DO offer membership and I DO use the Membership Level 1 form for that. The Problem was that I thought I could add 2 or more different custom capabilities, but as Cristián and Cassel said, it is not possible, that I need to use the Buy Now forms instead.

So after that:
Now there is one Level 1 form for people buying cc “klubb” paying monthly.
And a Buy Now form for people buying cc “sockerfri”. One time fee, life time access.

I DO want EVERYONE to get registered. But how can I do that??? I thought the answer was to get the ones who buy “sockerfri” to sign up as Level 0. (and they just upgrade to Level 1 if they want “klubb” too).

And my question was if it was possible to add them to Level 0 at the same time they purchased “sockerfri” with the Buy Now form…

Your answer says it’s NOT possible. Right?

But I cannot use a membership form for level 0 either, right?

So the only way, is to have them to first sign up for free and become Level 0… then log in and then purchase. Am I correct? Or do you have an easier solution for me???

THANK you so much for your help and support!!!
/Malin

Posted: Monday Oct 1st, 2012 at 9:37 am #27073

Ok, so I see there are two different Buy Now forms. One called “Capability” that is what I talk about in my last post, and it seems to only work if you’re a registered, but there is also the “Specific Post/Page” that seems to work if your NOT registered. So perhaps I can use the last one for people not logged in..

But then it might be weird if they also want to buy “klubb”…

Posted: Monday Oct 1st, 2012 at 9:27 am #27072

If the user doesn’t have an account, then you’d sell him the ccap but also give him an s2Member Level (1 or higher).

But how do I give him Level 1 with the Buy Now-form??? It says Level=”*” If I change it to Level=”1″ there is no difference between this form and the one I used before that didn’t work…

I already use different forms depending on if your logged in or not. but I suppose the best way then is to let people register at Level 0 first…

OR, could I use the Buy Now and set Level=”0″ when they buy “sockerfri”? Or would that not be possible since Level 0 is free???

Thanks,
Malin

Posted: Monday Oct 1st, 2012 at 6:03 am #27045

Alright, need to get this completely so I have further questions.

One subscription only. Mine is called “klubb”.

I made one Buy Now for the cc called “sockerfri”. Seems to work fine for subscribers to “klubb”.

But how can somebody wants to buy “Sockerfri” without already being a subscriber to “klubb”?
Now it says “you must log in before making this purchase”. Does it mean I need to make them Level 0 subscribers first???

And what do I do about people already bought sockerfri and then wants to buy “klubb”???

Thanks,
Malin

Posted: Monday Oct 1st, 2012 at 5:30 am #27042

Thank you!

(I didn’t see your reply until now!)

Yes I made two subscriptions… I wasn’t aware I couldn’t do this.

I will now change this to Buy now.

Do you know how I can get the customer back on the payment? Do they have to buy it again?

Thanks,
Malin

Posted: Friday Jul 6th, 2012 at 5:22 am #18427

Hi!
I have a similar problem… or at least I’m not able to put more than one form on one page, cause then it’s not working they way I chose.

In my form I have set accept=”paypal” (only paypal) and if I only put one form an o page it looks great. If I put more than one form there they ask for billing adress and card information. This should only appear if I accept cards, which I don’t.

This must be a bug, right?

/Malin

Posted: Friday May 4th, 2012 at 3:12 am #12551

Thank you so much, this works perfectly!

Yeah, haha, I’m not a hacker :)

Posted: Wednesday May 2nd, 2012 at 7:24 am #12362

Isn’t there a way to use level 0 instead of page ID?

Posted: Wednesday May 2nd, 2012 at 7:23 am #12361

Hi!

Sorry, that’s not working for me, they all end up at the first login welcome page… (which is using a template where I added the code.

Am I doing something wrong?

Here’s where I made changes in the code…
Specific Page/Post ID; i picked the ID of the page where they registered; http://prkiosken.se/gratis-smakprov-registering/.
Purchase page, is in my case my second login welcome page

case "1120": // Specific Page/Post ID
$purchase_page = "http://prkiosken.se/gratis-smakprov-test/ "; // Purchase page
break;
Posted: Monday Apr 30th, 2012 at 5:47 am #12210

Hi!

Alright, I managed to have 2 different login welcome pages… IF i named them e.g. my-profile-0 and my-profile-1

I did this in General Options/Login Welcome Page:
http://prkiosken.se/min-profil-%%current_user_level%%/

It works fine… BUT I would love to have 2 completely different names of the Pages…
For level1: http://prkiosken.se/min-profil/
For Level2: http://prkiosken.se/gratis-smakprov/

Mainly because we’ve been tracking “gratis smakprov” and I want it too keep its name.

I read somewhere this could be done with java script redirecting… but I have no clue how to do that.

Anyone who knows?
/Malin

Posted: Thursday Apr 26th, 2012 at 1:06 am #11897

Thanks!
Yes, it seems better the first option.
Just that I already have a redirection after they buy the video class….
I guess I need to do a separate redirection for Level 0 ?

Viewing 24 replies - 1 through 24 (of 24 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.