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: Joseph K

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


Topics I'm Subscribed To

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
Classic / Enhanced Paypal Checkout Pages

By:  Joseph K in: Community Forum

voices: 3
replies: 10

4 years, 8 months ago  Joseph K

display/output current user's level in a page

By:  Joseph K in: Community Forum

voices: 2
replies: 5

4 years, 8 months ago  Cristián Lávaque

Viewing 2 topics - 1 through 2 (of 2 total)

Topics I've Started

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
Classic / Enhanced Paypal Checkout Pages

By:  Joseph K in: Community Forum

voices: 3
replies: 10

4 years, 8 months ago  Joseph K

display/output current user's level in a page

By:  Joseph K in: Community Forum

voices: 2
replies: 5

4 years, 8 months ago  Cristián Lávaque

Viewing 2 topics - 1 through 2 (of 2 total)

My Latest Replies (From Various Topics)

Viewing 5 replies - 1 through 5 (of 5 total)
Author Replies
Author Replies
Posted: Wednesday May 9th, 2012 at 2:35 pm #13071
Joseph K
Username: taekcool

Thanks for all the answers and support

Posted: Tuesday May 8th, 2012 at 3:47 am #12886
Joseph K
Username: taekcool

Hmm.. if you go to the paypal -> profile -> Custom payment pages -> Preview. You can preview the Classic / Enhanced Checkout pages which you are calling Standard / Express. Anyway, can we configure the button so that it takes the users to the Express Checkout Page instead of Standard Checkout?

As for the error message, I just sent you a small screenshot. The screenshot contains the error message that I get when I visit the pro-form page with 14 month membership. Please let me know if this is not enough.

And thanks the support during late night..

-Joseph

Posted: Tuesday May 8th, 2012 at 3:13 am #12878
Joseph K
Username: taekcool

Hi Christian thanks for your reply.

I am not referring to the button images. I actually referring to the Express Checkout Pages. The paypal buttons will transfer me to a Classic version of the Express Checkout Page.. whereas the Pro-Form will transfer me to the “Enhanced” Checkout page. These two look very different and I would prefer that the button would transfer the user to the Enhanced version (It’s much more user friendly).

The following 14 month membership pro form doesn’t work.
[s2Member-Pro-PayPal-Form level="4" ccaps="" desc="14 month membership" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="mywebsite.com" ta="0" tp="0" tt="D" ra="10" rp="14" rt="M" rr="1" rrt="" rra="2" accept="paypal" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]

But the following 14 month paypal button works perfectly.
[s2Member-PayPal-Button level="4" ccaps="" desc="14 month membership" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.umbaga.com" ta="0" tp="0" tt="D" ra="10" rp="14" rt="M" rr="1" rrt="" rra="1" image="default" output="button" /]

By the way, what is “rra” in these shortcodes?

Posted: Sunday May 6th, 2012 at 11:18 pm #12785
Joseph K
Username: taekcool

I didn’t know we needed an execution plugin separately. Thanks for the information.
I have one more question on the same topic. How can we output the logged-in-user’s membership expiration date (i.e EOT)?
I couldn’t find it in Dashboard -› s2Member® -› API / Scripting -› PHP/API Constants.. I am pretty sure it’s somewhere I just can’t find it..

Posted: Friday Apr 27th, 2012 at 8:40 pm #12106
Joseph K
Username: taekcool

Thanks! It works great. I have a follow up question.

When I put the following php code instead of the WP shortcode into a page (in html mode), it doesn’t seem to be working. It outputs everything (please see below). Is there something In need to do? I sort of newbie into web-coding.. I might be doing something wrong.

<?php if (S2MEMBER_CURRENT_USER_ACCESS_LEVEL === 4){ ?>
    A Member has an Access Level of 4.
<?php } else if (S2MEMBER_CURRENT_USER_ACCESS_LEVEL === 3){ ?>
    A Member has an Access Level of 3.
<?php } else if (S2MEMBER_CURRENT_USER_ACCESS_LEVEL === 2){ ?>
    A Member has an Access Level of 2.
<?php } else if (S2MEMBER_CURRENT_USER_ACCESS_LEVEL === 1){ ?>
    A Member has an Access Level of 1.
<?php } else if(S2MEMBER_CURRENT_USER_ACCESS_LEVEL === 0){ ?>
    A User is logged in as a Free Subscriber.
<?php } else if(S2MEMBER_CURRENT_USER_ACCESS_LEVEL === -1){ ?>
    A User is not logged in at all.
<?php } ?>

It outputs everything… :

A Member has an Access Level of 4.

A Member has an Access Level of 3.

A Member has an Access Level of 2.

A Member has an Access Level of 1.

A User is logged in as a Free Subscriber.

A User is not logged in at all.

Viewing 5 replies - 1 through 5 (of 5 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.