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: Kevin Smith

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


Topics I'm Subscribed To

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Error #7. Field format error: MAXFAILURES

By:  Kevin Smith in: Community Forum

voices: 2
replies: 3

4 years, 1 month ago  Cristián Lávaque

Viewing topic 1 (of 1 total)

Topics I've Started

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
Error #7. Field format error: MAXFAILURES

By:  Kevin Smith in: Community Forum

voices: 2
replies: 3

4 years, 1 month ago  Cristián Lávaque

Hooks (New user registration, update member)

By:  Kevin Smith in: Community Forum

voices: 2
replies: 5

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

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

My Latest Replies (From Various Topics)

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Monday Nov 12th, 2012 at 8:53 pm #31402

I think we have this fixed. Quick question? when someone sighns up for free trial with credit card will i see that in my pay pal account? If so where?

Posted: Saturday Oct 13th, 2012 at 5:19 am #28308

I went with other option by hooking wordpress native hooks that involve updating user meta data, also combined with the s2member hooks that work

add_action('ws_plugin__s2member_before_configure_user_registration', array($this, 'set_registration_mode'));
add_action('ws_plugin__s2member_after_configure_user_registration', array($this, 'user_registered'));
add_action('updated_user_meta', array($this, 'updated_payment'), 1000*10, 4);
add_action('added_user_meta', array($this, 'paid_on_register'), 1000*10, 4);
add_action('ws_plugin__s2member_during_auto_eot_system_during_before_demote', array($this, 'on_user_deleted'), 1000*10, 4);
Posted: Friday Oct 12th, 2012 at 11:51 am #28247

It only works when the signup process is handled – e.g. new user registered. However, when upgrading user from level 0 to level x, none of these hooks are fired:

add_action('ws_plugin__s2member_during_configure_user_registration_front_side', array($this, 'call_register'));
add_action('ws_plugin__s2member_during_configure_user_registration_admin_side', array($this, 'call_register'));
add_action('ws_plugin__s2member_after_handle_profile_modifications', array($this, 'call_register'));
add_action('ws_plugin__s2member_during_users_list_update_cols', array($this, 'call_register')); 

edit1:

also, this is my shortcode for updating the level

[s2Member-Pro-PayPal-Form level="1" ccaps="" desc="$100 USD / One Time ( for lifetime access, non-recurring, no trial )" ps="paypal" lc="" cc="USD" dg="0" ns="1"  ta="0" tp="0" tt="D" ra="100" rp="1" rt="L" rr="BN" rrt="" rra="2" accept="paypal,visa,mastercard,amex,discover,maestro,solo" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]

edit2:

I changed my shortcode to other one, that its used for actual account upgrading (i made mistake for using the above one), but still none of the mentioned hooks above do not fire.

[s2Member-Pro-PayPal-Form modify="1" level="3" ccaps="" desc="$200 USD / One Time ( for lifetime access, non-recurring, no trial )" ps="paypal" lc="" cc="USD" dg="0" ns="1" ta="0" tp="0" tt="D" ra="200" rp="1" rt="L" rr="BN" rrt="" rra="2" accept="paypal,visa,mastercard,amex,discover,maestro,solo" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]
  • This reply was modified 4 years, 2 months ago by  Kevin Smith.
  • This reply was modified 4 years, 2 months ago by  Kevin Smith.
  • This reply was modified 4 years, 2 months ago by  Kevin Smith.
Viewing 3 replies - 1 through 3 (of 3 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.