I've moved my mailchimp list registration form onto the main user account page as per http://drupal.org/node/1780942 .

The problem now is, every time the user saves their profile, they get the message "You have updated your settings in list x" even when they have not changed their list subscriptions at all, which is confusing to users.

I think mailchimp_update_user needs to be patched to only show the update message if the user actually changes their mailchimp subscription settings.


JordanMagnuson’s picture

Title: Only show message "You have updated your settings in list x" if settings have changed » mailchimp_update_user() should only be called if the user has actually changed something

Should also probably apply to the watchdog messages.

I think the problem is actually with mailchimp_lists_user_subscribe_form_submit(): We are calling mailchimp_update_user() regardless of whether they have changed anything on the subscription form.

levelos’s picture

Category: bug » feature

Open to suggestions for how to know if anything has changed.

adam_b’s picture

I've hidden it with string_replace, but it would be good to have the option to suppress messages.

amyvs’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

“And now our watch [for support of the 7.x-2.x version of the MailChimp module] has ended…” With the approaching deprecation of MailChimp’s API version 2.0, I’m sad to say we too must turn the page. This branch will become unsupported in early October and officially deprecated by the end of this year (2016).

Fret not! The 7.x-4.x and 8.x versions come highly recommended. Both are using Mailchimp’s new API 3.0 and are being actively maintained. If you find this issue still exists on either the 7.x-4.x or 8.x branches, let us know by opening a new ticket. “What is dead may never die, but rises again, harder and stronger!”