Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / Newsletter-Only Subscriptions for v1.3x

Newsletter-Only Subscriptions for v1.3x

24 Feb 2010, 6:13 AM
#922
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Post #922 by tamya

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.

24 Feb 2010, 9:18 AM
#923
cjpinder avatar

cjpinder

Totally Zenned

Join Date:
Apr 2007
Location:
Herts. UK
Posts:
893
Plugin Contributions:
0

Post #923 by cjpinder

TamyA:

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.
That's not a built in feature of the mod and would need to be specially coded.

Regards,
Christian.

24 Feb 2010, 3:24 PM
#924
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Post #924 by autoace

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:

$customers->fields['customers_firstname'] = zen_output_string_protected($customers->fields['customers_firstname']);
	$customers->fields['customers_lastname'] = zen_output_string_protected($customers->fields['customers_lastname']);

and then there is a blank line under that code in both files.

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:

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.

and there is only 1 line that I am suspect:

if (isset($_GET['search'])) $_GET['search'] = zen_output_string_protected($_GET['search']);

this line is not in the addon file, is that possibly what is causing the issue for admin > tools > send email?

Any suggestions?

Thank you,
autoace

24 Feb 2010, 3:42 PM
#925
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Post #925 by 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. :smile:

Thank you,
autoace

26 Feb 2010, 3:10 AM
#926
brian_flanagan avatar

brian_flanagan

New Zenner

Join Date:
Dec 2007
Posts:
48
Plugin Contributions:
0

Post #926 by brian_flanagan

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

1 Mar 2010, 6:31 PM
#927
sjmills93 avatar

sjmills93

New Zenner

Join Date:
Jan 2010
Location:
St. Joseph, Ontario, Canada
Posts:
37
Plugin Contributions:
0

Post #927 by sjmills93

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.

  1. 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!
:huh:

5 Mar 2010, 12:08 AM
#928
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Post #928 by tamya

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.

6 Mar 2010, 3:26 PM
#929
brettabloom avatar

brettabloom

New Zenner

Join Date:
Jul 2008
Location:
Copenhagen
Posts:
22
Plugin Contributions:
0

Post #929 by brettabloom

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.

19 Mar 2010, 6:46 AM
#930
svault avatar

svault

New Zenner

Join Date:
May 2008
Posts:
37
Plugin Contributions:
0

Post #930 by svault

brettabloom:

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>';
}

  1. Save the edits
  2. Upload the file

Hope it helps you. I just did the changes for myself and it worked.

19 Mar 2010, 12:44 PM
#931
brettabloom avatar

brettabloom

New Zenner

Join Date:
Jul 2008
Location:
Copenhagen
Posts:
22
Plugin Contributions:
0

Post #931 by brettabloom

This worked. Thank you very much!

23 Mar 2010, 11:55 PM
#932
israelmeesterkat avatar

israelmeesterkat

New Zenner

Join Date:
Jan 2010
Posts:
23
Plugin Contributions:
0

Post #932 by israelmeesterkat

I cannot get this to work. I transferred the files 3 times and still cannot see 'subscription manager' or anywhere to install.

The last time i transferred files, I did it manually (not moving entire folder) and now i have screwed up my zencart. UGG... Admin panel still works, but can't see my cart on the internet, just a blank page.

I have a custom template. Will this not work with a custom template?

HELP!

24 Mar 2010, 12:13 AM
#933
israelmeesterkat avatar

israelmeesterkat

New Zenner

Join Date:
Jan 2010
Posts:
23
Plugin Contributions:
0

Post #933 by israelmeesterkat

I have restored my zencart and am back to my original files. Please tell me how to get this patch installed.

I tried dragging the folders to my zencart folder and it did not work. I have a custom template. Do I need something like Winmerge? I am using a mac is there a winmerge type program for mac or do I need to dust off my PC and try to use it?

Am I doing something wrong?

Thanks!! :)

24 Mar 2010, 11:23 AM
#934
israelmeesterkat avatar

israelmeesterkat

New Zenner

Join Date:
Jan 2010
Posts:
23
Plugin Contributions:
0

Post #934 by israelmeesterkat

Ok, I restored the zencart and now I am getting this error when I click the install button on the "subscription manager"
*
1005 Can't create table 'zen_subscribers' (errno: 13)
in:
[ CREATE TABLE IF NOT EXISTS zen_subscribers ( subscriber_id int(11) NOT NULL auto_increment, customers_id int(11) default NULL, email_address varchar(96) NOT NULL default '' UNIQUE, email_format varchar(4) NOT NULL default 'TEXT', confirmed varchar(8) default NULL, subscribed_date date NOT NULL default '0000-00-00', PRIMARY KEY (subscriber_id) ) TYPE=MyISAM;]
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.*

