Re: Newsletter-Only Subscriptions for v1.3x
See post 15 in this thread: http://www.zen-cart.com/forum/showpo...0&postcount=15
But since then I've added the confirmation requirement, so you'd follow the same basics, but add a 'confirmed' field so the sql would look like this:
I'm going to get another update out that has import from/export to a file (and the other wishlist items), but it's going to be this weekend (Sunday) at the earliest as I've got to earn gas/food money this week or I'm sunk :0 I'll try to work on it and get it out earlier, but no guarantees.
-Ng_
Re: Newsletter-Only Subscriptions for v1.3x
how to disable the email confirmation ??
besides, i receeved the confirmation link broken. i had to copy paste it to the address bar..
Re: Newsletter-Only Subscriptions for v1.3x
Regarding the uri in the email, by 'broken' I assume you mean on two lines? Most email programs will still link properly even if they wrap the line, but there's not much I can do about that- there's no way to shorten it.
Regarding turning off the confirmation:
Short answer: you don't - it's there for your security and their peace of mind.
Longer answer:
You would have to edit the header.php file for the subscribe page and comment out the email,
and change the sql query inserting the subscription to have it as '1' instead of the confirmation code,
then edit the language file to remove any mention that a confirmation is sent,
then you'd have to manually confirm each in admin (or run a sql query via the sql patch: update table_subscribers set confirmed = '1'; ) for any existing emails.
You are more than welcome to do this, but I won't make it an on/off option because I get so much spam every day where it says 'well according to our records you signed up for this' and most people feel more secure when they know a company cares that it does not spam (with or without intent to do so).
-Ng_
Re: Newsletter-Only Subscriptions for v1.3x
u know, i liked the short answer more. hahahahaha. thanks for the help
Re: Newsletter-Only Subscriptions for v1.3x
Quote:
Originally Posted by chac416
u know, i liked the short answer more. hahahahaha. thanks for the help
*laugh* anytime.
Re: Newsletter-Only Subscriptions for v1.3x
Quote:
Originally Posted by NotGoddess
See post 15 in this thread:
http://www.zen-cart.com/forum/showpo...0&postcount=15
But since then I've added the confirmation requirement, so you'd follow the same basics, but add a 'confirmed' field so the sql would look like this:
I'm going to get another update out that has import from/export to a file (and the other wishlist items), but it's going to be this weekend (Sunday) at the earliest as I've got to earn gas/food money this week or I'm sunk :0 I'll try to work on it and get it out earlier, but no guarantees.
-Ng_
this is great i can't wait for the next update as i have a list of a few thousand emails i've compiled over the years that i desperately need to put into the auto mailer. thank you so much. Your work is so appreciated. It's people like you that keep us moving forward. Respect.
Re: Newsletter-Only Subscriptions for v1.3x
Quote:
Originally Posted by NotGoddess
There is a comma missing. :(
Edit customers.php at at the end of line 274, add a comma:
Code:
email_format = '" . $customers_email_format . "', <----
The entire query:
Code:
$db->Execute("UPDATE " . TABLE_SUBSCRIBERS . "
SET email_address = '" . $customers_email_address . "',
email_format = '" . $customers_email_format . "',
confirmed = 1
WHERE customers_id = '" . (int)$customers_id . "' ");
Sorry!
-Ng_
OEF.. i should have seen that one myself really.
Strnagly enough IT only seems to occur when i am using Group Discount.
when i switched it off all worked well again.
NOW with this small "bugfix" it works wuth Discount Groups activated as well!
thank you NG
Re: Newsletter-Only Subscriptions for v1.3x
I just installed image handler over this mod. Before if I but in an entry that wasn't an email address I would bet an error message, but now that I installed the new image handler mod I am getting a success message no matter what. What files might have been overwrittein with the installation of image handler that could have caused this?
Re: Newsletter-Only Subscriptions for v1.3x
Re: Newsletter-Only Subscriptions for v1.3x
Quote:
Originally Posted by ctcentralinfo
What files might have been overwrittein with the installation of image handler that could have caused this?
I assume you are using Image Handler 2.0 for v1.3 (Tim Kroeger) ?
Taking a quick look I don't see any overlap.
I'll check when I get to my dev machine in a few hours, but I don't see the connect. I have IH2 on a cart and haven't run into issues.
The function that checks for a valid email is:
zen_validate_email() which is in includes/functions/functions_email.php
Are you familiar with using WinMerge or similar file diff utility? If so you can try comparing the contrib to the existing files to see if any has changed.
Pay special attention to the file includes/modules/pages/subscribe/header_php.php as that is where the check is performed.
Unfortunately it's not something I can diagnose from here. :(
-Ng_
[oann- looks like you'll want the sidebox width patch. on my site or outlined in this thread (just need a few spaces or br's before input/submit)]