View Single Post
  #12  
Old 05-31-2004, 03:32 PM
 
nerd luv nerd luv is offline
 

Advanced Member
  
Join Date: Jun 2003
Location: California, USA
Posts: 58
 

Default

Originally I cut and pasted the examples at the top, which is how I eliminate the possibility of me messing up the new code. I searched for the "original code" posted by BoomBoomBap in register.php , and there was only 1 instance, so that is what I replaced with his new code.

The portion of original code that starts with
Code:
$customer_language = func_get_language ($newuser_info["language"]);
was not mentioned prior to your last post so I was unaware that this code needed to be changed. I searched for this and added the new if statement so starting at line 156 I now have

Code:
# # Send mail to registered user # $customer_language = func_get_language ($newuser_info["language"]); if ($config["General"]["modify_emails"]=="Y"){ func_send_mail($newuser_info["email"], "mail/profile_modified_subj.tpl", "mail/profile_modified.tpl", $config["Company"]["users_department"], false); # # Send mail to customers department # func_send_mail($config["Company"]["users_department"], "mail/profile_admin_modified_subj.tpl", "mail/profile_admin_modified.tpl", $newuser_info["email"], true);}

which seems to have done the trick. Modified a profile and neither the client nor the administrator received an e-mail. Whew.
__________________
Always happy to Paypal over some money for X-Cart solutions. I need to get this store running! Help!
--Testing 3.5.8, heavily modified, Linux, Apache 1.3.31, PHP 4.3.4--
Reply With Quote