phpList version 3.0.x - Code Enhancements
HTML eMail Part 1
It was interesting to see how the developers have incorporated the ability to wrap the system generated messages in an HTML template. Which without some sort of guidelines setting this up was not entirely obvious, and with the one remaining brain cell currently overloading I'd already tweaked the code along the lines of the v2 hack before realising how the developers had updated the new system.
You have to go into "Manage Campaign templates" and click on "Add Default System Template" which then shows you that the Template has been assigned an id (Remember it). At this point click on "edit template" and you are presented with the default template as prepared by phpList. Edit this to suit your requirements, then save it.
Armed with the id of your new system template proceed to the Configuration Settings and scroll down until you find "transactional settings". Here you will see "The HTML wrapper template for system messages" which should be displaying the id of the new system template, if not then edit and save. You may then play around with the subscriber confirmation messages, again to suit your requirements.
Now that is where I have a problem, what I want as a system administrator vis-a-vi the eMail formatting is entirely different to the image I wish to portray to subscribers, just as I believe the subscriber pages should be a reflection of my website and not a brutal dark uninviting vision that says "Stay Away".
Whilst Hacking the code to suit me I discovered that the developers had switched off the ability to send a confirmation message to subscribers that had updated their preferences. You guessed it, I switched it back on again. Strangely though they had left the input screen where you can input said message in the Configuration Settings, very strange but I'm glad they did.
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 or using the inbuilt System Template.
The origin of the modifications can be found by piecing together forum submissions from a number of individuals including evilpuppetmaster!, sardos and ameoba. For your convienience and just in case I forget I have brought them all together on one page.
However much of the code used on v2 is no longer relevant and therefore this hack must only be applied to V3.
Subscriber System eMails Affected
- Please Confirm Your Details.
- Welcome to our Newsletter
- Your Preferences have been Updated
- You have been Unsubscribed
- Change eMail Details - Message to Old address
- Change eMail Details - Message to New address
- Message to Non-Confirmed Subscribers.
|12-04-2019||2.2.7||Documentation updated for phpList 3.4.1|
|18-03-2019||2.2.6||Documentation updated for phpList 3.4.0|
|27-02-2019||2.2.5||Documentation updated for phpList 3.3.9|
|21-02-2019||2.2.4||Documentation updated for phpList 3.3.7|
|30-11-2018||2.2.3||Documentation updated for phpList 3.3.6|
|20-11-2018||2.2.2||Documentation updated for phpList 3.3.5|
|22-09-2018||2.2.1||Documentation updated for phpList 3.3.4|
|29-05-2018||2.2.0||Documentation updated for phpList 3.3.3|
|14-02-2017||2.1.9||Documentation updated for phpList 3.3.1|
|06-02-2017||2.1.8||Documentation updated for phpList 3.3.0|
|31-01-2017||2.1.7||Documentation updated for phpList 3.3.0 RC4||08-01-2017||2.1.6||Documentation updated for phpList 3.2.7|
|10-11-2016||2.1.5||Documentation updated for phpList 3.2.6|
|06-10-2016||2.1.4||Documentation updated for phpList 3.2.6 rc1|
|28-05-2016||2.1.3||Documentation updated for phpList 3.2.5|
|25-02-2016||2.1.2||Documentation updated for phpList 3.2.4|
|23-02-2016||2.1.1||Documentation updated for phpList 3.2.3|
|21-02-2016||2.1.0||Code & Documentation updated for phpList 3.2.2|
|13-02-2016||2.0.10||Updated documentation for phpList 3.2.1|
|06-02-2016||2.0.9||Updated documentation for phpList 3.2.0|
|05-02-2015||2.0.8||Updated documentation for phpList 3.0.12|
|12-01-2015||2.0.7||Updated documentation for phpList 3.0.11|
|24-10-2014||2.0.6||Updated documentation for phpList 3.0.9 & 10|
|13-09-2014||2.0.5||Updated documentation for phpList 3.0.8|
|21-08-2014||2.0.4||Updated documentation for phpList 3.0.7|
|28-05-2014||2.0.3||Added missing image alt"Tracker" to reduce spam score|
|26-04-2014||2.0.2||Confirmed compatability with phpList v3.0.6|
|05-09-2013||2.0.1||Added the switch changes to enable the Preference Update eMail sent to subscribers|
|04-09-2013||v2.0.0||initial release - Allows sending of properly defined HTML eMails|
|phpList with AG-P Hacks is distributed under the LGPL. Read More|
|12.04.2019||2.2.7||Apply to phpList v3.4.1||3.4.1||Download|
|18.03.2019||2.2.6||Apply to phpList v3.4.0||3.4.0||Download|
|27.02.2019||2.2.5||Apply to phpList v3.3.9||3.3.9||Download|
|21.02.2019||2.2.4||Apply to phpList v3.3.7||3.3.7||Download|
|30.11.2018||2.2.3||Apply to phpList v3.3.6||3.3.6||Download|
|20.11.2018||2.2.2||Apply to phpList v3.3.5||3.3.5||Download|
|22.09.2018||2.2.1||Apply to phpList v3.3.4||3.3.4||Download|
|29.05.2018||2.2.0||Apply to phpList v3.3.3||3.3.3||Download|
|14.02.2017||2.1.9||Apply to phpList v3.3.1||3.3.1||Download|
|06.02.2017||2.1.8||Apply to phpList v3.3.0||3.3.0||Download|
|31.01.2017||2.1.7||Apply to phpList v3.3.0 RC4||3.3.0 RC4||Download|
|08.01.2017||2.1.6||Apply to phpList v3.2.7||3.2.7||Download|
|10.11.2016||2.1.5||Apply to phpList v3.2.6||3.2.6||Download|
|06.10.2016||2.1.4||Apply to phpList v3.2.6 rc1||3.2.6 rc1||Download|
|28.05.2016||2.1.3||Apply to phpList v3.2.5||3.2.5||Download|
|25.02.2016||2.1.2||Apply to phpList v3.2.4||3.2.4||Download|
|23.02.2016||2.1.1||Apply to phpList v3.2.3||3.2.3||Download|
|21.02.2016||2.1.0||Apply to phpList v3.2.2||3.2.2||Download|
|13.02.2016||2.0.10||Apply to phpList v3.2.1||3.2.1||Download|
|06.02.2016||2.0.9||Apply to phpList v3.2.0||3.2.0||Download|
|05.02.2015||2.0.8||Apply to phpList v3.0.12||3.0.12||Download|
|12.01.2015||2.0.7||Apply to phpList v3.0.11 only||3.0.11||Download|
|24.10.2014||2.0.6||Apply to phpList v3.0.9 & 10 only||3.0.10||Download|
|13.09.2014||2.0.5||Apply to phpList v3.0.8 only||3.0.8||Download|
|21.08.2014||2.0.4||Apply to phpList v3.0.7 only||3.0.7||Download|
|05.04.2014||2.0.2||Coding chanes for phpList 3.0.6||3.0.6||Download|
All photographs & images are the copyright of Alan G Fairhall and may not be reproduced or downloaded without express permission from the photographer