Hi

Patch for changing listinterestgroups() which is deprecated (http://www.mailchimp.com/api/1.2/listinterestgroups.func.php) for listinterestgroupings() (http://www.mailchimp.com/api/1.2/listinterestgroupings.func.php).

Reason is not only that, as I mention, is deprecated, but that it only lists the first group of a list. New method lists all the groups with extra info for each.

It requires updating MCAPI.class.php to 1.2.6

Attaching both module's patch and link to new API PHP wrapper version (http://www.mailchimp.com/api/downloads/#php)

I would really like to see this committed, as it is critical in pretty much al the projects I've work on.

Cheers

CommentFileSizeAuthor
mailchimp.patch6.9 KBjm.federico

Comments

jm.federico’s picture

Check a live version of it working:
https://www.intermedium.com.au/user/register
You'll see multiple groups within the same list

jm.federico’s picture

Version: 6.x-2.0-rc5 » 6.x-2.0

Changing version, no idea why chose RC5. It is against 2.0 final

jm.federico’s picture

Title: change listinterestgroups() (DEPRECATED) for listinterestgroupings() » change listinterestgroups() (DEPRECATED) for listinterestgroupings() to allow multiple groups per list

changing title

levelos’s picture

Status: Needs review » Fixed

I ended up not using your patch as I rolled this change into several other fixes and refactors. Thanks for the contribution, though, and this functionality is now committed to 6.x-2.x.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.