Support » Plugin: Fast Secure Contact Form Newsletter » Interest update letter

  • Resolved mvbaxter


    We have multiple lists for people to sign up. When a user signs up to a second list, their name is removed from the first list, and they receive a “Thank you for your Change in Interests” automated message from Constant Contact.

    Each list requests slightly different information, so we must have separate forms for each.

    We need users to be able to sign up on multiple lists, just not using a single form.

    Otherwise, this is a great plugin! It was really easy to configure and get working.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Added the following code to the listSubscribe() function in CC_SuperClass. This allows me to add to my lists, rather than replacing them:

    // Check if email already exists; update if it does
     if($existingID = self::CC_Contact()->subscriberExists($params['email_address'])) {
    //added next three lines to ensure our new selection adds to our subscribed lists, instead of replacing them...
    	$contactDetails = self::CC_Contact()->getSubscriberDetails($params['email_address']);
    	$contactLists = $contactDetails['lists'];
    	$params["lists"] = array_unique(array_merge($contactLists, $params["lists"]));
    //end of new code
                $contactXML = self::CC_Contact()->createContactXML((string)$existingID,$params);
    Plugin Author Zack Katz


    Thanks, @mvbaxter – sorry I didn’t see your code sooner!

    This is also fixed in version 2.0.1, released today.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Interest update letter’ is closed to new replies.