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

5 Aug 2006, 5:37 PM
#201
picou avatar

picou

Zen Follower

Join Date:
Sep 2005
Location:
Montpellier - FRANCE
Posts:
124
Plugin Contributions:
0

Post #201 by picou

Ok, I reloaded the orriginal file by ftp and all is fine!
One of those misterious things...
Thanks

Languedoc french wines

6 Aug 2006, 9:34 PM
#202
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Post #202 by ryk

Not been able to locate this in the thread, but have got this error message in a ZC1.3.0.2 as soon as I click the email button.```
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 ':admin_id' at line 1
in:
[select 'ADMIN' as customers_firstname, admin_name as customers_lastname, admin_email as customers_email_address from zen_admin where admin_id = $SESSION:admin_id ]


I'd appreciate any advice on this.

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

6 Aug 2006, 9:45 PM
#203
notgoddess avatar

notgoddess

Zen Follower

Join Date:
Jan 2005
Location:
Waukee, Iowa
Posts:
206
Plugin Contributions:
0

Post #203 by notgoddess

Ryk:

Not been able to locate this in the thread, but have got this error message in a ZC1.3.0.2 as soon as I click the email button.```
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 ':admin_id' at line 1
in:
[select 'ADMIN' as customers_firstname, admin_name as customers_lastname, admin_email as customers_email_address from zen_admin where admin_id = $SESSION:admin_id ]

> 
> I'd appreciate any advice on this.

That is a reference to this thread:
<http://www.zen-cart.com/forum/showthread.php?t=38281>

If you use that, you also need to make edits to audience.php (in catalog includes section...email seems to draw from there rather than admin)

-Ng_

NotGoddess (Sara Jacobson)
NotGoddess.com

6 Aug 2006, 10:33 PM
#204
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #204 by drbyte

Actually, the code NotGoddess posted a link to is "already" built-in to v1.3.0.2.

However, if you're getting that error, you likely missed upgrading your /includes/functions/audience.php file.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

6 Aug 2006, 10:49 PM
#205
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Post #205 by ryk

An odd one that as I'd updated (twice) with the most recent version which I downloaded this evening - unless it failed to transfer via FTP.

However, following the edit, everything now works fine! Thanks.

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

7 Aug 2006, 12:28 PM
#206
notgoddess avatar

notgoddess

Zen Follower

Join Date:
Jan 2005
Location:
Waukee, Iowa
Posts:
206
Plugin Contributions:
0

Post #206 by notgoddess

Just an update-
I'll be putting out the final release this week. Apologies for the delay, but RL takes precedence. :(

-Ng_

NotGoddess (Sara Jacobson)
NotGoddess.com

9 Aug 2006, 6:43 AM
#207
bucktoothmama avatar

bucktoothmama

New Zenner

Join Date:
Aug 2006
Posts:
5
Plugin Contributions:
0

Post #207 by bucktoothmama

NotGoddess:

I can do that. It's actually a good idea to allow a page (or sidebox) with allows both subscriptions and removal at once (I've been depending on the 'unsubscribe' link supplied with the cart).

If you'll give me a day or so I can get it out for you-I have to rewrite the subscribe/unsubscribe processing to properly using multiple submits.

-Ng_

I am also looking for code for a page like this. Has it been posted somewhere?

7 Sep 2006, 9:37 PM
#208
flakrat avatar

flakrat

New Zenner

Join Date:
Apr 2005
Posts:
74
Plugin Contributions:
0

Post #208 by flakrat

Any news on the updated version?

Also, has anyone used the Zen Cart newsletter system to send the newsletter to over 1000 users?

If so, have you had any problems with the script timing out or other problems?

7 Sep 2006, 10:31 PM
#209
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #209 by drbyte

flakrat:

Also, has anyone used the Zen Cart newsletter system to send the newsletter to over 1000 users?

If so, have you had any problems with the script timing out or other problems?
Yes, and yes. Alternative: http://www.zen-cart.com/forum/showthread.php?p=216150#post216150

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Sep 2006, 5:37 AM
#210
ericpeng avatar

ericpeng

Zen Follower

Join Date:
Jan 2006
Posts:
115
Plugin Contributions:
0

Post #210 by ericpeng

after subscribe successful, press refresh on the borwser
or click more than once on the link to confirm subscription in email
then;
Warning: require(includes/templates/template_default/templates/tpl_subscribe_header.php) [function.require]: failed to open stream: No such file or directory in C:\wamp\www\includes\modules\ilync\subscribe_header.php on line 20

Fatal error: require() [function.require]: Failed opening required 'includes/templates/template_default/templates/tpl_subscribe_header.php' (include_path='.;C:\php5\pear') in C:\wamp\www\includes\modules\ilync\subscribe_header.php on line 20

