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

Jamie Baker replied to Traddie's discussion Contingency Planning. What's Yours?
"I say a sad goodbye to my Ning site today, which completes my migration to socialengine. A shame re…"
43 minutes ago
Melissa B replied to Traddie's discussion Contingency Planning. What's Yours?
"Thanks!  Yes, I do!"
1 hour ago
Strumelia replied to Traddie's discussion Contingency Planning. What's Yours?
"Melissa, your new site's looking great!   You have a lot of members.  I bet you feel a sense of rel…"
2 hours ago
Melissa B replied to Traddie's discussion Contingency Planning. What's Yours?
"I just moved my site to a different platform and am very happy.
Old site is still up for the moment…"
3 hours ago
Randy L. Vollett replied to David's discussion Events
"Its still listed under IN WAITING for Upcoming Releases For Ning 3.0. Although I have not been arou…"
3 hours ago
Kos replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"idk if this is at all related by on 10/26 I filed a ticket b/c my Leaderboards on a 2.0 network had…"
6 hours ago
Tim Atkinson replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"Just filed my ticket - #888279, if anyone needs it..."
7 hours ago
Kos replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"ok I decided to test out a page.  It wasn't in Design Studio but rather on the page itself.  Simple…"
8 hours ago
Tim Atkinson replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"I know it's not your code! It's just my only frame of reference for when the CSS changed!"
8 hours ago
SweetPotato replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"my reverted css occurred on a network without my photo code in it.
SP"
8 hours ago
Tim Atkinson replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"Hi Kos & Ramin (and all),
Had a bit of time to investigate my history. Because all I've done recent…"
8 hours ago
Kos replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"One would think if 'Ning' was fiddling in the backroom with their codes, the same would have happen…"
9 hours ago
Kos replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"It's extremely strange.  I would definitely check your Design Studio 'History' and see if using one…"
9 hours ago
SweetPotato replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"Same here, but in Theme CSS for a client. Most disconcerting. Off to the Facebook page to ask why .…"
11 hours ago
Tim Atkinson replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"Are you saying that this is all that was left?"
14 hours ago
Tim Atkinson replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"I don't know if they'll come back - I just meant that for me it was as if the Design Studio reverte…"
14 hours ago
SweetPotato replied to Vipster's discussion How to change the text color of one navigation tab with CSS in Ning 2.0?
"Thanks John, a good reference for what you're describing can be found here

https://developer.mozi&hellip;"
14 hours ago
Ramin Tehrani replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"Is it possible to get the backup from History? I have changed the theme itself.I'll see how it goes."
17 hours ago
Jen replied to Ramin Tehrani's discussion Global CSS keeps losing and pages get deleted- how to resolve-urgent help needed
"Wow, not good. Could you not get your CSS back using the history feature?"
17 hours ago
Vipster replied to Vipster's discussion How to change the text color of one navigation tab with CSS in Ning 2.0?
"That's working. Thanks!"
21 hours ago
More…