mes Posted January 20, 2005 Posted January 20, 2005 I think newsletters are a good way to send people information about new products, special offers etc. The trouble is no users sign up to this, I would like to set it so that people have to check a box to not recieve the newsletters rather than the other way round. Is this an easy thing to change? and would you reccomend this change. cheers guys, mes
boxtel Posted January 20, 2005 Posted January 20, 2005 I think newsletters are a good way to send people information about new products, special offers etc. The trouble is no users sign up to this, I would like to set it so that people have to check a box to not recieve the newsletters rather than the other way round. Is this an easy thing to change? and would you reccomend this change. cheers guys, mes <{POST_SNAPBACK}> function tep_draw_checkbox_field($name, $value = '', $checked = false, $parameters = '') { Treasurer MFC
mes Posted January 20, 2005 Author Posted January 20, 2005 Is this in create_account.php cant seem to find it? cheers mes
boxtel Posted January 20, 2005 Posted January 20, 2005 Is this in create_account.php cant seem to find it? cheers mes <{POST_SNAPBACK}> no, that is the function header telling you what the options are. in create_account : <td class="main"><?php echo tep_draw_checkbox_field('newsletter', '1', true) . ' ' . (tep_not_null(ENTRY_NEWSLETTER_TEXT) ? '<span class="inputRequirement">' . ENTRY_NEWSLETTER_TEXT . '</span>': ''); ?></td> notice the true parameter. Treasurer MFC
Guest Posted January 20, 2005 Posted January 20, 2005 I think newsletters are a good way to send people information about new products, special offers etc. The trouble is no users sign up to this Maybe they don't share your enthusiasm ?! I would like to set it so that people have to check a box to not recieve the newsletters rather than the other way round. <{POST_SNAPBACK}> That's right - if they don't want your newsletter voluntarily then bloody well make them ! Or at best, piss them off. Rich.
Mark Evans Posted January 20, 2005 Posted January 20, 2005 The box is set to unsubscribe as default as by law in the uk a user has to opt in. I am not sure about other countries. Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds)
julianpuje Posted January 20, 2005 Posted January 20, 2005 I have it this way around, where you have to unsubscribe. ps: I didn't know about the unsubscribe law as pointed out by Sparky :thumbsup: In your language.php file define('ENTRY_NEWSLETTER', 'Please check the box if you do not want to receive our newsletter'); define('ENTRY_NEWSLETTER_TEXT', ''); define('ENTRY_NEWSLETTER_YES', 'Unsubscribed'); define('ENTRY_NEWSLETTER_NO', 'Subscribed'); In your create_account.php change false to true (around line 50) $newsletter = tep_db_prepare_input($HTTP_POST_VARS['newsletter']); } else { $newsletter = true; so if no input it's true. I am no php expert, but this appears to work for me. Julian A little knowledge is dangerous, I SHOULD KNOW. If Life Begins At 40, What ends????
berkedam Posted January 20, 2005 Posted January 20, 2005 On opt-in and opt-out Read all about it :D http://www.euro.cauce.org/en/index.html We Did It!EU Parliament "Opts In" Commercial Email in European Economic Area will not be allowed without recipients' prior consent "If you're working on something new, then you are necessarily an amateur."
Recommended Posts
Archived
This topic is now archived and is closed to further replies.