Thank you Jeremiah π
I got it in the latest version of the plugin.
Cheers,
Renzo
Oh nice! Is that the version you published yesterday or one yet to be published?
it is from ver 0.3.3 – i think a few weeks back.
What I added in the last update (0.4.0) is the ‘silent’ subscribe. So by default MailChimp will not send a confirmation email to the subscriber. (you may use the opt-in checkbox to give the option to subscribe or not ).
Happy development!
Renzo
Aren’t those two separate things? What I’m talking about is single-opt in. By default mailchimp API has it set to true, although it does look like you changed it to false in this version:
$result = $wrap->lists->subscribe($listid, array('email'=>$email), $merge_vars, false, false, false, false);
What I did was actually add a single opt in option that allows the user to select single or double (just copied format from your other checkbox in settings) and then did the following (note – it is using the older version’s code):
if( isset($cf7_mch['singleoptinoption']) && strlen($cf7_mch['resubscribeoption']) != 0 )
{
$singleoptinoption = false;
}
else
{
$singleoptinoption = true;
}
and then…
$result = $wrap->lists->subscribe($listid, array('email'=>$email), $merge_vars, false, $singleoptinoption, false, false);