Zen Cart Logo
Forums / All Other Contributions/Addons / Newsletter Center V. 0.8 BETA

Newsletter Center V. 0.8 BETA

Views: 47,903

Results 1 to 20 of 135
16 Sep 2006, 12:52 PM
#1
masterblaster avatar

masterblaster

Totally Zenned

Join Date:
Aug 2004
Location:
Germany
Posts:
528
Plugin Contributions:
0

Newsletter Center V. 0.8 BETA

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

General:

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

  • 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.

16 Sep 2006, 4:21 PM
#2
masterblaster avatar

masterblaster

Totally Zenned

Join Date:
Aug 2004
Location:
Germany
Posts:
528
Plugin Contributions:
0

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.

17 Sep 2006, 10:37 PM
#3
gmoyle avatar

gmoyle

Zen Follower

Join Date:
Jan 2004
Location:
Reno, NV
Posts:
98
Plugin Contributions:
1

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'=>'phplist');

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

18 Sep 2006, 1:43 PM
#4
masterblaster avatar

masterblaster

Totally Zenned

Join Date:
Aug 2004
Location:
Germany
Posts:
528
Plugin Contributions:
0

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

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

should be

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

Changing the download file....

19 Sep 2006, 6:27 AM
#5
gmoyle avatar

gmoyle

Zen Follower

Join Date:
Jan 2004
Location:
Reno, NV
Posts:
98
Plugin Contributions:
1

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??

19 Sep 2006, 7:10 AM
#6
gmoyle avatar

gmoyle

Zen Follower

Join Date:
Jan 2004
Location:
Reno, NV
Posts:
98
Plugin Contributions:
1

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_page=newsletter_center&action=subscribe

and compare to how it is displayed in phplist here:
http://izadra.com/phplist/lists/?p=subscribe&id=1

19 Sep 2006, 7:13 AM
#7
gmoyle avatar

gmoyle

Zen Follower

Join Date:
Jan 2004
Location:
Reno, NV
Posts:
98
Plugin Contributions:
1

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

19 Sep 2006, 7:26 AM
#8
gmoyle avatar

gmoyle

Zen Follower

Join Date:
Jan 2004
Location:
Reno, NV
Posts:
98
Plugin Contributions:
1

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.

19 Sep 2006, 12:27 PM
#9
masterblaster avatar

masterblaster

Totally Zenned

Join Date:
Aug 2004
Location:
Germany
Posts:
528
Plugin Contributions:
0

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...

19 Sep 2006, 1:45 PM
#10
gmoyle avatar

gmoyle

Zen Follower

Join Date:
Jan 2004
Location:
Reno, NV
Posts:
98
Plugin Contributions:
1

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.

19 Sep 2006, 9:50 PM
#11
masterblaster avatar

masterblaster

Totally Zenned

Join Date:
Aug 2004
Location:
Germany
Posts:
528
Plugin Contributions:
0

Re: Newsletter Center V. 0.8 BETA

Thank you for pointing out - I will need to to debug this issue and find out where exatly the error is hidden, since this is an important part of the contrib....

22 Sep 2006, 11:14 PM
#12
panelcart avatar

panelcart

Zen Follower

Join Date:
Sep 2006
Posts:
125
Plugin Contributions:
0

Re: Newsletter Center V. 0.8 BETA

SUPERB! JUST AMAZING. I was thinking if someone would do this it would be grrreat, but I dont have 1/5 the knowhow to do something like that then bam you do it. Amazing, thanks for this I appreciate the hard work put through on it, looks great.

Im having the confirmation e-mail problem 2. My other e-mails work aswell.

Anyway cant wait to see it finished.

Thanks
Gavin

25 Sep 2006, 6:22 PM
#13
pglatz avatar

pglatz

New Zenner

Join Date:
Aug 2004
Posts:
17
Plugin Contributions:
0

Re: Newsletter Center V. 0.8 BETA

