MailChimp Subscribe and Zoo Visitor
Hi Stephen,
I'm trying to use MailChimp Subscribe with Zoo Visitor. Is it posible to use a Zoo Visitor member field (basically a channel field) as a trigger?
I've also been trying it from the other direction - using a Custom Profile Field for the trigger but I'm having a hard time getting that to update from my (Zoo Visitor) profile update form (using custom_profile_data to output the value).
Any insight would be appreciated.
Thanks,
Kevin Kemmerly
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Stephen Lewis on 13 Sep, 2011 09:09 PM
Hi Kevin,
I don't know, having never used Zoo Visitor.
If Zoo Visitor member fields aren't stored in the
exp_member_fieldstable, then no, not without additional work.At present, MailChimp Subscribe allows the default member fields and any custom member fields to be used a triggers.
That depends on whether Zoo Visitor supports a "profile updated" extension hook, which MailChimp Subscribe can register with and be notified of updates to a member's profile (in the way Solspace's User module does).
A quick look through the documentation suggests that no such extension hook exists, but it's probably worth checking with the Zoo developers.
Cheers,
Stephen
3 Posted by kevin on 16 Sep, 2011 03:18 AM
Hi Stephen,
Thanks for taking the time to look at the issue. I have gotten some response from the Zoo guys but so far no luck. Here is the forum topic on Devot-ee.com
http://devot-ee.com/add-ons/support/zoo-visitor/viewthread/2694/
I'm waiting to hear back from them.
Kevin
Support Staff 4 Posted by Stephen Lewis on 16 Sep, 2011 09:40 AM
Hi Kevin,
Nico from Zoo was very speedy in emailing me details of Zoo Visitor's "register" and "update" extension hooks (he also included details in the Devot-ee support thread).
I'll add support for Zoo Visitor's extension hooks to the next release of MailChimp Subscribe.
Cheers,
Stephen
5 Posted by Carlos Perez on 16 Sep, 2011 07:20 PM
+1 for that feature request!
6 Posted by kevin on 16 Sep, 2011 08:02 PM
Thanks, Stephen. I've got the custom member field saving to the db now thanks to some help from Nico at Zoo.
But for some reason when I save the member profile from my custom profile page or from the native EE member page with the trigger field set to "Yes". I'm not getting anyone added to the mailing list on MC.
The initial member signup form is relatively short. There are more fields that can be filled in on the profile page, including an opt-in for the email subscription. Is the trigger only used to add the member to the MC mailing list on initial signup/member creation?
Thanks and have great weekend.
Kevin
Support Staff 7 Posted by Stephen Lewis on 17 Sep, 2011 10:46 AM
Kevin,
bq. Is the trigger only used to add the member to the MC mailing list on initial signup/member creation?
By default, it's only possible for MailChimp Subscribe to run in response to new member registrations. ExpressionEngine simply doesn't provide a means of responding to updates to a member's profile.
If you were using the User module by Solspace, MailChimp Subscribe would be able to update a member's subscription preferences in response to member updates via the
exp:user:editform. Hopefully, the new Zoo Visitor extension hook will provide similar functionality.Whether it's a new member registration, or an update to an existing profile, MailChimp will always honour the triggers you specify.
Cheers,
Stephen
8 Posted by pvledoux on 11 Oct, 2011 10:37 AM
Hi Stephen,
any news about this? We are migrating our registration/member management process from Sols. User to Zoo Visitor, and I'm wandering how the handle MailChimp subscription synchronized.
Thanks in advance!
Best regards,
Pv
Support Staff 9 Posted by Stephen Lewis on 12 Oct, 2011 05:04 PM
Hi Pv,
No, sorry. I've implemented support for Zoo Visitor in Campaigner, along with some other bits, and will be releasing that once it's all documented.
Then it's a case of finding the time to port the functionality over to MailChimp Subscribe. As it's a free add-on, it unfortunately has to make way for paid work, hence the delay. Sorry I can't give you a more positive answer at this moment in time.
Cheers,
Stephen
10 Posted by pvledoux on 13 Oct, 2011 09:12 AM
Hi Stephen,
I fully understand, I was looking if I could gain some precious time too ;)
Maybe we will try to adapt it ourself if you don't see any inconvenience?
Best regards,
Pv
Support Staff 11 Posted by Stephen Lewis on 13 Oct, 2011 09:31 AM
Hi Pv,
Of course. MailChimp Subscribe is completely open source, so feel free to fork it on GitHub, and bend it to your will.
Cheers,
Stephen
12 Posted by pvledoux on 14 Oct, 2011 09:46 AM
Hi Stephen,
following your recommandation, I forked you ;)
https://github.com/pvledoux/mailchimp_subscribe.ee_addon
If you have time, could you be kind to have a look to it? Just to be sure that I'm not completely wrong.
Thanks a lot!
Pv
Support Staff 13 Posted by Stephen Lewis on 16 Oct, 2011 12:56 PM
Hi Pv,
From an initial read through the commits, it's looking good.
If you send me a pull request, I'll roll your work into the next release of MailChimp Subscribe (that will be at least a few weeks though, what with EECI and work).
Thanks for implementing this.
Cheers,
Stephen
14 Posted by pvledoux on 17 Oct, 2011 07:57 AM
Hi Stephen,
great! I send you a request immediately. Have fun at EECI, I wish to be there. Pass the word for us, we want it back in Leiden next year ;)
Best regards,
Pv
Support Staff 15 Posted by Stephen Lewis on 18 Oct, 2011 02:49 AM
Will do.
Stephen
Stephen Lewis closed this discussion on 18 Oct, 2011 02:49 AM.