1 Apr 2010, 10:22 AM
#935
suekay avatar

suekay

New Zenner

Join Date:
Jul 2008
Posts:
90
Plugin Contributions:
0

Post #935 by suekay

Hi,

I've been using the newsletter-only subscriptions for a while now and it's great - thank you.

I'd like to ask my sign ups for their christian name so that when I send them an email it's more personal - I've read several times that people are more liekly to read emails that use their name.

Does anyone know how to do this or does nayone know if it is likely to be a future update?

Many Thanks
Suekay

4 May 2010, 4:24 PM
#936
mistrzu20 avatar

mistrzu20

New Zenner

Join Date:
Jan 2010
Posts:
4
Plugin Contributions:
0

Post #936 by mistrzu20

Hi,

I've just sifted through 94 pages and didn't find anything about unique IP checking. Could you please tell me the steps to get that accomplished?

It would be best if during newsletter sign up, not only unique email would be checked but also an IP address to prevent multiple newsletter sign ups from the same address.

It would be great to display IPs in the admin panel as well.
At the very least, one of the two, and if need be, we would manually remove duplicate entries from the same address.

We are basically trying to use this great tool for sweepstakes and we want to ensure there are no duplicates.

Thanks for your help.
Once someone helps me with this, I would be happy to repackage it as an upgrade to this wonderful contribution.

12 May 2010, 2:11 PM
#937
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Post #937 by autoace

Hi,

I'd like to switch the header signup form from the header area to the footer area, any suggestions?

Also, does anyone know how to have that signup form show up on main_index.php (define pages) only on the homepage?

Thank you,
autoace

13 May 2010, 4:35 PM
#938
jacque427 avatar

jacque427

Zen Follower

Join Date:
Apr 2005
Location:
Spokane, Washington
Posts:
324
Plugin Contributions:
0

Post #938 by jacque427

I updated my old version of Subscribe! 1.1 to this newest one.

Before doing that I backed everything up and downloaded the table of subscribers in SQL format. Then removed the old version.

But it won't let me upload the list of "old" subscribers. After trying different formatting and ways to upload I consistently receive error messages of one sort or other. It's approximately 2,500 people.

The subscribers table is structured like this:
subscriber_id
customers_id
email_address
email_format
confirmed
subscribed_date

And the data I'm attempting to upload looks like this:
(1157, 16, '[email protected]', '', NULL, '2008-02-25 10:22:04'),(1158, 15, '[email protected]', 'HTML', NULL, '2008-02-25 10:22:04'),(1159, 94, '[email protected]', 'HTML', NULL, '2008-02-25 10:22:04'),(1160, 95, '[email protected]', 'TEXT', NULL, '2008-02-25 10:22:04'),(1161, 6, '[email protected]', 'TEXT', NULL, '2008-02-25 10:22:04'),(1162, 7, '[email protected]', 'TEXT', NULL, '2008-02-25 10:22:04'),(1163, 8, '[email protected]', 'HTML', '1', '2008-02-25 10:22:04'),(1165, 10, '[email protected]', 'TEXT', NULL, '2008-02-25 10:22:04');

In the sample list I am entering " NULL NULL email format NULL NULL"

So, what am a I doing wrong and can anyone help.

By the way, the rest of the function works as designed, I just can't import the old addresses.

Just knowledgeable enough to be dangerous.

26 May 2010, 4:08 PM
#939
motobuddy avatar

motobuddy

New Zenner

Join Date:
Sep 2009
Posts:
13
Plugin Contributions:
0

Post #939 by motobuddy

I cant seem to get the sidebox to show up under the sidebox manager, I have copied the files to both my custom template and the standard template area. The add in installed and I can add people manual but I cant get the side box to work.

3 Jun 2010, 6:40 AM
#940
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Post #940 by gilby

Installing Ver2.2 on zen-cart 1.3.9c
I received a Mysql error when attempting to install due to apostrophe's in the email address.

Around line 91 in
admin\includes\functions\extra_functions\subscription_manager.php

change

'" . $cust_subscribers->fields['customers_email_address'] . "',

to

'" . zen_db_input($cust_subscribers->fields['customers_email_address']) . "',

This will prepare the input correctly for insertion into the database for those rare cases