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

6 Jun 2010, 11:33 AM
#941
littlemissglamour avatar

littlemissglamour

New Zenner

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

Post #941 by littlemissglamour

Oakwood:

Once again, I figured it out :smile:

I just did a view source and added that code to my page.

Please Help - I'm trying to put the newsletter subscribe box onto the main page down the bottom like this site http://www.sugarandspice.com.au/ and i copied view source like the quote above but it keeps vanishing.. any ideas which lines / fields to copy and paste or how to? :no:

(I think this will be a great add on once i get it going! Thank you to the creator!).

20 Jun 2010, 12:14 AM
#942
micki avatar

micki

New Zenner

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

Post #942 by micki

Hi:

Right now I'm using V1.3.8a, but may be upgrading to the latest version shortly.

I would love to install this newsletter add-on. Is there a site that I can go to in order to see what it actually looks like.

I'm not much of a webmaster, but willing to try and add this to my site. Love the idea that people can sign up for my newsletter and not have to have the 'unsubscribe' on my home page.

Any feedback would be greatly appreciated.

30 Jun 2010, 1:56 AM
#943
1kell avatar

1kell

Zen Follower

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

Post #943 by 1kell

I have had to uninstall this and have done so, except that I am getting an error in my sql. How do you uninstall the sql part of this?

30 Jun 2010, 2:16 AM
#944
gilby avatar

gilby

Totally Zenned

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

Post #944 by gilby

1kell:

I have had to uninstall this and have done so, except that I am getting an error in my sql. How do you uninstall the sql part of this?

What is the error?

3 Jul 2010, 11:04 PM
#945
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Post #945 by buildingblocks

Does anyone have this mod working on zen cart 1.3.9d?

I did a fresh standard installation of a 1.3.9d cart with no mods except the newsletter subscribe 2.2 version.

In admin when going to tools > send email, I'm getting this error

