Page 1 of 1

How to disable "Thank you! Your account has been updated."

PostPosted: September 1st, 2011, 8:08 am
by jameztcc
Hi,

is there a way I can disable or 'comment' out the "Thank you! Your account has been updated." email after user paid PayPal and upgraded?

Should I modify this file?

I just did a grep for "Thank" and wp_mail without any debugging work done.


Code: Select all
includes/classes/paypal-notify-in-subscr-or-wa-w-level.inc.php:                                                                                                                         wp_mail ($paypal["payer_email"], apply_filters ("ws_plugin__s2member_modification_email_sbj", "Thank you! Your account has been updated.", get_defined_vars ()), apply_filters ("ws_plugin__s2member_modification_email_msg", "Thank you! You've been updated to:\n" . $paypal["item_name"] . "\n\nPlease log back in now.\n" . wp_login_url (), get_defined_vars ()), "From: \"" . preg_replace ('/"/', "'", $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["reg_email_from_name"]) . "\" <" . $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["reg_email_from_email"] . ">\r\nContent-Type: text/plain; charset=utf-8");
includes/classes/paypal-notify-in-wa-ccaps-wo-level.inc.php:                                                                                                                            wp_mail ($paypal["payer_email"], apply_filters ("ws_plugin__s2member_capabilities_email_sbj", "Thank you! Your account has been updated.", get_defined_vars ()), apply_filters ("ws_plugin__s2member_capabilities_email_msg", "Thank you! You now have access to:\n" . $paypal["item_name"] . "\n\nPlease log back in now.\n" . wp_login_url (), get_defined_vars ()), "From: \"" . preg_replace ('/"/', "'", $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["reg_email_from_name"]) . "\" <" . $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["reg_email_from_email"] . ">\r\nContent-Type: text/plain; charset=utf-8");
includes/classes/paypal-notify-in-subscr-modify-w-level.inc.php:                                                                                                                wp_mail ($paypal["payer_email"], apply_filters ("ws_plugin__s2member_modification_email_sbj", "Thank you! Your account has been updated.", get_defined_vars ()), apply_filters ("ws_plugin__s2member_modification_email_msg", "Thank you! You've been updated to:\n" . $paypal["item_name"] . "\n\nPlease log back in now.\n" . wp_login_url (), get_defined_vars ()), "From: \"" . preg_replace ('/"/', "'", $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["reg_email_from_name"]) . "\" <" . $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["reg_email_from_email"] . ">\r\nContent-Type: text/plain; charset=utf-8");
 


thanks!
James Tan

Re: How to disable "Thank you! Your account has been updated

PostPosted: September 1st, 2011, 6:16 pm
by Cristián Lávaque
Hi James.

Maybe this thread will help you with that: viewtopic.php?f=4&t=10368

Re: How to disable "Thank you! Your account has been updated

PostPosted: September 1st, 2011, 8:26 pm
by jameztcc
Thanks a lot! I will take a look at doing up the hack.php file using filters.
James Tan

Re: How to disable "Thank you! Your account has been updated

PostPosted: September 1st, 2011, 11:44 pm
by Cristián Lávaque
:)