ListMailPRO Email Marketing Software Forums

ListMailPRO Email Marketing Software Forums => Development, Suggestions => Topic started by: dtrack on November 29, 2005, 06:58:14 am

Title: Remove subscriber from list1 when added to list2
Post by: dtrack on November 29, 2005, 06:58:14 am
This is a feature I'd love to see. The ability to move customers from a 'leads' list to a 'customer' list.

i.e. When setting up a responder for customers I'd like to be able to select from a drop down list which responder I want them to be unsubscribed from.

Thanks

Dean
Title: Remove subscriber from list1 when added to list2
Post by: BGSWebDesign on November 29, 2005, 07:13:45 am
Hi,

Quote
select from a drop down list which responder I want them to be unsubscribed from.


Excellent idea, but I think you'll need more than a dropdown, since you may to Unsub them from several lists (or all other lists), I know that is something I would like... for now you need to do it manually, delete from each of the lists they may be in when adding to a specific list.

Good idea...
Title: Remove subscriber from list1 when added to list2
Post by: DW on November 29, 2005, 02:21:47 pm
What you can also do is put some code such as follows into a file named "signup-xtra.php" in your main ListMail folder.

This example removes users from lists 2 and 3 when they subscribe or are added or imported to List 1.
Code: [Select]
<?phpif($list=='1'){ mysql_query("update $utable set cnf = '2' where (list = '2' or list = '3') and email like '$email';");}?>

I will consider the best way to make this an option and put it on the list of future updates.  I think a simple text box on the List Settings page accepting comma-delimited list numbers would work.  "When a user is added, remove them from these lists [2,3       ]"

Regards
Title: Remove subscriber from list1 when added to list2
Post by: BGSWebDesign on December 01, 2005, 06:40:39 am
Hi,

Quote
This example removes users from lists 2 and 3 when they subscribe or are added or imported to List 1


What about using the CUSTOM MySQL insert script (Perl) or other flavor... I'm guessing that this signup-xtra.php is NOT called in that situation, correct?

If that is the case you need to do the deleting in your Custom Insert Script for the list...
Title: Remove subscriber from list1 when added to list2
Post by: DW on December 01, 2005, 08:08:29 am
Yes, that's right.  The only way to get around this would be to log when each user has signup-xtra.php run on them and then run signup-xtra.php in a loop during dailymail for those users who haven't had it run.

Regards
Title: Remove subscriber from list1 when added to list2
Post by: dtrack on January 30, 2006, 08:46:28 pm
I've been away from the forum for quite a while. Did this feature ever get added?
It's a really important feature for marketers.

Thanx
Title: any updates
Post by: chris6 on February 16, 2006, 09:18:45 am
I too would like to know if this was ever achieved?
Title: Remove subscriber from list1 when added to list2
Post by: DW on February 17, 2006, 11:23:35 pm
This is still only possible with the signup-xtra.php custom modification mentioned in this post.

signup-xtra.php will not run automatically on users inserted into the database with a custom script.  What you can do in this case is view signup-xtra.php to find out the variables it expects, set the variables (and list) to the correct values for the curent user, and then load signup-xtra.php from your script.

Regards
Title: Remove subscriber from list1 when added to list2
Post by: DW on April 18, 2006, 11:56:36 am
This was added for v1.86!