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

16 Feb 2007, 8:21 PM
#401
fruitfly avatar

fruitfly

New Zenner

Join Date:
Mar 2006
Posts:
17
Plugin Contributions:
0

Post #401 by fruitfly

mvveelen:

They are not merged as far as I can see. I checked all the accounts......

There should be an option to select "All Newsletter + all nieuwsbrief-lezer"....... I think I'm not the only one, maybe you can check if this is so on your shops ?

I think maybe you're still misunderstanding what each group is.

All Newsletter subscribers is all customers who have chosen to subscribe (not all customers!) AND all newsletter only (nieuwsbrief-lezer) addresses.

When you say you checked all accounts, I'm not sure you checked the place I mean. You can't look at the Subscription Manager for this info, because it will just show as C for customer (which again, does NOT mean subscriber)

Go into the profile for each customer (Customers -> Customers -> Edit) , and at the bottom of the profile under the Options heading and look at the Newsletter dropdown menu. If every single customer is set to Subscribed (I find it hard to believe that is the case because I've never seen every customer choose to subscribe in any site I've ever run. Many don't want to.) -- then I do not know what the problem is. And I apologize for sounding so sure I'm right. :D

But -- I'm betting you'll see that a few of your customers are set to Unsubscribed.

If you want to send a newsletter or email to all customers (even those who are set to UNSUBSCRIBED) and all newsletter subscribers, you'll have to do it in multiple parts -- one to All Customers and one to each newsletter only subscriber.
Just know that if you have a customer who has chosen NOT to subscribe, and you send them a newsletter, you may face angering a customer, or losing a customer.

If you want to send a newsletter or email to all the people (whether customer or subscriber only) who HAVE subscribed the All Newsletter Subscribers will cover it.

18 Feb 2007, 12:08 PM
#402
mvveelen avatar

mvveelen

New Zenner

Join Date:
Jan 2007
Posts:
27
Plugin Contributions:
0

Post #402 by mvveelen

Not sure if I understand you correct, but I only want to send all customers and nieuwsbrief-lezers who are subscribed. Not the ones that don't want to receive a newsletter.

So I can select all newsletter subscribers (easy), but how can I send all the nieuwsbrief-lezers with just one "click" ? They are all listed seperately, but not as a group ?

18 Feb 2007, 7:35 PM
#403
fruitfly avatar

fruitfly

New Zenner

Join Date:
Mar 2006
Posts:
17
Plugin Contributions:
0

Post #403 by fruitfly

mvveelen:

Not sure if I understand you correct, but I only want to send all customers and nieuwsbrief-lezers who are subscribed. Not the ones that don't want to receive a newsletter.

So I can select all newsletter subscribers (easy), but how can I send all the nieuwsbrief-lezers with just one "click" ? They are all listed seperately, but not as a group ?

The nieuwsbrief-lezers are already included in All Newsletter Subscribers -- that's what that group is. It's all the people (both customers who chose to subscribe and the newsletter only people) that want to get the newsletter.

Everyone that you can send mail to is listed separately in addition to being part of the different groups, I'm guessing in case you wanted to send only to one person. The nieuwsbrief-lezers are noted as such in that list only because you don't have their name on file to display, where the customers have given you that information. The only thing you know about nieuwsbrief-lezers is their email addresses.

18 Feb 2007, 10:38 PM
#404
fruitfly avatar

fruitfly

New Zenner

Join Date:
Mar 2006
Posts:
17
Plugin Contributions:
0

Post #404 by fruitfly

mvveelen:

So I can select all newsletter subscribers (easy), but how can I send all the nieuwsbrief-lezers with just one "click" ? They are all listed seperately, but not as a group ?

Sorry didn't quite catch this when I first answered you (I wasn't fully awake).

On my sites, when I go to either Send Email or Newsletter and Product Notifications Manager to send a message, I see a group called Newsletter-only Subscribers.

Why that's not in your list I'm not sure. My only guess is that maybe you're running an older version of Newsletter-only (I only have the latest release installed, so I can't say if this is something missing from older versions.)

22 Feb 2007, 1:16 AM
#405
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Post #405 by dharma

Hello!

My shop opens in about 3 weeks. I am running ZC 1.3.7 and installed the Nov 14 2006 v1.3.6 2.0.6 version on a test site and it works fine. My question is should I wait for the new release? or roll with the older version?

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

22 Feb 2007, 8:54 AM
#406
ryk avatar

ryk

Totally Zenned

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

Post #406 by ryk

If it's working why wait? I'd almost put money on the next release not being available for a long time if you wait, but if you go ahead, it will be out the next day! It's the Zen Cart way! :laugh:

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

26 Feb 2007, 5:33 PM
#407
tosumaben avatar

tosumaben

New Zenner

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

Post #407 by tosumaben

sparrish:

Okay, I've tested it out, and it works... mostly. There seems to be some sort of issue with the unsubscribe page. When the customer unsubscribes, they ARE removed from the database, but instead of going to a page to verify that they have unsubscribed, I got this error:

1065 Query was empty
in:
[]



I have fixed this error.  Fixed file attached.  Replace  /includes/modules/pages/unsubscribe/header_php.php with it.
I havn't tried all test cases so ymmv.
This is a 2.07 error so don't use this file if you're using 2.06.
26 Feb 2007, 8:44 PM
#408
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Post #408 by chuckl

TosumaBen, I got a similar error recently on the unsubscribe page, on 2.06 I believe, but traced it to the query factory queries stored in the database having soft end of line characters in some of the database strings. Removed these and all was well. Don't know it is related.

Rgds,

27 Feb 2007, 6:22 PM
#409
tosumaben avatar

tosumaben

New Zenner

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

