bitshaker Posted February 4, 2011 Share Posted February 4, 2011 This is the support-threat for my little mod "Send Newsletter Status". Dies hier ist das Support-Threat for mein kleines "Send Newsletter Status"-Mod. Ciao, Thorsten Quote Ciao, Thorsten # http://thorsten.schlagwein.de # http://www.g-laderseite.de # http://www.canboo.de Link to comment Share on other sites More sharing options...
bitshaker Posted February 4, 2011 Author Share Posted February 4, 2011 >> http://addons.oscommerce.com/info/7816 Quote Ciao, Thorsten # http://thorsten.schlagwein.de # http://www.g-laderseite.de # http://www.canboo.de Link to comment Share on other sites More sharing options...
wigsonline Posted April 29, 2013 Share Posted April 29, 2013 Hi Thorsten, This is a handy little edit for website owners using external newsletter companies. I actually thought of coding something smiler but found your contribution, so it saved me a little time. However I also wanted to be notified of NEW newsletter subscribers when a client subscribes during the registration process. So I modified some of your code and added it as follows: ======================================================= When Client Registers for the first time. In catalog/create_account.php Search (around Line 50) $newsletter = tep_db_prepare_input($HTTP_POST_VARS['newsletter']); Insert immediately after (i.e included in If statement) // Newsletter Status MOD - Send a subscription-email if client subscribes when registering $newsletter_status_text = '<b>' . 'Subcribed' . '<br>New Account With Newsletter Subcription @ MyOnlineshop' . '</b>' . '<br>' . '<br/><b>Gender:</b> ' . $gender . '<br><b>Firstname:</b> ' . $firstname . '<br><b>Surname:</b> ' . $lastname . '<br><b>Email:</b> ' . $email_address; tep_mail('[email protected]', '[email protected]', 'Subscribed', $newsletter_status_text, $email_address, $email_address); //End Newsletter Status MOD DONT FORGET TO CHANGE [email protected] TO YOUR DESIRED EMAIL ASWELL AS DESIRED TEXT FOR newsletter_status_text ========================================= Feel free to modify/improve on the code. Also feel free to add it, or any modified version of it, to and update for your contribution. Thx. Tony Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.