PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

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

s2Member Plugin. A Membership plugin for WordPress®.

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

Postby jameztcc » September 1st, 2011, 8:08 am

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
Last edited by Cristián Lávaque on September 1st, 2011, 6:15 pm, edited 1 time in total.
Reason: Improve code readability. http://www.primothemes.com/forums/viewtopic.php?f=36&t=2780
User avatar
jameztcc
Registered User
Registered User
 
Posts: 12
Joined: April 17, 2011

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

Postby Cristián Lávaque » September 1st, 2011, 6:16 pm

Hi James.

Maybe this thread will help you with that: viewtopic.php?f=4&t=10368
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

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

Postby jameztcc » September 1st, 2011, 8:26 pm

Thanks a lot! I will take a look at doing up the hack.php file using filters.
James Tan
User avatar
jameztcc
Registered User
Registered User
 
Posts: 12
Joined: April 17, 2011

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

Postby Cristián Lávaque » September 1st, 2011, 11:44 pm

:)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 1 guest

cron