WordPress.org

Ready to get started?Download WordPress

Forums

Import from Ning
Anyone supporting this plugin - help w/ discussions (59 posts)

  1. rockethead2
    Member
    Posted 8 months ago #

    This plugin only supports import of members.

    Any plans to make it work with bbpress to import groups, discussions, etc.?

    We have extensively tested and can confirm that it only imports members and blog posts, so we are looking for a fix and not discussion.

    Thanks

    http://wordpress.org/plugins/import-from-ning/

  2. Brian Larson
    Member
    Posted 7 months ago #

    I'm in the same boat!

  3. bschaich
    Member
    Posted 7 months ago #

    Same for me. I really tested it through. I learnt to completely understand the buddypress and bbpress relationship. I went back to older versions of buddypress (1.6.5) when the forums still were running- No way to import forums.

  4. bschaich
    Member
    Posted 7 months ago #

    OK, after some work on those files I got one step further. At least in my case the JSON files for discussions (ning-discussions.json and ning-discussions-local.json) were formatted in the wrong way. Both had one "]" too much at the end of file.
    Fortunately you can load those files into any editor, go right to the end of the file and delete the brace. And I said editor! Not Word or any Tex processor...
    So the files get loaded and it imports groups at least... unfortunately not yet the content....
    I'll try again.
    Regards,
    Benny

  5. rockethead2
    Member
    Posted 7 months ago #

    Thanks bschaich.

    This has been frustrating not being able to import discussions.

    My json file has this at the end "}]}]])

    Can you tell me what to delete?

    Thanks

  6. rockethead2
    Member
    Posted 7 months ago #

    This is the issue i am having. when i try to import groups or discussions, it get this error message:

    "It looks like you've either disabled group forums, or you haven't set them up correctly. If you don't plan to use forums, click Continue. Otherwise, ensure that your forum setup is complete, and then return to this page."

    I have bbPress setup the way they instruct. Forums are no longer a part of bp.

    any help appreciated. Looks like author has abandoned this plugin. for obvious reasons.

  7. Xaviote
    Member
    Posted 7 months ago #

    Hello,
    I ran in the same issue but now it is resolved. It seems the problem is that the plugin was designed for import into buddypress forums, not bbpress ones. So you must activate and configure buddypress forums and the plugin will work out of the box (assuming your json files are correct).

    1)Go to plugins->installed plugins->buddypress->settings->Components->retired and activate group forums (legacy). Save settings, a "Forums" tab appears.
    2)Click Forums tab, in the left side, click on Install Group Forums.
    3)Then you'll need to create a new page or use an existent one in order to assign "Discussion Forums" to it (in Buddypress Settings->Pages). Save settings and should it appear a message bar standing for generate config file or repair or something similar (I've a fish memory, sorry), click it. It will fix your config file path in buddypress->settings->settings tab->legacy group forums.

    And that's all, now it will work or so did it for me.

    In case you want to use bbpress forums, you can now import data to bbpress from buddypress forums in tools->forums->import forums from bbpress1. (You can follow the guide in http://codex.buddypress.org/getting-started/guides/migrating-from-old-forums-to-bbpress-2/ )
    Hope it helps.
    Regards,
    Xavi

  8. bschaich
    Member
    Posted 7 months ago #

    My json file has this at the end "}]}]])

    Rockethead: the double ] at the end was my problem and I'm almost sure you can delete it and that should get you a step further.

  9. bschaich
    Member
    Posted 7 months ago #

    Again the bbpress/buddypress forum issue: keep an eye on the supported version numbers. Was very important to me, as it seeems they even dropped of the code in later versions. The plugin says it's compatible up to 3.5.1 and buddypress 1.7.
    This ones look much different than newer releases.
    I personally went down to buddypress 1.6.5, as that was the last release that fully supported buddypress forums.
    Next I'll try what Xaviote has done... but that already feels familliar.
    Regards,
    Benny

  10. Brian Larson
    Member
    Posted 7 months ago #

    I gave it a shot using WP 3.5 and BP 1.6.5 and everything and still no forums (or "discussions" as they're called in the JSON files. I made sure there was no instance of "]])" in my JSON files as well. The only error the plugin did throw was:

    Fatal error: Class 'TribeEvents' not found in /Applications/AMPPS/www/dev.domain.com/wp-content/plugins/import-from-ning/bp-functions.php on line 1067

    I then updated BP to the latest version and tried the legacy route mentioned above by Xaviote. The plugin reports that the discussions were imported but alas the forum is empty. Anyone else havin' luck? Any other advice from Xaviote or bschaich?

  11. Xaviote
    Member
    Posted 7 months ago #

    Hello,

    I had it working with wordpress version 1.7.1, buddypress version 1.8.1 and bbpress version 2.5.
    I think the key here is the bp_ning_import_get_groups() function in bp-funcions.php from the plugin. This piece of code:

    if ( bp_is_active( 'forums' ) ) {
    groups_new_group_forum( $group_id, $group->title, $group->description );
    echo "$group_key) Created group: $group->title";
    if ( !$forum_id = groups_get_groupmeta( $group_id, 'forum_id' ) ) {
    echo "     Could not create group forum for $group->title";
    }
    }
    MUST work in order to get discussions imported later, so the test
    bp_is_active( 'forums' ) MUST work, hence buddypress forums must be active and running.
    Edit: I haven't seen the last post at the time of writing this. The empty forums you mention are the bbpress ones? Have you looked at buddypress ones (through the slug you configured before import)??
    Regarding events issue, did you see the thread:
    http://wordpress.org/support/topic/issues-halting-r-revolution?replies=3

  12. Brian Larson
    Member
    Posted 7 months ago #

    Thanks Xaviote! I didn't have bbPress activated since I thought you had to import the forum discussion data to the BP legacy forums ("retired") and THEN port them to bbPress.

  13. Brian Larson
    Member
    Posted 7 months ago #

    Made sure that the forums are active and tried again but to no avail. Any other idears?

  14. rockethead2
    Member
    Posted 7 months ago #

    Hey guys thanks for this info.

    Xaviote i didn'nt even see the retired link in components. Lol. Thank you so much.

    Since i've activated and mapped bbpress to the certain groups, how will importing now affect my structure?

    Do you recommend any additional steps to make this a smooth process?

    Thanks again

  15. westyalf
    Member
    Posted 7 months ago #

    Thank you so much for the information. I am currently trying to import all content from NING to Buddypress and I received the same error as rockethead2 - From reading your posts I see the 'retired' forum so I have activated it and will try to import the discussions again this weekend.

    There was one thing that I was wondering... Does the discussions import include the comments members have written on the comment walls? Replying to blogs and pages (not just forum topics).

  16. Brian Larson
    Member
    Posted 7 months ago #

    If I understand it correctly my endless tries of importing forum discussions works just fine for the member activity comments. Those end up as posts under Activity in BuddyPress. It's the forum stuff that I can't get in (even though the plugin says it has imported it properly). Hope you have luck with it westyalf! I look forward to hearing how it goes. I'm giving up for now and trying to get the forum info into phpBB for my client to use in transition to a totally fresh new social network on BuddyPress and bbPress. Feeling at wits end!

  17. westyalf
    Member
    Posted 7 months ago #

    So I tried the import again sinces removing BBPress and activated the Buddypress forum and I was unsuccessful.

    Discussion groups

    It looks like you've either disabled group forums, or you haven't set them up correctly. If you don't plan to use forums, click Continue. Otherwise, ensure that your forum setup is complete, and then return to this page.

    How can I install an earlier version of the buddypress forum, to see if that will?

  18. Brian Larson
    Member
    Posted 7 months ago #

    Sorry to hear westyalf. It's a little confusing but links to download older versions of BP is on the Developers tab on the repository page (http://wordpress.org/plugins/buddypress/developers/).

    I did try the older version route with no success but you should give it a shot too. Let me know how it goes!

    Any luck on your end @rockethead2?

    Anybody have any other ideas of what other open source forum software Ning data could be imported to? I tried phpBB (script here) and again could get the member data in but NOT the forums. I'm starting to wonder if my JSON file is corrupt.

    ATTN ALL: There's a related thread here and I'm thinking moving forward we should keep everything here on this thread. Agreed? If so, I'll put a final link to hear in the other one. Thoughts?

  19. westyalf
    Member
    Posted 7 months ago #

    I think its a good idea to continue this discussion all in this thread.

    Thanks for the link to the older version - I will try that next and see if I have any luck and let you know.

    It could quite easily be something that happened during the ning archiver download of the json files. I know my download was not straight forward :(

    I can not help with other ideas for import as I just do not have the knowledge but I am waiting for response from programmers to see if they can assist, I will let you know as and when I hear.

  20. westyalf
    Member
    Posted 7 months ago #

    That was a bit of a disaster lol!

    I deleted the 1.8 version of buddypress and installed the 1.5 buddypress plugin and it just broke the site so I could not test the import.

    I had to delete the buddypress file from the server and then I just reinstalled the latest version of buddypress to get things working again.

    ----

    Will have a look through the actual JSON files now and see if I can spot error - I may even re-download from Ning Archiver

  21. Brian Larson
    Member
    Posted 7 months ago #

    Sorry to hear about the disaster!

    I tried re-downloading the archives and the updated JSON files are still hosed. Well, malformed is a better word. Seems to be tons of syntax errors to the point where I'm not sure how to fix even with a JSON validator like this one. Totally at wits end with this. Seems evil and weird that Ning's archiver would output highly invalid JSON files. BuddyPress aside I don't even know what to do with the client's forum data at all! At this point at bare minimum they just need it to be human-readable and searchable. As I may have mentioned I tried getting it into phpBB but again the members were imported but not the discussions/forum(s). I'm even at a point of trying to just get the dang data in a spreadsheet for the client but again it's all malformed (went to http://json-csv.com). I emailed them about paying them to fix the JSON file and convert it to CSV but haven't heard back yet. Excuse me while I go punch something repeatedly.

  22. westyalf
    Member
    Posted 7 months ago #

    Completely agree with you about NING, I don't think they could have made it more difficult if they tried! Its a ridiculous and unacceptable service, I have asked them before about allowing an export in another format but they just said they offer JSON, I will bring it up again on their forum.

    I never had an issue using Ning before - but they changed some of the features and the one my website uses will no longer be supported hence why I needed to move. Since this whole nightmare trying to get the content moved I will never use ning for any further web developments at all because you have no real control of your own content.

    I hope you hear back about converting the JSON file to CSV. I will ask the same on NING forums and let you know if I get a response.

  23. I have never done this myself, nor have a JSON Ning export to test with.

    After a quick read I would suggest trying with BuddyPress 1.6.x from the d/l links above. Do NOT download and install the bbPress plugin, use the built in version of bbPress that shipped with BuddyPress 1.6.x.

    With some luck this might just help with the compatibility issues you are having.

  24. westyalf
    Member
    Posted 7 months ago #

    Hi Stephen, thank you for your help.
    I have downloaded buddypress 1.6.1.zip and I will install today and try the import again. Fingers crossed... I will let you know the outcome.

  25. westyalf
    Member
    Posted 7 months ago #

    So one improvement... I didn't break the site! But unfortunately still no luck with discussion import. I get no errors though, it just does not seem to complete the task:

    Discussion groups

    Import from Ning is now importing your Ning groups. If you've got a lot of groups, you might have to refresh the page in order to get them all. If so, you will see a message near the bottom of the screen.

    Once you've finished importing groups, click Continue at the bottom of the page to move on to the next step.
    Start...

    End...

    and

    Discussions

    Import from Ning is now importing your Ning groups.

    All of your discussions have been imported! Hit Continue to continue to the next step.

    Ning will not let me download my content in any other format than JSON... Their reponse to my begging lol...

    Unfortunately the Ning Network Archiver can only export network content in .json format. These .json files can't be used to restore data to a Ning Network, but rather they are meant to be a hard copy of the content. You can view the content by using a text editor such as Wordpad or Notepad. To learn more about this file format, check out this Help Center article: (http://www.ning.com/help/?p=5215).

    Let us know if we can provide additional assistance.

  26. Brian Larson
    Member
    Posted 7 months ago #

    Good to hear you didn't break the site! Sorry to hear you're still having import issues too. I think I'm going to abandon ship and migrate the client's data to GROU.PS which is still a hosted solution but much more affordable (starting at ~$7 USD per month). They have some export and backup services as well. Then their members still have a place that's NOT Ning to use while they start anew and transition over to a fresh BuddyPress and bbPress site. I can't believe how big of a nightmare this has been! I'll still be participating in this thread and testing out new ideas if it's something I feel I haven't tried. Thanks for jumping here too Stephen!

  27. westyalf
    Member
    Posted 7 months ago #

    Thanks Brian.
    I think that is a good idea to migrate away from ning and start a new transition. I am hoping the professionals can help finish off my migration... I will let you know when (hopefully) we complete the move!

  28. Brian Larson
    Member
    Posted 7 months ago #

    Sounds good! I hope all goes well. I'll report back on whether or not they go with GROU.PS or they just say goodbye to all 4,200 threads. My client pays Ning like $500 per year and they can't even get a single reply from customer service apparently. Neat.

  29. Could one of you familiar with Ning create a sample JSON export file?
    (It would need a couple of examples of each data type, users, forum, topic, replies etc)

    I can't guarantee I'll get it to work but more than happy to take a stab at it. I might also be able to update the plugin to support the latest versions of BuddyPress/bbPress.

  30. westyalf
    Member
    Posted 7 months ago #

    That would be great Stephen!!
    Is there a way you can send me a private message with your email address and I will get some data over to you.

Reply »

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.