Hi DW,
I'm loving this new release (v. 1.84), as I finally upgraded from v. 1.7b. It's a radical change....
There are still some things I believe that could be improved.
While I love the new Custom HTML and the sets (see another post about providing us a way to select a SET), there is still something missing here...
Let me explain, in v. 1.7b, I made my own customization so that I had 3 additional buttons on the Custom HTML screen - UnsubALL Confirm, UnsubALL Success, and UnsubALL Error, as follows (in custom.php):
<td>
<form method=post action=$PHP_SELF>
<input type=hidden name=remallconform value=1>
<input type=hidden name=list value=$list>
<input class=button type=submit value=\"UnsubALL Confirm\">
</td></form>
<td width=3><img src=1.gif width=3></td>
<td>
<form method=post action=$PHP_SELF>
<input type=hidden name=remallsucform value=1>
<input type=hidden name=list value=$list>
<input class=button type=submit value=\"UnsubALL Success\">
</td></form>
<td width=3><img src=1.gif width=3></td>
<td>
<form method=post action=$PHP_SELF>
<input type=hidden name=remallerrform value=1>
<input type=hidden name=list value=$list>
<input class=button type=submit value=\"UnsubALL Error\">
</td></form>
</tr>
I then added 3 refvals in the code like this:
if($remallconform){ $refval = 'removeall'; }
if($remallerrform){ $refval = 'remallerro'; }
if($remallsucform) { $refval = 'remallsucc'; }
The reason I did this is because it allowed me to have SEPARATE Html screens for Remove from ALL lists, this is required since, the Remove from ALL lists needs to tell the subscriber that if the click Remove on this screen they will NEVER get another email from you - and it could potentially save inadvertent unsubscribes by letting the user think about their actions before pressing this button - it gives them a little pause, before they click it and remove themselves forever from your list!
This code then provided additional html in the previous lm_custom table, as follows:
INSERT INTO lm_custom VALUES (163,1,'removeall','<html>\r\n<head>\r\n<title>Remove ALL Confirmation Page</title>\r\n</head>\r\n<body bgcolor=white>\r\n!fname !lname,<br><br>\r\nYour name was successfully retrieved from our database. We apologize if mailings from this list were an inconvenience to you and hope you are able to find what you were looking for in the future. Please confirm that you would like your email address (!email) <b>removed from ALL mailing lists</b> by clicking the button below.\r\n<P>\r\n<font color=\"red\">Remember, this will remove you from ALL lists.</font> If you wish to remain in some lists, and not others, click the other remove link in your email, do not click below. You may also email the list administrator at: <a href=\"mailto:brett@yourdomain.com\">brett@yourdomain.com</a> to request that you are only removed from some lists and not all of them...\r\n<P>\r\n!button\r\n<P>\r\n','Remove Me From ALL -Your Domain - Lists','','','','');
INSERT INTO lm_custom VALUES (164,1,'remallerro','<html>\r\n<head>\r\n<title>Email Address Not Found!</title>\r\n</head>\r\n<body bgcolor=white>\r\nYour email address (!email) was not found in our database! This error should never happen, please contact the administrator of this web site for a manual removal.<br>\r\n</body>\r\n</html>','','','','','');
INSERT INTO lm_custom VALUES (165,1,'remallsucc','<html>\r\n<head>\r\n<title>Removal ALL Success Page</title>\r\n<body bgcolor=white>\r\n!fname !lname,\r\n<P>\r\nYour email address (!email) was successfully <b>removed from ALL mailing lists</b>. You will not receive any more email from our server. \r\n<P>\r\nWe\'re sorry you decided to leave and wish you the best in the future!\r\n<P>\r\nManagement<br>\r\n</body>\r\n</html>','','','','','');
This also provide a different Button: Remove me from ALL Lists, so that the user thinks again about clicking it, before they are gone forever....
I believe this feature needs to be added to LMP v. 1.8x, for the reasons listed above... how about it DW? I have the code to do it above, but since you no longer use the lm_custom table, I don't have the time to go through your new insertion routines to figure out where to put it, can you help out, or consider adding it soon?