Support

Home Forums MailChimp Integration A way to add malchimp integration to user registration instead of event ?

A way to add malchimp integration to user registration instead of event ?

Posted: February 21, 2014 at 7:53 am


Sebastien Matte

February 21, 2014 at 7:53 am

Hello, my setup is 5 possible events with wp-user integration so they need to be logged in to be able to cancel their own tickets. It is events without payments processors.

The thing is that with mailchimp integration set to the events they can receive up to 5 ‘need to confirm your subscription’ emails, on top of up to 5 wordpress confirmation emails. It is a lot to flood the inbox of people.

would there be a short code, or php code, or something else that I could put in my registration form ? I use ‘ user profiles made easy ‘ plugin so my users don’t need to go on the backend, and also to restrict seeing the events to registered & logged in users. I can add different fields in the form.

The ideal would be to have code so that I can add a checkbox to people somewhere in the process. Anyway to do that ?

For now I am thinking of disabling the mailchimp integration until I can resolve the email flood.

Thanks, as usual, for your awesome support. You far outclass most other companies around.


Tony

  • Support Staff

February 21, 2014 at 8:15 am

Hi Sebastien,

A possible solution is to stop the opt-in emails being sent all together, although this involves a little modification to the Mailchimp Add-on code.

Open up espresso-mailchimp/MCAPI.class.php and look at line 1567.

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

Change $double_optin=true to $double_optin=false.

That will add the user to your subscription list without sending the opt-in email.


Sebastien Matte

February 21, 2014 at 9:15 am

thanks, it worked ๐Ÿ™‚


Tony

  • Support Staff

February 21, 2014 at 9:34 am

Great ๐Ÿ™‚

I’ll mark this thread resolved, do let us know if you run into any further issues.

The support post ‘A way to add malchimp integration to user registration instead of event ?’ 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.

Event Espresso