Posted by JordanMagnuson on September 19, 2012 at 12:00pm
2 followers
Jump to:
| Project: | MailChimp |
| Version: | 7.x-2.x-dev |
| Component: | Lists |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
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
#1
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.
#2
Open to suggestions for how to know if anything has changed.