phpList version 2.10.x - Code Enhancements

These Code Enhancements or hacks are documented here purely for my own benefit. That said if they are of any use to you in enhancing either your UX factor or your mass emailing solution then by all means feel free to download and incorporate into your site.

All code enhancements have been tested and working within normal parameters from v2.10.16. through to 3.2.5 though not all are available for download. This has primarily come about after I mentioned on the forum that I had written an enhancement that allowed the inclusion of Placeholders in the system generated messages sent out to new subscribers and I was slapped down for telling porky pies by the developers. Two years later they finally worked out how to do it.

Do not forget to backup both your database and the files that will be modified .


HTML eMail - Part 1

Inital Release: 20.12.2012 Version 1.0.0
Latest Release: 21.01.2013 Version: 1.0.2
Compatible with: 2.10.17 - 2.10.19

Shown below are all the code modifications required to allow the Administrator Generated eMails to be sent to a new subscriber in HTML format rather than plain text..

HTML eMail - Part 2

Inital Release: 20.12.2012 Version 1.0.0
Latest Release: 21.01.2013 Version: 1.0.2
Compatible with: 2.10.17 - 2.10.19

This modification makes changes to the [LISTS] placeholder which appears in the initial eMail that a new subscriber receives after completing the subscription form.. ...

HTML eMail - Part 3

Inital Release: 20.12.2012 Version 1.0.0
Latest Release: 21.01.2013 Version: 1.0.2
Compatible with: 2.10.17 - 2.10.19

This modification makes changes to the [LISTS] & [USERDATA] placeholders which appear in the "Preferences Update" eMail that a subscriber receives after updating..

Curious Bug

Inital Release: 20.12.2012 Version 1.0.0
Latest Release: 21.01.2013 Version: 1.0.2
Compatible with: 2.10.17 - 2.10.19

As you can see from the four images below the effects of this bug that only affects "The One" are quite dramatic in that it literally decimates page formatting......

Duplicate eMail Address

Inital Release: 20.12.2012 Version 1.0.0
Latest Release: 21.01.2013 Version: 1.0.2
Compatible with: 2.10.17 - 2.10.19

Shown below are all the code modifications required to prevent someone adding a subscriber email address after it has already been ...

Captcha

Inital Release: 20.12.2012 Version 1.0.0
Latest Release: 21.01.2013 Version: 1.0.2
Compatible with: 2.10.17 - 2.10.19

This modification will add another layer of security to your subscriber pages in the form of a Captcha image. A random set of easily read characters ..

News Archive - Standard

Inital Release: 20.12.2012 Version 1.0.0
Latest Release: 16.09.2013 Version: 1.0.8
Compatible with: 2.10.17 - 2.10.19

Shown below are all the code modifications required to add a Newsletter Archive page to you system. This is based on original work by Adrian ..

News Archive with Pagination

Inital Release: 20.12.2012 Version 1.0.0
Latest Release: 21.01.2013 Version: 1.0.2
Compatible with: 2.10.17 - 2.10.19

This is an updated version of 1.0.5 which now includes pagination that allows visitors to select previous/next Newsletters whilst displaying the ....

View Newsletters OnLine

Inital Release: 20.12.2012 Version 1.0.0
Latest Release: 20.02.2013 Version: 1.0.2
Compatible with: 2.10.17 - 2.10.19

Shown below are all the code modifications required to update TomAble's hack that allows subscribers to view HTML Newsletters in their browser. .....

Unsubscribe Envelope Headers

Inital Release: 20.12.2012 Version 1.0.0
Latest Release: 07.03.2013 Version: 1.0.2
Compatible with: 2.10.17 - 2.10.19

Shown below are all the code modifications required to include the List-Unsubscribe header in your eMails based on the original phpList ...

Blacklisting Switch

Inital Release: 20.12.2012 Version 1.0.0
Latest Release: 21.01.2013 Version: 1.0.2
Compatible with: 2.10.17 - 2.10.19

There is definitely a problem with the logic used when a subscriber unsubscribes from a list. Rather than saying sorry to see ...

Comment Spammer IP Address

Inital Release: 03.09.2013 Version 1.0.0
Latest Release: 03.09.2013 Version: 1.0.0
Compatible with: 2.10.17 - 2.10.19

A small piece of code that will add the IP Address of a Spam attcker to the eMail sent to the administrator .. ..