Post #409 by tosumaben

Chuckl:

TosumaBen, I got a similar error recently on the unsubscribe page, on 2.06 I believe, but traced it to the query factory queries stored in the database having soft end of line characters in some of the database strings. Removed these and all was well. Don't know it is related.

This would be a different error as it resulted from a curly brace that moved in the update from 2.06 to 2.07.

3 Mar 2007, 1:06 PM
#410
maryk avatar

maryk

New Zenner

Join Date:
Jun 2006
Posts:
19
Plugin Contributions:
0

Post #410 by maryk

This is just what I was looking for. The installation seemed to be going well until I tried to install the box in the custom header:

Warning: main(includes/templates/template_default/templates/tpl_subscribe_header.php) [function.main]: failed to open stream: No such file or directory in /home/.../includes/modules/CUSTOM_TEMPLATE/subscribe_header.php on line 20

executing:

<?php // BEGIN newsletter_subscribe mod 1/1 if(defined('NEWSONLY_SUBSCRIPTION_ENABLED') && (NEWSONLY_SUBSCRIPTION_ENABLED=='true') && (NEWSONLY_SUBSCRIPTION_HEADER=='true')) { include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_SUBSCRIBE_HEADER)); } // END newsletter_subscribe mod 1/1 ?>

It is going to templalte_default rather than the CUSTOM_TEMPLATE, I think.
Can you advise?

Thanks!
Mary

14 Mar 2007, 9:56 AM
#411
troy77 avatar

troy77

New Zenner

Join Date:
Jan 2007
Posts:
45
Plugin Contributions:
0

Post #411 by troy77

Hi all,

How do i make it so its a blank template and i can put my own html in the newsletters without the tables, writing and logo been there already?

Thanks

16 Mar 2007, 12:33 AM
#412
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Post #412 by knuckle_101

You can add an image to the newsletter by doing copying the file I have attached

edit the section below to match your domain and image location use the image size of 125x90 for best results

define('BOX_SUBSCRIBE_DEFAULT_TEXT', '<img src="http://www.yourdomain.com/images/newsletter/subscribe.jpg">');

If you have any kind of php or coding knowledge you can add whatever you desire to.

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

18 Mar 2007, 11:51 AM
#413
tez avatar

tez

New Zenner

Join Date:
Jun 2006
Posts:
56
Plugin Contributions:
0

Post #413 by tez

When updating Email Address of a customer through shop front end website you get a problem.
Email Address shows up as

[email protected]'[email protected]

I think this code is the problem, but I am not sure how to fix it with the weird colon prefixes.

	  $sql = "UPDATE " . TABLE_SUBSCRIBERS . " SET
			email_address = :emailAddress'" . $email_address . "',
			email_format = :emailFormat'" . $email_format . "'
			WHERE customers_id = :customersID";
18 Mar 2007, 1:03 PM
#414
tez avatar

tez

New Zenner

Join Date:
Jun 2006
Posts:
56
Plugin Contributions:
0

Post #414 by tez

UPDATE:
I removed the :emailFormat and :emailAddress, fixed my problem. Also need to DELETE existing records that match the new email address when they are NULL customers_id to avoid "duplicate key" errors. And if you add/import an email address via ADMIN which already exists as a customer address you will cause trouble, there needs to be code to check for that.

19 Mar 2007, 6:57 AM
#415
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Post #415 by meltdown

Is it possible to remove the "HTML" & "TEXT-Only" plus the corresponding buttons from this module? If so, can the internal settings default to html for all customers?

Thanks!

19 Mar 2007, 12:07 PM
#416
tez avatar

tez

New Zenner

Join Date:
Jun 2006
Posts:
56
Plugin Contributions:
0

Post #416 by tez

MeltDown:

Is it possible to remove the "HTML" & "TEXT-Only" plus the corresponding buttons from this module? If so, can the internal settings default to html for all customers?

Thanks!

HTML is the default option so if you just hide the form buttons in the subscribe and update account areas it would suffice.

19 Mar 2007, 12:22 PM
#417
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Post #417 by meltdown

tez:

HTML is the default option so if you just hide the form buttons in the subscribe and update account areas it would suffice.

Thanks for responding, Tez. Could I impose on you for a bit more detail? I've been digging around but this is a pretty beefy module and I'm feeling a bit out of my league. What steps would I follow to make this change?

Thanks again - Tim

19 Mar 2007, 11:29 PM
#418
bjorn avatar

bjorn

New Zenner

Join Date:
May 2005
Posts:
23
Plugin Contributions:
0

Post #418 by bjorn

If you are experiencing problems with the header display it's because the template file is not referenced. Fix:

Open: root/includes/modules/MYTEMPLATE/subscribe_header.php

Replace: (Line 20)

require($template->get_template_dir('tpl_subscribe_header',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_subscribe_header.php');

With:

require($template->get_template_dir('tpl_subscribe_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_subscribe_header.php');

Error is the missing .php extension on the first tpl_subscribe_header.

Cheers,

Bjorn

24 Mar 2007, 12:52 AM
#419
kadesign avatar

kadesign

Totally Zenned

Join Date:
Feb 2005
Location:
New Jersey
Posts:
593
Plugin Contributions:
0

Post #419 by kadesign

Does this work with 1.3.7? Is there a lot of modifications to make it work if it doesn't?

Thanks,
Kelly

Kelly Ann
Raven Media, LLC

24 Mar 2007, 12:56 AM
#420
jewelrylady avatar

jewelrylady

Totally Zenned

Join Date:
Sep 2005
Location:
ny
Posts:
434
Plugin Contributions:
0

Post #420 by jewelrylady

Yes it works with 1.3.7, i just installed it yesterday and I am Modded out!! hehehe