ListMailPRO Email Marketing Software Forums

ListMailPRO Email Marketing Software Forums => General Help & How-To => Topic started by: richardwing on January 21, 2008, 05:42:10 am

Title: add to another list rules issue
Post by: richardwing on January 21, 2008, 05:42:10 am
Can you tell me how I can modify the script so that when a user joins a list and I have the rule to add them to other lists it will not add them until they have confirmed to the first list?

Thanks,
Richard Wing
Title: add to another list rules issue
Post by: DW on January 22, 2008, 08:25:28 am
Hi Richard,

I can only think of one way to do this and that is with the included xtra/signup-xtra.php script.  Copy this file to your main ListMail folder and add some code such as:
Code: [Select]
if($list=='1'){
 $url = "http://example.com/mail/signup.php?list=2&email=" .urlencode($email)."&fname=" .urlencode($fname)."&lname=" .urlencode($lname);
   $lmp = fopen($url,'r');
   fclose($lmp);
}


Reference: A simpler PHP insertion script (http://listmailpro.com/forum/index.php?topic=1160.0)

When the user signs up for the first list it will automatically add them to the second list upon confirmation.  Signup-xtra.php commands are always optional when adding users manually.

Regards