is this normal, or did I do anything wrong ??

Eric

8 Sep 2006, 5:54 AM
#211
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #211 by drbyte

ericpeng:

includes/templates/template_default/templates/tpl_subscribe_header.php) [function.require]: failed to open stream: No such file or directory
I'd start by making sure the indicated file is actually on your server ...

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

9 Sep 2006, 4:01 AM
#212
radish avatar

radish

New Zenner

Join Date:
Jan 2006
Posts:
67
Plugin Contributions:
0

Post #212 by radish

Hi,

Just wondering if this mod is good to go with v1.3.5 or should I save myself some time and energy (maybe even frustration) and wait for the update?

Cheers,

Colin

9 Sep 2006, 7:00 AM
#213
pensive612 avatar

pensive612

Zen Follower

Join Date:
May 2006
Posts:
313
Plugin Contributions:
0

Post #213 by pensive612

I just reinstalled it after the upgrade and am having some troubles...

is it not compatible with v1.35? or am i just too tired..

  • pensive612
9 Sep 2006, 8:20 AM
#214
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Post #214 by ryk

I haven't tried it on 1.3.5 but I have it running perfectly on 1.3.0.2 sites. May I remind people that before loading any mod it really should be habitual to do a file compare.

Obviously, those mods which create completely new files are a different matter, but anything that touches core files, or even previous overrides, needs to be checked first.

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

9 Sep 2006, 10:05 AM
#215
pensive612 avatar

pensive612

Zen Follower

Join Date:
May 2006
Posts:
313
Plugin Contributions:
0

Post #215 by pensive612

I hear you loud and clear...

works fine on all my 1.3.0.2 sites as well...

it was about the 10th mod i've installed tonight.

gonna give it a fresh start tomorrow. just wondering if anyone had gotten it perfect, to eliminate the wonder...

thanks again.

  • pensive612
9 Sep 2006, 4:52 PM
#216
notgoddess avatar

notgoddess

Zen Follower

Join Date:
Jan 2005
Location:
Waukee, Iowa
Posts:
206
Plugin Contributions:
0

Post #216 by notgoddess

I'm checking 1.3.5 compatibility now (It'll take a few hours for full check).

I'm still completely bogged down with work but since this is a security I'll move things around and get any changes out as soon as I can.

-Ng_

NotGoddess (Sara Jacobson)
NotGoddess.com

9 Sep 2006, 6:08 PM
#217
notgoddess avatar

notgoddess

Zen Follower

Join Date:
Jan 2005
Location:
Waukee, Iowa
Posts:
206
Plugin Contributions:
0

Post #217 by notgoddess

@ericpeng
Just copy the tpl_subscribe_* files in your templates/yourtemplate/templates/ directory into template_default and you'll be fine (no need to overwrite the unsubscribe template...you do that in your own template).

Due to an initial misunderstanding of how things work those files weren't added to the default_template folder.

ericpeng:

Warning: require(includes/templates/template_default/templates/tpl_subscribe_header.php) [function.require]: failed to open stream: No such file or directory in C:\wamp\www\includes\modules\ilync\subscribe_header.php on line 20

-Ng_

NotGoddess (Sara Jacobson)
NotGoddess.com

9 Sep 2006, 6:53 PM
#218
pensive612 avatar

pensive612

Zen Follower

Join Date:
May 2006
Posts:
313
Plugin Contributions:
0

Post #218 by pensive612

Thanks NG,

when its ready to go, I'll install and help spread the word...

  • pensive612
11 Sep 2006, 5:36 PM
#219
peteh avatar

peteh

New Zenner

Join Date:
May 2006
Posts:
22
Plugin Contributions:
0

Post #219 by peteh

NotGoddess,

Installed your Newsletter-only mod today and it all works fine .. at least it isn't doing anything strange that I've spotted yet.

Did a careful comparison of files for those I know I've changed and that changed in the 1.3.5 update and after going crossed-eyed it all worked.

Thanks for the mod,

Pete

11 Sep 2006, 5:42 PM
#220
notgoddess avatar

notgoddess

Zen Follower

Join Date:
Jan 2005
Location:
Waukee, Iowa
Posts:
206
Plugin Contributions:
0

Post #220 by notgoddess

There don't seem to be any conflicts with zc1.3.5, other than the template_default issue mentioned earlier.
I'm trying to get the new release out-I thought it would be sat/sun but I ended up having two emergencies to handle. I'm going to work on it tonight, but unsure if I'll get it out as I'm exhausted (5hrs sleep out of 48hrs = bad) and will likely need to (try) to sleep early. Tuesday night-wed is the best bet.

-Ng_

NotGoddess (Sara Jacobson)
NotGoddess.com