1267 Illegal mix of collations (latin1_general_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation 'locate'
in:
[SELECT s.email_address as customers_email_address FROM zen_subscribers as s LEFT JOIN zen_configuration as q on LOCATE( s.email_address, q.configuration_value) >= 1 WHERE configuration_key = 'NEWSONLY_SUBSCRIPTION_TEST_GROUP' ]
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.

10 Jul 2010, 11:22 AM
#946
horsetags avatar

horsetags

New Zenner

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

Post #946 by horsetags

Hi
I have this installed and working on 1.3.9d.

With html emails turned off, this records the subscriber preference as html, when it should be text.

Which part of the code can i change to make this record a text preference pleas?

I have searched the forum and this thread, but cannot find anything.

TIA

Paul

14 Jul 2010, 12:51 AM
#947
sarahjewellery avatar

sarahjewellery

New Zenner

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

Post #947 by sarahjewellery

Hi, I've installed the mod and done some changes around the store and such, usually just fumbling my way through.. however now when I sign up to the newsletter only subscription I get this as the confirmation email...

EMAIL_WELCOME
EMAIL_TEXT
EMAIL_CONFIRMATION_TEXT
EMAIL_CONTACT
EMAIL_CLOSURE
EMAIL_DISCLAIMER_NEW_CUSTOMER

This email is sent in accordance with the US CAN-SPAM Law in effect 01/01/2004. Removal requests can be sent to this address and will be honored and respected.

Can someone please offer a suggestion, where I might need to go to fix this

Thanks

14 Jul 2010, 12:59 AM
#948
gilby avatar

gilby

Totally Zenned

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

Post #948 by gilby

sarahjewellery:

Hi, I've installed the mod and done some changes around the store and such, usually just fumbling my way through.. however now when I sign up to the newsletter only subscription I get this as the confirmation email...

EMAIL_WELCOME
EMAIL_TEXT
EMAIL_CONFIRMATION_TEXT
EMAIL_CONTACT
EMAIL_CLOSURE
EMAIL_DISCLAIMER_NEW_CUSTOMER

This email is sent in accordance with the US CAN-SPAM Law in effect 01/01/2004. Removal requests can be sent to this address and will be honored and respected.

Can someone please offer a suggestion, where I might need to go to fix this

Thanks

These are found in:
\includes\languages\english\YOUR_TEMPLATE\subscribe.php

Check that you have renamed "YOUR_TEMPLATE" to whatever your template name is and upload to the correct directory

14 Jul 2010, 1:19 AM
#949
sarahjewellery avatar

sarahjewellery

New Zenner

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

Post #949 by sarahjewellery

gilby:

These are found in:
\includes\languages\english\YOUR_TEMPLATE\subscribe.php

Check that you have renamed "YOUR_TEMPLATE" to whatever your template name is and upload to the correct directory

Yes I checked that and it seems to be fine.
I have no idea what may have caused this.

14 Jul 2010, 3:21 AM
#950
gilby avatar

gilby

Totally Zenned

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

Post #950 by gilby

sarahjewellery:

Yes I checked that and it seems to be fine.
I have no idea what may have caused this.

They are showing like this because they have not been defined.
Zen-cart cannot find the definitions.

As they are defined in the file I mentioned....
There will be a reason Zen-Cart cannot find them

They have been put in the incorrect directory
What is the name of your template directory?

You need to also check that the other "YOUR_TEMPLATE" directories have been renamed as well. (There are at least six of them).

Are you using only english or do you have other languages defined?

14 Jul 2010, 4:40 AM
#951
sarahjewellery avatar

sarahjewellery

New Zenner

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

Post #951 by sarahjewellery

I tried completely reinstalling the mod, but with no luck. It is still having the same issue, it also comes up with a big red warning

"A Newsletter-Only subscription has been registered with this email address. If you currently receive our newsletter, but do not have an account."

even though this address is not listed as a subscriber.

Is there a way that another file that could be interfering with this mod?
Something I have edited elsewhere?

14 Jul 2010, 5:01 AM
#952
sarahjewellery avatar

sarahjewellery

New Zenner

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

Post #952 by sarahjewellery

Gilby,

Thanks for your help, it turned out I had misspelled the template directory name! How stupid of me, and to overlook it so many times!

How frustrating. Thanks

16 Jul 2010, 8:00 AM
#953
1kell avatar

1kell

Zen Follower

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

Post #953 by 1kell

gilby:

What is the error?

After uninstalling this, whenever I go to the "Send Mail", to try to email subcribers I can't, I get this message:

Send Email To Customers

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.

I recall having to run an SQL change when installing this, so there must be something I need to run to uninstall it, right? I don't know what to run though and I am stuck with no email capability, which is really a big inconvenience as you can imagine :frusty:

18 Jul 2010, 5:41 PM
#954
chriscops avatar

chriscops

New Zenner

Join Date:
Mar 2010
Posts:
18
Plugin Contributions:
0

Post #954 by chriscops

buildingblocks:

Does anyone have this mod working on zen cart 1.3.9d?

I did a fresh standard installation of a 1.3.9d cart with no mods except the newsletter subscribe 2.2 version.

In admin when going to tools > send email, I'm getting this error

1267 Illegal mix of collations (latin1_general_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation 'locate'
in:
[SELECT s.email_address as customers_email_address FROM zen_subscribers as s LEFT JOIN zen_configuration as q on LOCATE( s.email_address, q.configuration_value) >= 1 WHERE configuration_key = 'NEWSONLY_SUBSCRIPTION_TEST_GROUP' ]
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.

I am really new at this so please take what I did and consider the source.

My issue was very similar to yours. My illegal collation mix was between utf8_unicode_cla and utf8_general_cl.

I went into phpmyadmin and changed the Collation on the zen_subscribers table to utf8_general_ci on email_address, email_format and confirmed.

I had no data so there was really no risk for me. I suggest a backup though.

If I did something really stupid, I would appreciate being corrected!

18 Jul 2010, 9:38 PM
#955
1kell avatar

1kell

Zen Follower

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

Post #955 by 1kell

Quote:
Originally Posted by gilby
What is the error?

After uninstalling this, whenever I go to the "Send Mail", to try to email subcribers I can't, I get this message:

Quote:
Send Email To Customers

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.

I recall having to run an SQL change when installing this, so there must be something I need to run to uninstall it, right? I don't know what to run though and I am stuck with no email capability, which is really a big inconvenience as you can imagine

I remember when installing this, I ran a SQL thing to uninstall it to check it could be done. That worked, but I can't find what I ran to uninstall this. Whenever someone subscribes now, they don't get added on the database.

29 Jul 2010, 3:32 PM
#956
joannem avatar

joannem

Zen Follower

Join Date:
Jul 2009
Posts:
110
Plugin Contributions:
0

Post #956 by joannem

Does the latest version of this mod still work with 1.3.8a?

Also has this problem been fixed?

When the mod is installed, if a new customer tries to sign up, they can't because it won't accept the country from the drop down menu?

I had to uninstall the mod and overwrite all the files to get the create account to work again :(

I'd really like to use the mod, but can't unless this bug has been fixed.

Thanks in advance,
Joanne

30 Jul 2010, 2:05 AM
#957
1kell avatar

1kell

Zen Follower

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

Post #957 by 1kell

I don't think its been fixed and I would stay away from this if you have 1.3.8a. I now can't send any email at all. Really great when trying to run a business. No one seems to know the answer.

30 Jul 2010, 2:32 AM
#958
joannem avatar

joannem

Zen Follower

Join Date:
Jul 2009
Posts:
110
Plugin Contributions:
0

Post #958 by joannem

OMG, that's awful! Did you uninstall it (make a copy of your subscribers database first). And then overwrite all the affected files with the ones from your original Zen download? That's what I had to do, and it works fine now thank God!!

Yep, I'll stay away from it, at least for now :S

30 Jul 2010, 3:30 AM
#959
1kell avatar

1kell

Zen Follower

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

Post #959 by 1kell

I have a copy of the database from before this, but its a whole copy, I don't know how to break it up to just upload the affected part. You might be interested in trying mailchimp.com. Its free for less than 500 subscribers, and 15p/month after that. Great templates and tutorials. It also helps you design a subscribe box for your site. I think there is also an add-on for it but I haven't looked at that.

31 Jul 2010, 2:44 AM
#960
joannem avatar

joannem

Zen Follower

Join Date:
Jul 2009
Posts:
110
Plugin Contributions:
0

Post #960 by joannem

Open your database up. Use the search and find feature of whatever text editor you're using to find the following:

DROP TABLE IF EXISTS `subscribers`;

and highlight everything from the beginning of that line to the end of the following line:

UNLOCK TABLES;

Then all you have to do is log into your cpanel go to PHPMyAdmin select your store database, and click on SQL at the top of the page.

Paste what you highlighted above into the box and click GO, and poof your subscribers are back :D

Good luck!
Joanne