Stephen,
Thanks for the great work on this extension. I was wondering how involved you’d think it would be to modify the extension to map a “site” in EE (utilizing MSM) to a specific MailChimp list, and then use a hook to register users from a variety of different actions, such as commenting, contact form submission, etc.
Worthwhile, or should I be looking at writing my own extension?
I was wondering how involved you’d think it would be to modify the extension to map a “site” in EE (utilizing MSM) to a specific MailChimp list, and then use a hook to register users from a variety of different actions, such as commenting, contact form submission, etc.
That would involve hooking into a bunch of different extension hooks, so you’ll need to write a separate extension. Feel free to use the SL MailChimp Subscribe code as a starting point (assuming you’re developing a non-commercial addon).
The only other thing I’d say is that you need to ensure that your members have agreed to being added to your mailing lists, either at the time of registration, or through a mechanism at the specific sign-up points in your site (a checkbox on the comment form, for example).
One quick question, I noticed in the docs that you state if you want to log errors to set the log directory permissions to 755. However, I didn’t see this log directory in the sl mailchimp folder. Should this directory be created first… or does this extension not log errors anymore?
SL MailChimp Subscribe looks excellent - thanks for putting this out there.
I’m wondering if it’s possible to have a user’s email address populate the username field in the member registration form so that I don’t have to get them to fill out loads of fields (I’m currently only using the reg form for MailChimp signup but want the flexibility of giving them access to a members area in the future).
Any help would be appreciated as it’ll allow me to use your extension!
I’m wondering if it’s possible to have a user’s email address populate the username field in the member registration form so that I don’t have to get them to fill out loads of fields
Solspace’s User module has a “User email address as username” option.
It doesn’t. An EE 2.0-compatible version is in the works, I’m just waiting for some of the EE 2.0 bugs to be ironed out, so I can finish the extension and release it.
I’ve got the EE register form working fine, the user is added into EE and their Trigger is set to “yes” for receiving the newsletter. All their info is then sent to MailChimp and they show up in the correct list. However, MailChimp isn’t generating an auto-confirmation email upon registration on the EE site. I’ve got EE registration set so that no activation is required. Any help or thoughts on this would be great. Thanks.
However, MailChimp isn’t generating an auto-confirmation email upon registration on the EE site. I’ve got EE registration set so that no activation is required. Any help or thoughts on this would be great.
The extension calls an API method that explicitly sets the double opt-in value on MailChimp to FALSE, and I’m guessing this is where this is falling down for you.
If I were to change this in the extension, I’d need to provide a means of controlling the setting (otherwise it would presumably break for the several hundred other people who haven’t reported a problem with it thus far).
However, you can easily change the setting yourself, if you so desire. Just change line 406 in ext.sl_mailchimp_subscribe.php from:
if ( ! $mc->listSubscribe($list['id'], $member_data->row['email'], $merge_vars, 'html', FALSE))
... to ...
if ( ! $mc->listSubscribe($list['id'], $member_data->row['email'], $merge_vars, 'html', TRUE))
However, MailChimp isn’t generating an auto-confirmation email upon registration on the EE site. I’ve got EE registration set so that no activation is required. Any help or thoughts on this would be great.
The extension calls an API method that explicitly sets the double opt-in value on MailChimp to FALSE, and I’m guessing this is where this is falling down for you.
If I were to change this in the extension, I’d need to provide a means of controlling the setting (otherwise it would presumably break for the several hundred other people who haven’t reported a problem with it thus far).
However, you can easily change the setting yourself, if you so desire. Just change line 406 in ext.sl_mailchimp_subscribe.php from:
if ( ! $mc->listSubscribe($list['id'], $member_data->row['email'], $merge_vars, 'html', FALSE))
... to ...
if ( ! $mc->listSubscribe($list['id'], $member_data->row['email'], $merge_vars, 'html', TRUE))
Hope that helps.
Cheers,
Stephen
Finally got a chance to get this in and it works like a charm! Thank you so much!