Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

stop newsletter subscription to admin

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-14-2003, 06:05 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default stop newsletter subscription to admin

Hi does anyone know what line to comment out in the func.php to stop the admin of the site getting a subscription confirmation when someone subscribers to the newsletter???

using x-cart 3.3.3
Reply With Quote
  #2  
Old 08-14-2003, 06:50 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

please ignore the above, I think I found it.
Reply With Quote
  #3  
Old 08-15-2003, 03:33 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

it would help others to post your findings
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #4  
Old 08-15-2003, 03:39 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

Yup agreed, sorry normally would but I was in a rush.

the way to do it was in the mail/ folder open up subscribe.php and look for the line that starts:

# Send mail notification to admin
#
func_send_mail($config["Company"]["newsletter_email"], "mail/newsletter_admin_subj.tpl", "mail/newsletter_admin.tpl", $email, true);


comment out the func_send by placing a # in front of it and then do the same with unsubscribe.php so it look like this:

#func_send_mail($config["Company"]["newsletter_email"], "mail/newsletter_admin_subj.tpl", "mail/newsletter_admin.tpl", $email, true);


that was it, this is using 3.3.3 so I don't know if it the same for other versions (can someone confirm that it is?)
Reply With Quote
  #5  
Old 08-16-2003, 05:16 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

Im still having a problem though with the shop sending out emails to the adminstrator/provider when changing the order status of a customer, if anyone knows which line to comment out in what file PLEASE let me know.

at the moment if I change the order status of a order from proccessed it sends an email to both the customer (good) and to the adminstrator (bad), there is no need for the adminstrator to get an email coz I don't need an email telling me something that I just did myself...

using x-cart 3.3.3
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:15 PM.

   

 
X-Cart forums © 2001-2020