Support

Home Forums MailChimp Integration Mailchimp addon stopped working

Mailchimp addon stopped working

Posted: March 9, 2019 at 10:31 pm


J

March 9, 2019 at 10:31 pm

Hi There

We have Event Espresso – 3.1.37.12.P and have the Mailchimp addon 1.3. The Mailchimp addon was deactivated for a couple of weeks and we just re-activated it. The option to select lists for Mailchimp is now not showing at all it existing events in Event Espresso or when we create new events. We have tried deleting and re-uploading the Mailchimp addon, but this did not solve the issue. You help would be much appreciated
Regards, Jacqui


J

March 9, 2019 at 11:40 pm

Hi – just an update on the above. We managed to get the mailchimp integration working (sorry, did not enter right api in new upload ). However, can you let me know the steps/code to make it skip the double-opt in?

Regards, J


Josh

  • Support Staff

March 11, 2019 at 11:29 am

Hi J,

I’m afraid the EE3 Mailchimp add-on does not have an option to skip the double opt-in emails. What you can do is upgrade the site to Event Espresso 4 and install its MailChimp add-on, that version has an option to skip the double opt-in emails.


J

March 12, 2019 at 3:11 am

Thanks Josh

EE4 is excellent and we are planning to transition to this later in the year. In the meantime we would be looking at disabling the double-opt in for the Mailchimp integration version 1.3. In a previous post thread, Tony from Event Espresso provided the below code to disable the double opt-in for the Mailchimp 1.2 integration – would this still work for the 1.3 version?

Regards, Jacqui

“Ok, there is a small modification to one of the files that needs to be made to disabled the double_optin calls.

Within /wp-content/plugins/epsresso-mailchimp/MCAPI.class.php line 1567 is this:

function listSubscribe($id, $email_address, $merge_vars=NULL, $email_type=’html’, $double_optin=true, $update_existing=false, $replace_interests=true, $send_welcome=false) {

Which needs to be changed to this:

function listSubscribe($id, $email_address, $merge_vars=NULL, $email_type=’html’, $double_optin=false, $update_existing=false, $replace_interests=true, $send_welcome=false) {

Notice $double_optin=false disabled the double opt in emails.

Or using FTP you can replace the current file you have with this – http://take.ms/79rDu

Which already has that modification.”


Tony

  • Support Staff

March 12, 2019 at 4:07 am

Tony from Event Espresso provided the below code to disable the double opt-in for the Mailchimp 1.2 integration – would this still work for the 1.3 version?

No, however I’ve just made some modifications to EE3 Mailchimp add-on which adds a filter that can be used to disable the double opt in emails (it’s done differently with v3 of the MailChimp API), I can send you a copy of that to test whilst it works through our review/test/release process if you’d like?

Full disclosure before you say yes, there are a few changes in this version to fix some notices thrown by the add-on with PHP7.2, none of which should cause problems but that’s why review and test changes so this version should be considered beta.


J

March 14, 2019 at 3:25 pm

That’s great, many thanks Tony. Please send it though. In any case, how long do you think the review/test/release process would take? Regards, Jacqui


Tony

  • Support Staff

March 15, 2019 at 3:45 am

You can download a copy HERE.

In any case, how long do you think the review/test/release process would take?

I can’t give you an ETA currently, EE3 is no longer under active development and officially only receives security updates (this is an exception to that as its just adding a filter and fixing some notices in PHP7.2) so it depends on the availability of one of a senior developer to review the code changes.


Tony

  • Support Staff

March 15, 2019 at 6:11 am

Sorry, I also forgot to mention how you would use this branch!

You’ll need a snippet like this:

https://gist.github.com/Pebblo/224d83e6c58fded8b6202293e3f005a1

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

The support post ‘Mailchimp addon stopped working’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Status: closed

Updated by  Tony 7 months, 1 week ago ago

Topic Tags

Tagged: 

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!