Get the book

Go Back   Zen Cart Support > Community Contributed Add-Ons > All Other Contributions/Addons

All Other Contributions/Addons Discussion of contributions/addons not categorized above

Reply
 
Thread Tools Display Modes
Old 16th September 2006, 02:52 PM   #1
masterblaster
Totally Zenned
 
masterblaster's Avatar
 
Join Date: Aug 2004
Location: Germany
Posts: 665
Default Newsletter Center V. 0.8 BETA

This is the official Newsletter Center Beta - it integrates Zen-Cart with PHPlist

General:
Quote:
PHPlist is a great open source software, just as Zen-Cart, that manages newsletters perfectly.
The newsletter center code is an integration between Zen-Cart and PHPlist. It makes it easy to
allow not registered users to apply to an email list easily. This code pulls all data from the PHPlist
database -> e.g. which newsletter lists can be subscribed to, which fields are required for them and so on....
Features
Quote:
  • subscribe newsletter with/out account
  • subscribe to multiple newsletter list
  • get custom user input, based on PHPlist attributes
  • unsubscription and preferences changes only possible for actual owner of email address
  • optin email addresses user has to confirm his email address
  • easy unsupscription possible when following unsubscribe link in email
  • all powerfull features of PHPlist
  • and some more not listed here....
This mod has a permanent download location, where you can always get the newest version. Visit Site

Please direct all question, comments, bug report, support or feature requests to this forum.
masterblaster is offline   Reply With Quote
Old 16th September 2006, 06:21 PM   #2
masterblaster
Totally Zenned
 
masterblaster's Avatar
 
Join Date: Aug 2004
Location: Germany
Posts: 665
Default Re: Newsletter Center V. 0.8 BETA

A small typo fixed - if you downloaded a version before I posted this. Please be sure to get a newer version again.
masterblaster is offline   Reply With Quote
Old 18th September 2006, 12:37 AM   #3
gmoyle
Zen Follower
 
Join Date: Jan 2004
Location: Reno, NV
Posts: 123
Re: Newsletter Center V. 0.8 BETA

I was very excited to see this mod. I have been using phplist for the last year, independant of zen-cart, and had just installed the newletter subscribe only mod when I saw this. I uninstalled that mod to install yours (as my list is almost 6000 users strong now, and I have phplist tweaked for this list without timeout issues).

I just installed it, followed the instructions, but I am seeing a fatal error when I load it.


Fatal error: Cannot instantiate non-existent class: phplist in /home/xxxxxx/public_html/includes/autoload_func.php on line 79

If I comment out the autoload config lines

$autoLoadConfig[51][] = array('autoType'=>'class','loadFile'=>'phplist_class.php');

$autoLoadConfig[51][] = array('autoType'=>'classInstantiate','className'=>'phplist','objectName'=>'phpli st');

in the config.phplist.php in the autoload folder, the error goes away, and I am able to run my site, but the subscribe function no longer works. The module loads and I can see it from my site, but then subscirbing errors (obviously).

I am running
zencart 1.3.5
phplist 2.10.2
Server OS: Linux 2.6.17.6-ts.grh.mh.i386
Database: MySQL 4.1.21-standard
PHP Version: 4.4.4 (Zend: 1.3.0)
HTTP Server: Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7f
__________________
Site - http://www.izadra.com
gmoyle is offline   Reply With Quote
Old 18th September 2006, 03:43 PM   #4
masterblaster
Totally Zenned
 
masterblaster's Avatar
 
Join Date: Aug 2004
Location: Germany
Posts: 665
Default Re: Newsletter Center V. 0.8 BETA

I made a mistake in the auto loader file. Since all this progress I made, I changed the class file name a bit. The part where it states

PHP Code:
 $autoLoadConfig[51][] = array('autoType'=>'class',
                               
'loadFile'=>'phplist_class.php'); 
should be
PHP Code:
 $autoLoadConfig[51][] = array('autoType'=>'class',
                               
'loadFile'=>'class.phplist.php'); 
Changing the download file....
masterblaster is offline   Reply With Quote
Old 19th September 2006, 08:27 AM   #5
gmoyle
Zen Follower
 
