I have set myself up a second list for memberships. Basically on my site the user can purchase membership and then they are given a new role. This also automatically adds them to my membership list, however when their membership expires and the role is removed they remain on the list in mailchimp and ideally they need to be removed.

Should this already happen or would that functionality need to be added. Anyway if it should happen here's my settings for the list:

Roles: just the membership roles is selected
Subcription method: required
Require subscribers to Double Opt-in: not selected
no merge fields

Comments

levelos’s picture

Interesting use case, one that's not currently being handled. A user is only being removed from a list if they are deleted from the system. Seems like a reasonable feature, I'll leave it open and add to the list. Patches welcome, of course.

levelos’s picture

Status: Active » Fixed

Should be taken care of in the latest dev release and a soon to be created RC2

marcus178’s picture

That's great news, thankyou.

Status: Fixed » Closed (fixed)

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

garbo’s picture

Version: 6.x-2.0-rc1 » 6.x-2.x-dev

Hi,

I'm using the latest dev version of the Mailchimp module and have a very comparable usecase and settings as Marcus178 has. But when a role is removed from a user (either manualy by the admin or automaticaly after expiration) the user is still subscribed to the mailinglist that is connected to the role.

miss-susan’s picture

Status: Closed (fixed) » Active

Hello all - I am really loving the Mailchimp module, thanks for all the hard work.

I have a similar use case to the two people above, my site sells email subscriptions through Ubercart and I need to be able to have customers unsubscribed from the Mailchimp mailing list when their site role expires.

I am running Drupal 6.19 and Mailchimp 6.x - 2.2. Any help with this would be appreciated!

levelos’s picture

Status: Active » Fixed

I had this working in hook_user() but not during cron processing. Implemented in http://drupal.org/cvs?commit=454560.

miss-susan’s picture

Forgive my ignorance, but what does "not during cron processing" mean? Does it still remove users based on role?

Status: Fixed » Closed (fixed)

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