Current status of the Ning Platform is always available on the Ning Status Blog.

Forum

Hi all NCs!

If you're like me and you use MailChimp to manage your email campaigns and newsletters, I suggest you take a look at my blog. You will find it a php script I wrote to automate the import of network members in a MailChimp list. You can use it to keep your MailChimp list(s) synchronized with all the members informations of your Ning network.

The good news: this script is open source

The bad news: my blog is in french, you will be forced to use Google Translate ;-)

http://www.rawlog.net/blog/simpleNing2MC

Best regards

Pierre

 

You need to be a member of Ning Creators Network to add comments!

Join Ning Creators Network

Email me when people reply –

Replies

  • Thanks Pierre, I looked at your blog and it looks perfect for integration.

    But I wondered what happens with ex-members who have left of their own accord (or have been suspended/deleted) through the Ning interface. Does your script delete them at MailChimp?

    I'm not sure even if this happens with the Ning/ConstantContact setup. It certainly wasn't happening some months back, but maybe they've fixed it. This would seem to be in contravention of ConstantContact/MailChimp terms since one would be emailing people who have "unsubscribed".

    • Hi Josef!

      These members are not delete from your MailChimp database. But their datas are refreshed each time the script is executed. So an old member are set to MEMBER=0 in case of deletion (or suspension,..). You can send a "conditional" mail in selecting MEMBER=1 in the MailChimp interface : your mail will be send only to active members... 

      Second option, if you want to send (or not send) specific mails to blocked members, you can use the "isBlocked" parameter in the script.

      For all these elements, you can set it in the provided index.php in the "NING <-> MAILCHIMP MAPPING" section, specifically with the $mapping array. You wil find it between line 98 to 113.

      Pierre

      • Thank you so much Pierre. I find your script to be a tremendous solution to a real problem. I also love your "automatic newsletter" using RSS feeds. C'est formidable! Next year I may try to implement both ideas.

        You may have seen that I Ieft the same question on your blog in my broken French :-) so I won't expect two answers, unless you wish to answer pour encourager les autres :-)

        Thanks and thanks again. 

        • It's what I already done ;-)

          Thanks to you and have a merry Christmas...

          PS : You have a much better French than I speak English ...

          • Thanks Pierre and merry Christmas to you too!

            I tried to post this question on your blog but it didn't seem to accept it (or maybe moderation is on)...

            Would you envisage any problems running your script with a database of say 100,000+ members? Or is the number of members irrelevant?

            Thanks again :-)

            • Yes, I see : you post it five times and yes, Mollom seems to have some trouble this night ;-) Sorry for that.

              To answer to your question, I do not see any problems to do that for 100000+ members. There is an optional parameter where you can set the size of the batch job (default is 20) to avoid any timeout problem. There is no risk to try (except Ning API quota), and I'm totally ready to help you if the script need to be modified to support such database size.

              Are you planing to use my script ?

              • I'm seriously considering it, though it might not be immediately. I would first have to switch to MailChimp. But anyway I'd be interested in discussing it further with you, together with your RSS idea. What's the best way to contact?

  • Hello Pierre,

    I have installed simpleNing2MC on my Windows server. When I attempt to run it, I get the following:

    Warning: require_once(NingActivityItem.php) [function.require-once]: failed to open stream: No such file or directory in (root directory removed for security)\simpleNing2MC\includes\NingObject.php on line 4

    Fatal error: require_once() [function.require]: Failed opening required 'NingActivityItem.php' (include_path='.;C:\php5\pear;__DIR__;__DIR__/objects') in (root directory removed for security)\simpleNing2MC\includes\NingObject.php on line 4

     

    Do you have any idea how I might fix this? I am not well-versed in PHP.

    Thanks.

    • Hi Amy!

      Sorry for this late answer.

      Seems you have a misconfiguration on your server for php. The error you are face to is an error "generated" by a file written by Ning developers (NingObject.php), but I just have a look and I saw nothing special that could generate this error (the best proof is that you're the one getting this error).

      Could you confirm me that your php version is greater or equal to 5.3 ?

      Pierre

      • Thanks for your reply, Pierre. In fact, our PHP version is 5.2.9. We are contacting the host to request 5.3 or greater.

        We have one issue. We do not want to send e-mails from MailChimp to those who have selected "I don't want to receive emails..." in Ning. Are you aware of any workarounds for this issue?

        Thanks,

        Amy

This reply was deleted.

Search the Creators Network

Latest Activity

Kos replied to VU APEX's discussion Want to add (add discussion link) and scroll in forum
"I can answer part of this.  You can place 'buttons' to add a discussion on every page of your websi…"
1 hour ago
Matt Whisenant is now a member of Tips and advice.
10 hours ago
Jen replied to Jamie Baker's discussion Kopfans - From Ning 3.0 to Wordpress
"I agree with TJ. It looks nice, Jamie. The narrow width is interesting, like it! =)"
16 hours ago
TJ @ jQueryHelp replied to Jamie Baker's discussion Kopfans - From Ning 3.0 to Wordpress
"Hi Jamie,
I just visited your site.  It is nicely designed and appears to be very functional and ac…"
17 hours ago
Just Asking replied to Just Asking's discussion Anyone know how to make a profile activity page?
"Yes. What I'd like to do is to turn that module into its own page."
22 hours ago
SweetPotato replied to Just Asking's discussion Anyone know how to make a profile activity page?
"There should be each member's activity feed on their profile page. Like this one:
http://live.autog&hellip;"
22 hours ago
Sophie Salmon replied to Sophie Salmon's discussion How to block email @rediffmail.com on our network ?
"Many thanks ! it's so easy !
via (my network)/main/admin/signUpSignIn and Email Domain and IP Addre…"
yesterday
Janice D Carter replied to Sophie Salmon's discussion How to block email @rediffmail.com on our network ?
"Sophie if you are on 2.0 go to your network sign up/sign in, you can block it there"
yesterday
mysticpagan replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"Does all this apply to the people who migrated over from Ning 2.0 and had a sandbox site because at…"
Tuesday
Rowald replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"Incredible update, thanks for this new feature Ning. Waiting for about three years for an update li…"
Tuesday
Janice D Carter replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"I know that in 2010 this was a discussion about charging for storage.  At that time, we asked for a…"
Monday
Kos replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"Oye.  Can't be 'simple', can it.  *lol*  At least it's an option for 3.0 owners."
Feb 5
Yolanda van Heese replied to Yolanda van Heese's discussion New group activity on 'my profile'?
"Thanks, we'll get back to you later! "
Feb 5
SweetPotato replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"Absolutely. You may need to set up the scraper differently for each platform or manipulate the scra…"
Feb 5
Kos replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"SP can I then assume what is 'scraped', can then be imported onto other platforms?"
Feb 4
Todd Underwood and VU APEX joined Ning Creators Network
Feb 4
SweetPotato replied to Yolanda van Heese's discussion New group activity on 'my profile'?
"I don't think there is an automated way but there will be custom coded ways to feed "my group activ…"
Feb 4
SweetPotato replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"You're welcome. Here, for example is JSON file containing the last 300 or so forum discussions here…"
Feb 3
Jen replied to Jen's discussion Add Member Account Box Links/Notifications to NingBar (Collaborative Efforts: Jen and Elson)
"Kos, sent you a pm."
Feb 2
Kos replied to Jen's discussion Add Member Account Box Links/Notifications to NingBar (Collaborative Efforts: Jen and Elson)
"Yeah I thought a/b that too (CSS) but the 'save' button won't work there either.  Well I'll reach o…"
Feb 2
More…