I am using Newsletter Subscribe v 2.1.1 on Zen Cart v1.3.8a, i have a slight problem, i use the site for a small community where almost all of them know each other.
some of the subscribers (it happened once) unsubscribe other members since they know their email address.
Is there a way to have the subscription only unsubscribe by the owner of the email? like send them an email and they have to click on a link. Thanks in advanced in any help.
First, I did merge all the changes to the core file to my default zc files (made backups first).
I did another WinMerge compare of the addon file /admin/index.php and my /xxxxxx/index.php and there is only 1 difference between the 2 files:
and then there is a blank line under that code in both files.PHP Code:
$customers->fields['customers_firstname'] = zen_output_string_protected($customers->fields['customers_firstname']);
$customers->fields['customers_lastname'] = zen_output_string_protected($customers->fields['customers_lastname']);
I don't have a prefix on my db, so I don't think that is the issue.
======================
I next did another WinMerge compare of the addon file /admin/customers.php because I am getting this error in my admin > tools > Send Email page:
and there is only 1 line that I am suspect:PHP Code:
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as s left join customers as c on c.customers_id = s.customers_id' at line 1
in:
[select c.customers_firstname, c.customers_lastname, s.email_address as customers_email_address from as s left join customers as c on c.customers_id = s.customers_id ]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
this line is not in the addon file, is that possibly what is causing the issue for admin > tools > send email?PHP Code:
if (isset($_GET['search'])) $_GET['search'] = zen_output_string_protected($_GET['search']);
Any suggestions?
Thank you,
autoace
I don't know how I did it but I went to re-upload the files and realized that I had forgotten to upload all the files in the admin/includes folder - did that and now it works!
I'm glad I took the advice and just re-uploaded all files before I went messing w/any code.![]()
Thank you,
autoace
Hi,
Have this installed already and it's working fine. Just wondering if it is possible to move this to the centre column as we are changing the look and feel of our site.
Thanks!
Brian
ZenCart v1.3.8a
Latest version of this module.
Have installed and seems to be working fine. Have two questions:
1. Under Tools - which email option should I be using. The called "Send Email" or the one called "Newsletter and Production Notification Manager".
I've tested both and they seem to work with the same results.
2. The resultant email includes the ZenCart logo at the top of the email. How do I get rid of that? The ZenCart logo shows up regardless of which email tool I use.
Thanks!
![]()
I am having a problem, someone keep unsubscribing a customer that he knows his email address, how can i prevent that? is there anyway to confirm the unsubscribe with an email? Thanks.
I have searched this thread and found partial information about removing the "HTML" and "Text" buttons, but didn't find a complete description of how to do this. Could someone describe this in detail?
Also, could someone help me figure out how to left-justify everything? I have a very rudimentary understanding of PHP and am not sure where to look or what to do.
Thanks.
To Remove "HTML" and "Text" buttons from Newsletter Subscription Sidebox.
Copying instructions from post #437:
1) Look for the following file:
/includes/templates/YOUR_TEMPLATE/sideboxes/tpl_subscribe.php
2) Remove the following part:
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>';
}
3) Save the edits
4) Upload the file
Hope it helps you. I just did the changes for myself and it worked.
Bookmarks