Thanks for the great module. Is a version in the works for Drupal 6? If not, then i need to look for another solution.

Thanks..

Comments

ronan’s picture

Category: feature » task

Not yet, I'm not sure when I'll get a chance to update this but it's certainly a todo item.

4drian’s picture

Not a programmer myself but might it be a candidate for conversion using deadwood (http://drupal.org/project/deadwood)? I can try it myself but would have difficulty assessing whether it had converted properly. I'm guessing that some of the segmenting features would need working on to play nicely with the new content profile module for D6.

Bèr Kessels’s picture

I am working on a D6 version. Patches will follow, but for now, I like to get your heads up for testing, adrianlewis and ronan.
Can you get your testing environments ready to do some tests for D6 in the next days?

Bèr

4drian’s picture

I don't have a testing environment as such, not even a Mailchimp account I'm afraid (yet). Still evaluating for a future project and very much like the look of Mailchimp's service. Got other priorities at the moment but might get back into this in a few weeks if it's of any value by then. Great to hear that you might be picking up the challenge though. Many thanks for whatever you manage to contribute.

ronan’s picture

Bèr,
Certainly will and thanks for helping out with this.

Bèr Kessels’s picture

Status: Active » Needs work
StatusFileSize
new16.32 KB

Attached is a first patch.

I did not get it to work, but that could be due to the API itself (I got an errormessage telling me to use another API).

The variables under settings did not save, but that too is due to the error in the API.

Bèr Kessels’s picture

The error I get, is "Since you have never used the API, you should start with a current version".

It sounds unreleated to the upgrade.

philltran’s picture

Version: 5.x-1.x-dev » 5.x-2.x-dev

Mailchimp upgraded their API. I believe calls from legacy API's are only being accepted from current users. Eventually they will phase out the old API.

levelos’s picture

The new 2.x version is using the latest version of the MailChimp API and is working well. I've worked out all the obvious issues, but want to get some more usage before making an official release. As for a D6 port, it's on my list, but if anyone wants to help with a patch, that would be great. The patch needs to be against the 2.x release, which is in CVS head.

levelos’s picture

Bèr Kessels , any chance you want to upgrade your patch to work against 2.x?

jasondgardner’s picture

very interested in this and would be happy to help. I am not a programmer, but I would be willing to test out early dev releases.

adam_b’s picture

subscribe

kvoltz’s picture

I would also be interested in testing this out, where abouts can I subscribe? I am assuming that adam_b's comments were in regards to jasongardner's comments?

adam_b’s picture

I am assuming that adam_b's comments were in regards to jasongardner's comments?

Not sure what comments you mean - I just subscribed to this issue because I'm interested in email modules but I'm working with Drupal 6, so would need an upgrade to try this.

jsibley’s picture

If I start with Simplenews as a way to get folks to subscribe, what would be involved in migrating to the 6.0 Mailchimp module when it is ready?

Thanks.

levelos’s picture

I believe SimpleNews provides an export function, and then you would just have to import that list into your MailChimp account. If the users are members of your site, then they can be added automatically by the module.

djbdjb’s picture

Subscribing to topic. Using D6 and Mailchimp at the moment and manually updating stuff is driving me bonkers!

levelos’s picture

djbdjb: What do you mean by manually? If you have already ported to D6, then a patch would be welcome. I have it on my list to port the module, with the recent work for the 2.0 release, it may take me some time.

djbdjb’s picture

Don't worry, when I say manually I mean looking at mailchimp and seeing who's unsubscribed then going into Drupal and working through each user and unsubscribing them by hand. I haven't touched the module - I'm not technically minded!

bgibson-glu’s picture

Subscribing and looking forward to a D6 port - any sense of a timeline?

sutharsan’s picture

Status: Needs work » Needs review
StatusFileSize
new48.03 KB

The attached patch applies basic code style changes to Mailchimp. This precedes the upgrade to Drupal 6.

kvoltz’s picture

thanks so much for this Sutharsan.

Forgive my niavity, but how do I go about installing this? Do I just replace the code in one of the mailchimp module files with this code?

Thanks again.

sutharsan’s picture

StatusFileSize
new9.58 KB

Attached a basic port of mailchimp module. The patch passed a minimal test. mailchimp_bio not ported.

sutharsan’s picture

@kvoltz: http://drupal.org/patch/apply. Welcome to the world or the coders ;)

levelos’s picture

@Sutharsan: thanks for the patches and updates, glad to have you involved. I'll try to squeeze in some time this weekend to review and apply the patches and will update this thread as soon as they're committed.

sutharsan’s picture

StatusFileSize
new10.37 KB

I corrected some mistakes in mailchimp_menu() and ironed out a few errors that were present in the original 5.x-2.x-dev version. Subscription via mailchimp/subscribe is now tested too. Unsubscription works too but the succes/failure message is not displayed. From your code I could not determine which way you wanted to go: one url or two. Subscription confirmation works with one url (mailchimp/subscribe/message), the unsubscription has two in mailchimp_menu() (mailchimp/unsubscribe/success and mailchimp/unsubscribe/failure) but neither of them have an exiting callback function and neither urls are called because of the way mailchimp_unsubscribe_form_submit() is written. I leave that to you to fix.

levelos’s picture

levelos’s picture

Drupal 6 branch and initial port based on http://drupal.org/node/291543#comment-1206234 is committed and will be available shortly.

I'll take a look at the message issue you describe.

mediaspade’s picture

Version: 5.x-2.x-dev » 6.x-1.x-dev

How do you set this up? I can not get this to show up on the users registration page. Any help would be great.

sutharsan’s picture

Version: 6.x-1.x-dev » 5.x-2.x-dev
Status: Needs review » Fixed

@mediaspade: This issue is about upgrading the module, not about using it. If you have a question/fault/task not the same as this subject, please create a new issue. Changing the subject is not good practice and not appreciated (but I guess you understand this by now ;) ).

@LouBabe: with #28 this issue is fixed. Status changed accordingly.

Status: Fixed » Closed (fixed)

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