Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.
Comments
Comment #1
JordanMagnuson CreditAttribution: JordanMagnuson commentedShould 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.
Comment #2
levelos CreditAttribution: levelos commentedOpen to suggestions for how to know if anything has changed.
Comment #3
adam_b CreditAttribution: adam_b commentedI've hidden it with string_replace, but it would be good to have the option to suppress messages.
Comment #4
amytswan CreditAttribution: amytswan at ThinkShout commented“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!”