Looks like a great project, thanks for doing it. A few notes/questions...

  1. When I try subscribing to a list, the newsletter description has an apostrophe in it, which is getting displayed with a backslash in front of it. Maybe these should get flitered out withstripslashes()?

  2. If I don't click the checkbox for the newsletter, instead of a message telling me I need to select at least one newsletter, I'm told there are no newsletters I can subscribe to at this time. This should be changed, and maybe some client-side validation could check it before it is submitted.

  3. When I do check the bo and submit, an entry is made into phplist's table, but with a blank email. There is no $_POST['email']at entry of the subscribe_confirmed phase. I'm not actually getting subscribed.

thanks

29 Sep 2006, 3:12 PM
#14
boylan avatar

boylan

New Zenner

Join Date:
Sep 2006
Location:
Gillette, NJ, USA
Posts:
35
Plugin Contributions:
0

Re: Newsletter Center V. 0.8 BETA

Any progress with the confirmation email problems? When I enter any email address and subscribe, I get returned to the Newsletter Center page with no confirmation that what was submitted was accepted.

In addition, I receive no confirmation email and in the PHPlist admin, no subscribers - confirmed or unconfirmed - are showing up. Is this an error in my setup or are they contrib bugs?

If you need any further feedback or help debugging, just ask - my site is still a week from going live, so I can fool around a bit.

3 Oct 2006, 2:55 PM
#15
masterblaster avatar

masterblaster

Totally Zenned

Join Date:
Aug 2004
Location:
Germany
Posts:
528
Plugin Contributions:
0

Re: Newsletter Center V. 0.8 BETA

Sorry for delay...I have been on a business meeting abroad last week...

I am still working on it and fixing the bugs. I should have a new download ready by today evening....

9 Oct 2006, 2:36 PM
#16
bettysue avatar

bettysue

Inactive

Join Date:
May 2004
Posts:
747
Plugin Contributions:
0

Re: Newsletter Center V. 0.8 BETA

I am getting ready to install both phplist and the mod. Does phplist need to be installed in the store directory or outside of the store?

thank you,

betty

10 Oct 2006, 3:26 AM
#17
mafiasam avatar

mafiasam

Zen Follower

Join Date:
Jan 2006
Location:
Portland, Oregon
Posts:
256
Plugin Contributions:
0

Re: Newsletter Center V. 0.8 BETA

masterblaster:

Sorry for delay...I have been on a business meeting abroad last week...

I am still working on it and fixing the bugs. I should have a new download ready by today evening....

I am looking forward to using this contribution. Hopefully you can get the bugs worked out.

thanks for the hard work.

10 Oct 2006, 4:13 AM
#18
gmoyle avatar

gmoyle

Zen Follower

Join Date:
Jan 2004
Location:
Reno, NV
Posts:
98
Plugin Contributions:
1

Re: Newsletter Center V. 0.8 BETA

bettysue:

I am getting ready to install both phplist and the mod. Does phplist need to be installed in the store directory or outside of the store?

thank you,

betty

It can be in any folder you wish it to be. In the configuration (take a look at the install file in the module) you specify where your phplist configuration files are located.

10 Oct 2006, 4:34 AM
#19
boylan avatar

boylan

New Zenner

Join Date:
Sep 2006
Location:
Gillette, NJ, USA
Posts:
35
Plugin Contributions:
0

Re: Newsletter Center V. 0.8 BETA

Masterblaster --

While I do really want to use this mod, my site is going live very shortly, and I cannot use it if it is broken.

I understand that it is offered for free, and I am more than willing to help you find and fix bugs, but I held off in looking for fixes since you said a new release was imminent. If this is not the case, please tell us, so that I can try to fix what I can. I don't want to duplicate efforts and have little time before launch, but I am willing to help for the next week or so. After that, I will be forced to abandon it and will be unable to help you further.

I am sorry if I sound bitchy, but I am in a time crunch now. Thanks for your efforts so far,

Chris

22 Oct 2006, 6:14 AM
#20
panelcart avatar

panelcart

Zen Follower

Join Date:
Sep 2006
Posts:
125
Plugin Contributions:
0

Re: Newsletter Center V. 0.8 BETA

Hi,

Any update regarding this?

I have it installed but its not sending people confirmations to complete the process.

An update would be verrrry nice :blink:

Thanks so far :cool: