Hey guys!
I am integrating my listmail pro with the amember membership system. The only thing left to do is update the unsubscription link.
When I use !remove it automatically inserts the removal link.
What I need to do is insert this code:
if (preg_match('/"*(.*?)"*s*<(.+?)>s*$/', $email, $regs)){
$email_only = $regs[2];
} else
$email_only = $email;
$sign = substr(md5($email_only.'-AMEMBER'), 0, 4);
$link = "$config[root_url]/unsubscribe.php?e=$e&s=$sign";
Where $email is the subscribers email address, and it spits out the removal link as $link.
Subscribers are then sent to amember to unsubscribe, and amember makes sure they are also removed from listmailpro.
I just need to know which file "generates" the removal link so I can replace it with my code.
-Scott