Author Topic: Remove subscriber from list1 when added to list2  (Read 3586 times)

dtrack

  • Posts: 17
    • View Profile
Remove subscriber from list1 when added to list2
« 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

BGSWebDesign

  • Posts: 625
    • View Profile
    • http://www.bgswebdesign.com
Remove subscriber from list1 when added to list2
« Reply #1 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...
Thanks,
-Brett
http://www.bgswebdesign.com/Contact-Us.php

*** I do custom List Mail Pro installations ***
Contact me through my website (above)

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Remove subscriber from list1 when added to list2
« Reply #2 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
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

BGSWebDesign

  • Posts: 625
    • View Profile
    • http://www.bgswebdesign.com
Remove subscriber from list1 when added to list2
« Reply #3 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...
Thanks,
-Brett
http://www.bgswebdesign.com/Contact-Us.php

*** I do custom List Mail Pro installations ***
Contact me through my website (above)

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Remove subscriber from list1 when added to list2
« Reply #4 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
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

dtrack

  • Posts: 17
    • View Profile
Remove subscriber from list1 when added to list2
« Reply #5 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

chris6

  • Posts: 93
    • View Profile
any updates
« Reply #6 on: February 16, 2006, 09:18:45 am »
I too would like to know if this was ever achieved?

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Remove subscriber from list1 when added to list2
« Reply #7 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
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Remove subscriber from list1 when added to list2
« Reply #8 on: April 18, 2006, 11:56:36 am »
This was added for v1.86!
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting