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: it-can.ca

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


My Latest Replies (From Various Topics)

Viewing 9 replies - 1 through 9 (of 9 total)
Author Replies
Author Replies
Posted: Wednesday May 2nd, 2012 at 11:16 am #12383

Hi Jason,

You explained exactly what was happening. The “ws_plugin__s2member_during_paypal_notify_during_subscr_signup_w_update_vars” hook works great.

Thank you VERY much for all your help.

Posted: Monday Apr 30th, 2012 at 3:01 pm #12223

Thanks Raam / Jason.

It works when the user is upgraded manually from WP-Admin > Users. If users just buy a higher subscription (from Level 1 to Level 2 for instance) through a PayPal button, the level is upgraded but the action (set_user_role) is never triggered after the payment.

This is what I’m trying to do:

add_action( 'set_user_role', 'expiration_date', 10, 2);
		
function expiration_date($user_id) {
	$expire_on = strtotime('04/04/2013');
	update_user_option ($user_id, "s2member_auto_eot_time", $expire_on);
}

As I said, it works when I do it from the backend but not when they complete the Payment through PayPal. Maybe the priority of the hook should be different?

Any ideas?

Thanks a lot

Posted: Monday Apr 23rd, 2012 at 9:54 am #11595

Hi Cristián,

Thanks. I also tried these three hooks (http://www.primothemes.com/forums/viewtopic.php?f=4&t=10100&hilit=reset+eot#p21726) but none of them work when I upgrade the user level from WP-Admin>Users>Role.

Is there a hook that is triggered every time the user level is changed, including new registrations, and regardless of where the change is made (backend, frontend… )?

Thanks again

Posted: Sunday Apr 15th, 2012 at 11:47 am #10844

Thank you very much for your help, Gaper.

Is there a way the can register at the same time of the checkout without PayPal Pro Forms? We are trying to do registrations with PayPal Buttons…

Thanks a lot

Posted: Friday Apr 13th, 2012 at 5:35 pm #10763

Thank you very much for your help, Cassel. The only thing is that doing it that way members would see that button every time they login to the site, even if they already paid and I’m afraid clients would get confused.

I was wondering if there is a “confirmation” or “next page” for users after they register. That would make things easy…

Thanks a lot :)

  • This reply was modified 4 years, 8 months ago by  it-can.ca.
Posted: Friday Apr 13th, 2012 at 11:40 am #10737

Thanks Raam.

I went there and didn’t find an option to add those WordPress fields to the form. Should I enable the “Integrate Custom Registration/Profile Fields with BuddyPress” option?

Thank you very much

Posted: Wednesday Apr 11th, 2012 at 11:32 am #10559

Thanks Cristián.

Just to sum up, is there a way that a user can only be registered on the site if the payment for its membership has been completed?

And in the case that the user will be registered regardless of the payment state, is there an option in the S2Member settings that only enables that user after the payment has been confirmed by the admin of the site?

We are worried that users could register on the site even though they never completed the membership payment (PayPal buttons).

Thank you very much.

Posted: Tuesday Apr 10th, 2012 at 12:24 pm #10471

Thanks Raam.

One question about overwriting the checkout form template: Should I just copy and paste the /wp-content/plugins/s2member-pro/includes/templates/forms/paypal-sp-checkout-form.php file to my /wp-content/themes/my-theme-name/ folder or I should create any kind of folders for S2Member files inside my theme folder first?

Putting the file just in the theme folder (/wp-content/themes/my-theme-name/) is not working so far.

Thank you for your help.

  • This reply was modified 4 years, 9 months ago by  it-can.ca.
  • This reply was modified 4 years, 9 months ago by  it-can.ca.
Posted: Monday Apr 9th, 2012 at 3:20 pm #10369

Thank you very much, Eduán :)

Kind regards,

Robert

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