Sure: http://www.xs4all.nl/~vee/
Please let me know if it works for you.
Cheers,
Jeroen
Sure: http://www.xs4all.nl/~vee/
Please let me know if it works for you.
Cheers,
Jeroen
1.3.8 any problem with this and the Easy singup and login mod? I noticed this: \includes\modules\yourtemplate\create_account.php
Having some issues with this mod, If a user makes an account, the copy of the welcome letter gets sent to my admin emai, normal... But the Welcome email won't send to the customer?
----
I can't reproduce this error in my shop.
You may have altered the file in another way.
When you subscribe to the newsletter as a non-customer, do you get the e-mail with the confirmation link?
If you don't get this confirmation e-mail i think you should relook at your e-mail configuration settings.
Jeroen
I have the easy signup and login mod?? I do get the confirmation email when they signup just for the news letter, but when creating a new account I get the [create account] email to my admin email but customer does not get the welcome letter....
I don't know that mod, what i do know is that this mod doesn't do much in the create account section other than checking if an e-mail allready was subscribed for the newsletter.
It does not change anything in the e-mail functionality.
here is the code that gets added to the includes/modules/your_template/create_account.php Maybe you can try and add that manually to your previously used php file
PHP Code:
// BEGIN newsletter_subscribe mod 1/1
// If a newsletter only account exists we update the info,
// but keep the subscription active, and give them a message that to
// change they should do so on their account page (after creation).
if(defined('NEWSONLY_SUBSCRIPTION_ENABLED') && (NEWSONLY_SUBSCRIPTION_ENABLED=='true')) {
$check_subscribers_query = "select count(*) as total from " . TABLE_SUBSCRIBERS . "
where email_address = '" . zen_db_input($email_address) . "' ";
$check_subscribers = $db->Execute($check_subscribers_query);
if ($check_subscribers->fields['total'] > 0) {
$sql = "UPDATE " . TABLE_SUBSCRIBERS . " SET
customers_id = '" . (int)$_SESSION['customer_id'] . "',
email_format = '" . zen_db_input($email_format) . "',
confirmed = '1'
WHERE email_address = '" . zen_db_input($email_address) . "' ";
$db->Execute($sql);
$messageStack->add('create_account', SUBSCRIBE_MERGED_NEWSONLY_ACCT);
} else {
if (!empty($newsletter)) {
$sql = "INSERT INTO " . TABLE_SUBSCRIBERS . "
(customers_id, email_address, email_format, confirmed, subscribed_date)
VALUES ('" . (int)$_SESSION['customer_id'] . "', '" . zen_db_input($email_address) . "', '" . zen_db_input($email_format) . "', '1', now())";
$db->Execute($sql);
}
}
}
// END newsletter_subscribe mod 1/1
// phpBB create account
I have had to play around a bit to get the box to look the same across browsers. I finally got close with this:this is my sidebox/tpl_subscribe.php, I am using the apple zen template.Code:/** * Side Box Template * * @package templateSystem * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: tpl_subscribe.php,v 1.1 2006/06/16 01:46:16 Owner Exp $ */ $content = ''; $content .= zen_draw_form('subscribe', zen_href_link(FILENAME_SUBSCRIBE, '', 'SSL'), 'post', ''); $content .= zen_draw_hidden_field('act', 'subscribe'); $content .= zen_draw_hidden_field('main_page',FILENAME_SUBSCRIBE); $content .= (empty($subscribe_text) ? '' : $subscribe_text); $content .= ' ' . zen_draw_input_field('email', '', 'size="18" maxlength="90" style="width: ' . ($column_width-20) . 'px" value="' . HEADER_SUBSCRIBE_DEFAULT_TEXT . '" onfocus="if (this.value == \'' . HEADER_SUBSCRIBE_DEFAULT_TEXT . '\') this.value = \'\';"'); if(EMAIL_USE_HTML == 'true') { $content .= ' <br /> ' . zen_draw_radio_field('email_format', 'HTML', true, 'id="emailhtmlformat"'); $content .= ' <label for="emailhtmlformat" class="radioButtonLabel">'. ENTRY_EMAIL_HTML_DISPLAY . '</label><br />'; $content .= zen_draw_radio_field('email_format', 'TEXT', false, 'id="emailtextformat"'); $content .= ' <label for="emailtextformat" class="radioButtonLabel">'. ENTRY_EMAIL_TEXT_DISPLAY . '</label>'; } $content .= ' <br /><br />' . zen_image_submit (BUTTON_IMAGE_SUBSCRIBE,HEADER_SUBSCRIBE_BUTTON, 'value="' . HEADER_SUBSCRIBE_BUTTON . '" '); $content .= '</form>'; ?>
However, in IE the buttons are center align instead of left like in firefox and opera- Has anyone found a fix to that?
thx
Hi all
I've tried installing this mod twice now, but still to no avail. FileZilla comes back and says all file transfers were successful; I go in and modify the 2 files - define_newsletter_subscribe and define_newsletter_unsubscribe as instructed.
However, when I log on to my Admin, I click the Customers tab and can still only see the following:
Customers
Orders
Group Pricing
PayPal IPN
Any ideas what I may or may not be doing?
I renamed all of the 'YOUR_TEMPLATE' folders to the name of my template prior to uploading, so that shouldn't be a problem (I forgot that last time....)
Thanks in advance.
Nick.
Eminent Online - Makeup, Beauty Products, Fragrances, Lingerie, Ties and Cufflinks at discount prices.
Bookmarks