Downloads
Download tar.gz
33.71 KB
MD5: 8b9b03f176902d5ee788d25b483ba06d
SHA-1: a963761f5898310bb8d631eb8a26176c4649f5ec
SHA-256: 24b88ff32225a0edf5993cffbbd7c8abb4dc65ed157d39c2fdb231a76bec4251
Download zip
35.44 KB
MD5: 5ab28949afe9d6d5ca3c1baef0bc7fbf
SHA-1: e65428d6ca1dd4bd6a67e67fc5a64fa15d78827e
SHA-256: 4e6b4345cfd51f6ba794b24fed3286bcf8043d0d8137887235835f05306bcb3d
Release notes
This release includes a MAJOR overhaul of how list data is stored. Previously, there was a variable used for each list and for each setting, and every time we needed to get the available MC lists, we had to query mailchimp. With the new approach all saved lists are stored as an array of objects in the variables table, making them easily accessible and easier to work with.
IMPORTANT NOTE: Settings from previous versions are not carried over and will need to be reapplied on the mailchimp configuration page. Sorry, happy to take suggestions on how I can migrate them.
- the module was incorrectly handling the use case when an email address was updated. It was unsubscribing a user / then resubscribing with the new address, and this may be behind #527964: hook_user is subscribe/unsubscribe users accidentally
- functional separation for required lists. Users subscribed to required lists are added/updated/removed in hook_user during insert, update, or delete operations. Non-required lists are maintained when the profile form is submitted, using form_alter.
- added hook_perm instead of relying on administer site configuration.
- complete refactoring of how the stand alone subscribe form works, including addressing the problem with interest groups, #567384
- checking for tempty token array, #558220: Warning messagem on 6.x-2.x-dev
- added a basic block to display all available lists for a given user
- map MailChimp marge vars to Drupal form fields #433312: Map MailChimp input to Drupal FormAPI (patch attached)
- pass dates in proper format for use in merge vars, #539954: User Edit Page Freezes / Bad Response. Got This: Warning: strtotime() expects parameter 1 to be string, array given
- newest version, MCAPI v1.2.3, of MailChimp PHP library
- moved update/insert functionality out of hook_user and into form_alter with submit handlers. Addresses #527964: hook_user is subscribe/unsubscribe users accidentally.