Join Date: Jan 2004
Location: Reno, NV
Posts: 123
Default Re: Newsletter Center V. 0.8 BETA

Ok, that fixed that error. I went through and made the changes to my phplist. Now when I submit an email from the sidebox, it takes me to a page with copy, and the email address filled in, with a continue button.

I click continue, and I get a nicely formatted page saying that the database connectivity isnt working.

Any clue what I may have missed??
__________________
Site - http://www.izadra.com
gmoyle is offline   Reply With Quote
Old 19th September 2006, 09:10 AM   #6
gmoyle
Zen Follower
 
Join Date: Jan 2004
Location: Reno, NV
Posts: 123
Default Re: Newsletter Center V. 0.8 BETA

I figured it out. The application needs the path to the parent just above the config folder. I had my config pointing two folders up, to an incorrect folder path.

The newsletter manager reads the phplist config file, and if it cannot locate it, then it does not have the information it needs to connect to the phplist database.

Very excited now that I have that part working.

Onto the next issue.

I am finding that the configuration attributes aren't displayed the same as they are in phplist. In fact, only the first of the four I have configured in phplist is being displayed.

You can view this mod on my site here:
http://www.izadra.com/index.php?main...tion=subscribe

and compare to how it is displayed in phplist here:
http://izadra.com/phplist/lists/?p=subscribe&id=1
__________________
Site - http://www.izadra.com
gmoyle is offline   Reply With Quote
Old 19th September 2006, 09:13 AM   #7
gmoyle
Zen Follower
 
Join Date: Jan 2004
Location: Reno, NV
Posts: 123
Default Re: Newsletter Center V. 0.8 BETA

And a suggestion.

If there is only one list, the checkbox should default to on, or it shouldn't even show the list name, just set it as default as a hidden setting.

If I have only one list, there is no reason to make the user make a selection.

Greg
__________________
Site - http://www.izadra.com
gmoyle is offline   Reply With Quote
Old 19th September 2006, 09:26 AM   #8
gmoyle
Zen Follower
 
Join Date: Jan 2004
Location: Reno, NV
Posts: 123
Default Re: Newsletter Center V. 0.8 BETA

Confirmation emails don't appear to be going out through this system either. They work correctly using my default phplist subscribe pages.
__________________
Site - http://www.izadra.com
gmoyle is offline   Reply With Quote
Old 19th September 2006, 02:27 PM   #9
masterblaster
Totally Zenned
 
masterblaster's Avatar
 
Join Date: Aug 2004
Location: Germany
Posts: 665
Default Re: Newsletter Center V. 0.8 BETA

I am already on my way to make display improvements. I will post an update later today on that..... regarding the email issue. Do you have a server log that says, that they were send out? - Maillog. Might want to activate the zen-cart email archiver and install the contribution, that lists all those emails in archive. You can find it in the download section...
masterblaster is offline   Reply With Quote
Old 19th September 2006, 03:45 PM   #10
gmoyle
Zen Follower
 
Join Date: Jan 2004
Location: Reno, NV
Posts: 123
Default Re: Newsletter Center V. 0.8 BETA

I am viewing the log. The email_to_name field contains the email address, and the email_to_address contains the word Subscriber. The email_from_address is blank.

This appears to be the problem (keep in mind, all my other email functionality is currently working).

Thanks for all your hard work on this.
__________________
Site - http://www.izadra.com
gmoyle is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newsletter mooncavecrystals Customization from the Admin 5 17th September 2006 08:01 AM
newsletter not reaching everyone GinaMiller Email - Newsletters 5 18th August 2006 08:13 PM
Can we view newsletter opens? mlm2005 Email - Newsletters 2 9th July 2006 10:49 PM
Newsletter - Is it possible to create a newsletter in publisher?? Diva Email - Newsletters 7 24th June 2006 07:24 AM


All times are GMT +1. The time now is 03:46 PM.

Learn tips, tricks & secrets for your Zen Cart™
Sign up for our FREE Newsletter

Powered by vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content and Graphics Copyright (c) 2006, 2007, 2008, 2009, 2010 Zen Ventures, LLC - all rights reserved
Get Zen Cart E-Commerce Shopping Cart at SourceForge.net. Fast, secure and Free Open Source software downloads