Search this thread, the fix is in here, what version you running? The newest one?
Search this thread, the fix is in here, what version you running? The newest one?
PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered
<rant>
This is one of the reasons I don't like mods that have been taken over without leaving the original in place. What I wouldn't give to be able to compare NotGoddess's version with that of sparrish.
</rant>
NotGoddess started the mod and (apparently) dropped off the map. sparrish "took over" but modified many things in the original.
Folks are having problems with the version created by sparrish that were occurring in NotGoddess's earlier version.
NotGoddess started an attempt to fix the problem in post #275 of this thread but only had a quick fix.Run that sql update and the dates will change for you. For some reason, the system inserts a null versus a correct date in the situation you mentioned.update subscribers set subscribed_date = now() where subscribed_date = '0000-00-00';
Sorry I can't be of mere help. Wish either NotGoddess or sparrish would return.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
Thanks for your reply.
I am using the latest one from the downloads section.
I have been scanning this thread but 44 pages.
Thanks for replying, I will give that a try tomorrow on my test server first.
So don't we anyone to work on this contribution.
Woody619,
The cause of your woes is an 'omission in the code' in /includes/modules/your_template/create_account.php around line 330.
Change:
$sql = "INSERT INTO " . TABLE_SUBSCRIBERS . "
(customers_id, email_address, email_format, confirmed)
VALUES ('" . (int)$_SESSION['customer_id'] . "', '" . $email_address . "', '" . $email_format . "', '1')";
to read:
$sql = "INSERT INTO " . TABLE_SUBSCRIBERS . "
(customers_id, email_address, email_format, confirmed, subscribed_date)
VALUES ('" . (int)$_SESSION['customer_id'] . "', '" . $email_address . "', '" . $email_format . "', '1', now())";
Rgds,
Chuck
Edit /includes/templates/your_template/sideboxes/tpl_subscribe.php and remove the following
if(EMAIL_USE_HTML == 'true') {
$content .= ' <br /> <label>' . zen_draw_radio_field('email_format', 'HTML', true) . ENTRY_EMAIL_HTML_DISPLAY . '</label>';
$content .= ' <label style="white-space:nowrap">' . zen_draw_radio_field('email_format', 'TEXT', false) . ENTRY_EMAIL_TEXT_DISPLAY . '</label>';
}
The customer default email format is set in Admin-Configuration-Customer Details.
Rgds,
Chuck
Beautiful - That did the trick. Thanks Chuck
Question: When signing up for a newsletter account, it is defaulting to text instead of html. In my admin/config/email it is set to default to HTML and altering the Admin-Configuration-Customer Details doen't seem to have any effect. Any idea how to force an HTML default?
Thanks again - Tim
Tim, Yes, I think it is in
/includes/modules/pages/subscribe/header_php.php,
about line 33, there's a 'TEXT' there that should be 'HTML'.
Hopefully that will force the issue.
Rgds,
Chuck
Hey, thanks for the great mod. Just installed V2.06 on my Zencart 1.36 and it works fine... up until...
Getting the following error when trying to click in the e-mail confirm newsletter-only subscription with a test e-mail:
"Error This email address has not been registered."
That comes up when I do either HTML or Text. In the Subscription Manager, the e-mail address does show up with Status P, but unless I go in and check the box myself, they won't be confirmed.
here's my site, in case any of you want to test it out...
http://luvseals-soaps.com/catalog/
LuvSeals.com ~ Handmade with the essence of luv
proudly run on Zencart and hosted by Camelot Hosting
Bookmarks