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 Nov 2007, 6:47 PM
#561
poosk avatar

poosk

Totally Zenned

Join Date:
Mar 2005
Location:
Helsinki
Posts:
477
Plugin Contributions:
0

Post #561 by poosk

sparrish:

I see what you mean now, poosk. Never tried linking directly to the subscribe page, but I'll see what I can do about that. Shouldn't be anything complicated.

Excuse my stupidness how is this mod suppose to work then? sidebar or what?

Anyway would appreciate if you can help

12 Nov 2007, 6:50 PM
#562
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Post #562 by delia

As been stated in the past couple of pages - no, I didn't go back and read all 50 some pages, you can't delete subscribers in admin. The id numbers do not carry to the form. The id number does show in the url
subscription_manager.php?page=1&tID=549&cID=&action=delete
so the breakdown must come here

$subscriber_id = zen_db_prepare_input($_GET['tID']);
$customers_id = zen_db_prepare_input($_GET['cID']);

      $db->Execute("delete from " . TABLE_SUBSCRIBERS . "
                    where subscriber_id = '" . (int)$subscriber_id . "'");
      if(!empty($customers_id)) {
        $sql = "UPDATE " . TABLE_CUSTOMERS . " set customers_newsletter = '0'
                    where customers_id = '" . (int)$customers_id . "'";
        $db->Execute($sql);     

I'm running php5 but seeing no errors. Anyone got an idea?

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

12 Nov 2007, 6:56 PM
#563
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Post #563 by delia

oh, sorry, it happens when you search for a email address and then try to delete it from that screen - not when deleting from the original list.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

13 Nov 2007, 2:37 AM
#564
wowemall avatar

wowemall

Zen Follower

Join Date:
Jan 2005
Posts:
101
Plugin Contributions:
0

Post #564 by wowemall

same problem i face, how to solve this problem ?

18 Nov 2007, 2:59 AM
#565
firstov avatar

firstov

New Zenner

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

Post #565 by firstov

Customers receive html format newsletter emails containing html text and some $variables, like shown below:
.snip
Successful and Prosperous Holiday Season.

$EMAIL_CONFIRMATION_LINK
$EMAIL_CONTACT_OWNER
$EMAIL_CLOSURE

Copyright (c) 2007 AllCraftsOnline
This email address was given to us by you or by one of our customers
.snip

Again all generated emails look normal except some undefined variables inserted as is in the message body.

When customers subscribe on text version of the newsletter it works fine - they get correct message, no undefined variables in the email.

This ONLY happens when sending html newsletters. The subscription emails and text newsletters are always fine.

Any help is appreciated...

Custom Crafts Online
http://allcraftsonline.com

18 Nov 2007, 8:03 AM
#566
lynnbell2002 avatar

lynnbell2002

New Zenner

Join Date:
Oct 2007
Posts:
6
Plugin Contributions:
0

Post #566 by lynnbell2002

I have been reading this thread all the way thru and still haven't found an answer to my problem. I have done a fresh install of Newsletter Subscribe V2.0on my site and have checked it multiple times, but when I go to Admin, Subscription Manager does not show in The Customers tab. Any ideas what I can check next?

Lynn

http://www.lynnb-jewels.com

18 Nov 2007, 8:59 AM
#567
lynnbell2002 avatar

lynnbell2002

New Zenner

Join Date:
Oct 2007
Posts:
6
Plugin Contributions:
0

Post #567 by lynnbell2002

I solved the previous problem, by doing a 4th re-instal of the mod, now getting error message " ERROR: Failed sending email to: "" with subject: "Please confirm LynnB Jewels newsletter subscription" SMTP Error: The following recipients failed: ...." . Off to do more research, but am getting very frustrated.

Lynn

18 Nov 2007, 3:27 PM
#568
lynnbell2002 avatar

lynnbell2002

New Zenner

Join Date:
Oct 2007
Posts:
6
Plugin Contributions:
0

Post #568 by lynnbell2002

lynnbell2002:

I solved the previous problem, by doing a 4th re-instal of the mod, now getting error message " ERROR: Failed sending email to: "" with subject: "Please confirm LynnB Jewels newsletter subscription" SMTP Error: The following recipients failed: ...." . Off to do more research, but am getting very frustrated.

Lynn

Just discovered that these email addresses are listed in the Subscription Manager, but are showing as pending. Any ideas?

Lynn
http://www.lynnb-jewels.com

22 Nov 2007, 3:54 PM
#569
firstov avatar

firstov

New Zenner

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

Post #569 by firstov

firstov:

Customers receive html format newsletter emails containing html text and some $variables, like shown below:
.snip
Successful and Prosperous Holiday Season.

$EMAIL_CONFIRMATION_LINK
$EMAIL_CONTACT_OWNER
$EMAIL_CLOSURE

Copyright (c) 2007 AllCraftsOnline
This email address was given to us by you or by one of our customers
.snip

Again all generated emails look normal except some undefined variables inserted as is in the message body.

When customers subscribe on text version of the newsletter it works fine - they get correct message, no undefined variables in the email.

This ONLY happens when sending html newsletters. The subscription emails and text newsletters are always fine.

Any help is appreciated...
:smile:
it was mod installation mistake, while manually copying email/email_template_newsletter_subscription.html file into email folder email_template_newsletters.html file was overwritten instead.
Restoring the original template file fixed the problem.

Custom Crafts Online
http://allcraftsonline.com

29 Nov 2007, 11:45 AM
#570
redpaint avatar

redpaint

New Zenner

Join Date:
Jun 2007
Posts:
10
Plugin Contributions:
0

Post #570 by redpaint

v2.0.7 Bugs

Hi, we have discovered the following bugs on v2.0.7:

When searching for an email address then trying to delete that subscriber the delete function does not work.

When sorting by any field the sort order does not maintain state across pages.

When customers are added to the subscriber list through purchases and dates are in UK (correct) format they do not display correctly e.g. 30/11/2036

Hope this helps future development of a very useful module.

30 Nov 2007, 6:28 PM
#571
weezee avatar

weezee

Zen Follower

Join Date:
May 2006
Location:
Louisiana
Posts:
259
Plugin Contributions:
0

Post #571 by weezee

Help Please I downloaded Newletter subscribe v207. I was testing my create an account it won't let me create an account I get this message
You must select a country from the Countries pull down menu, It's only one country there United States I select it and I still get the same message.

I am waiting for an answer before I uninstall it.

1 Dec 2007, 3:45 AM
#572
weezee avatar

weezee

Zen Follower

Join Date:
May 2006
Location:
Louisiana
Posts:
259
Plugin Contributions:
0

Post #572 by weezee

Well don't look like I'm going to get any help, no surprise to me.

1 Dec 2007, 3:35 PM
#573
firstov avatar

firstov

New Zenner

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

Post #573 by firstov

it's a known bug not related to the newsletter subscriptions. Please search the forum I saw it was answered somewhere already. I had this bug when upgraded my store from ZC 1.3.6 to 1.3.7.

weezee:

Help Please I downloaded Newletter subscribe v207. I was testing my create an account it won't let me create an account I get this message
You must select a country from the Countries pull down menu, It's only one country there United States I select it and I still get the same message.

I am waiting for an answer before I uninstall it.

Custom Crafts Online
http://allcraftsonline.com

2 Dec 2007, 4:40 AM
#574
weezee avatar

weezee

Zen Follower

Join Date:
May 2006
Location:
Louisiana
Posts:
259
Plugin Contributions:
0

Post #574 by weezee

I had already check the forum before I posted, the error was different. this is the error they were getting when they were trying to create an account: 1146 Table 'bea15660_zc1.TABLE_SUBSCRIBERS' doesn't exist
in:
[select count(*) as total from TABLE_SUBSCRIBERS where email_address = '[email protected]' ] I dont't see the answer to that problem either.

3 Dec 2007, 7:48 PM
#575
poosk avatar

poosk

Totally Zenned

Join Date:
Mar 2005
Location:
Helsinki
Posts:
477
Plugin Contributions:
0

Post #575 by poosk

I'm having a MAJOR problem, When customer changes his email from account page the newsletter manager confuses old and new address and they end up looking like this [email protected]'[email protected]....

I just might be missing some file but not really likely

4 Dec 2007, 3:24 PM
#576
poosk avatar

poosk

Totally Zenned

Join Date:
Mar 2005
Location:
Helsinki
Posts:
477
Plugin Contributions:
0

Post #576 by poosk

sparrish:

I see what you mean now, poosk. Never tried linking directly to the subscribe page, but I'll see what I can do about that. Shouldn't be anything complicated.

poosk:

thanks for the update and contribution but still the same major problem remains that email address error is displayed EVERY time customer enters the subscribe page... even if he wouldn't had ever visited the page or yet typed anything in the box

Please help me to edit the header php file or subscribe template file to fix this problem!!

4 Dec 2007, 4:44 PM
#577
poosk avatar

poosk

Totally Zenned

Join Date:
Mar 2005
Location:
Helsinki
Posts:
477
Plugin Contributions:
0

Post #577 by poosk

I'm totally losing my nerves with this thing.. Since I've used my whole day to solve this and I really don't know how to figure it out please help.

  1. problem
    index.php?main_page=subscribe displays always an error when someone enters the page -> Fix: change the error (from header.php and language file) to display something nonconfusing like enter your email

I can transfer all logged in customers straight to account_newsletters (copied from module/pages/login/header.php) which probably solves something at least makes things easier

3.MAJOR problem
If email is edited from account_edit it creates duplicate entry from email in to the subscription manager and does NOT override the previous email. Same happens whatever is updated from account_edit and subscription manager ends up having entry [email protected]'[email protected]

4.MAJOR problem
All subscriptions made through index.php?main_page=subscribe are TEXT-ONLY even though html would be selected and displayed as default it won't work...

Byte, Ajeh, anyone please help me since I just don't have enough insight how these things work in zen. MANY THANKS

4 Dec 2007, 5:38 PM
#578
cjpinder avatar

cjpinder

Totally Zenned

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

Post #578 by cjpinder

poosk:

I'm having a MAJOR problem, When customer changes his email from account page the newsletter manager confuses old and new address and they end up looking like this [email protected]'[email protected]....

To fix this you need to edit the includes/modules/pages/account_edit/header_php.php file and change the bit that says...

      $sql = "UPDATE " . TABLE_SUBSCRIBERS . " SET
            email_address = :emailAddress'" . $email_address . "',
            email_format = :emailFormat'" . $email_format . "'
            WHERE customers_id = :customersID";
```...to...
```php
      $sql = "UPDATE " . TABLE_SUBSCRIBERS . " SET
            email_address = :emailAddress,
            email_format = :emailFormat
            WHERE customers_id = :customersID";
```It should be somewhere near line 163.

Hope that helps.

Regards,
Christian.
4 Dec 2007, 6:24 PM
#579
poosk avatar

poosk

Totally Zenned

Join Date:
Mar 2005
Location:
Helsinki
Posts:
477
Plugin Contributions:
0

Post #579 by poosk

Christian THANK YOU! That did the trick.. and I found a way to change the it to html by default but can I hide the radio buttons (text & html) somehow since they don't work anyhow?

4 Dec 2007, 8:10 PM
#580
cjpinder avatar

cjpinder

Totally Zenned

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

Post #580 by cjpinder

poosk:

4.MAJOR problem
All subscriptions made through index.php?main_page=subscribe are TEXT-ONLY even though html would be selected and displayed as default it won't work...

To fix this you need to edit the /includes/templates/YOUR_TEMPLATE/templates/tpl_subscribe_header.php file and change the lines that read...

    $content .= '<label class="smallText">' . zen_draw_radio_field('customers_email_format', 'HTML', true) . ENTRY_EMAIL_HTML_DISPLAY . '</label>';
    $content .= '<label class="smallText">' . zen_draw_radio_field('customers_email_format', 'TEXT', false) . ENTRY_EMAIL_TEXT_DISPLAY . '</label>';
```...to...
```php
    $content .= '<label class="smallText">' . zen_draw_radio_field('email_format', 'HTML', true) . ENTRY_EMAIL_HTML_DISPLAY . '</label>';
    $content .= '<label class="smallText">' . zen_draw_radio_field('email_format', 'TEXT', false) . ENTRY_EMAIL_TEXT_DISPLAY . '</label>';
```Should be round lines 22-23.

Hope that helps.

Regards,
Christian.