solved Missing 8 groups on Ning Import

Clay Gordon
Clay Gordon
@claygordon
9 years ago
733 posts
Of the 20 groups listed here on my Ning site only 13 made it through the import ... i.e., are visible on Groups page. Looking in the datastore browser they rest are simply not there.

But all 20 are in the JSON files as can be seen in the screenshot.

The view JSON archive tool in PHP array is very cool.

One note, Paul, you might want to consider making the default selection null (i.e., "Select an archive") because the first archive (blog) could be huge and take a really, really, really long time to load.
updated by @claygordon: 03/14/15 01:41:15PM
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
This may not be the cause for you Clay, but when the same thing happened to me after an import (a few missing groups that were in my ning archive but did not get imported)...it was because those groups had been created on my ning site by members that later left and had to more active profile. Thus, the JR import tool had no profile to assign them to. The solution in my case was that Paul had to go in and reassign the groups' creator as being me instead. Then he was able to import them just fine and they now show me as the group owner/creator. Check to see who created those groups you are missing.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Clay Gordon
Clay Gordon
@claygordon
9 years ago
733 posts
@Strumelia -

I did a browser search on " groupPrivacy " (as that string shows up only once for each group) to determine if they all were created by me.

They were.

I don't know the import script but it looks like groups 0-6 (the oldest groups) did not get imported.
paul
@paul
9 years ago
4,326 posts
Clay - can I log into your site to take a look? Email me your latest JR and FTP credentials if so.


--
Paul Asher - JR Developer and System Import Specialist
Clay Gordon
Clay Gordon
@claygordon
9 years ago
733 posts
I will do.
Clay Gordon
Clay Gordon
@claygordon
9 years ago
733 posts
Paul -

You should have received these.
paul
@paul
9 years ago
4,326 posts
Yep - Have them. Will check it out a bit later and let you know.


--
Paul Asher - JR Developer and System Import Specialist
paul
@paul
9 years ago
4,326 posts
The seven missing groups are tagged as 'un-approved' in the Ning archive so as such, were not imported.

In reality, in your archive, only 13 out of the 20 have the 'approved' array element and that is set to 'Y'. The other 7 do not have the element at all. I noticed this when developing the Importer and made the assumption that as Ning went to the effort of including the 'approved' => 'Y' array element, if it wasn't there, the group must be 'un-approved'.
Is it likely that your missing groups were un-approved Clay?


--
Paul Asher - JR Developer and System Import Specialist
Clay Gordon
Clay Gordon
@claygordon
9 years ago
733 posts
Unapproved? I have no idea what that flag could possibly mean.

The "unapproved" groups are active and visible right now:

discoverhocolate.ning.com/groups
http://discoverchocolate.ning.com/group/homechocolatemakers << unapproved

Home Brew Chocolate has 317 members and was last updated on 12/26/2014.

Sounds like approved to me!

IIRC, it's the first groups I created that did not get imported ... sounds like legacy code to me. Something from V1.x?
brian
@brian
9 years ago
10,148 posts
Paul - we should just skip the check for that and let the Ning site owner delete the group if it is one they don't want...


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Clay Gordon
Clay Gordon
@claygordon
9 years ago
733 posts
I have no problem deleting groups I don't want to keep active.

However, I am MORE interested in keeping the content and being able to "close" an entire group so that it cannot be edited or added to. There is some legacy goodness in all of them.
paul
@paul
9 years ago
4,326 posts
brian:
Paul - we should just skip the check for that and let the Ning site owner delete the group if it is one they don't want...

Could do, or maybe import 'un-approved' groups with the pending variable set?


--
Paul Asher - JR Developer and System Import Specialist
paul
@paul
9 years ago
4,326 posts
Just read Clay's post again. OK, if 'un-approved' groups are showing on Ning sites the archived 'approved' setting must be another Ning anomaly. I'll change the importer to not check for that.
Clay, shall I do that on your site and bring in the missing groups?


--
Paul Asher - JR Developer and System Import Specialist
Clay Gordon
Clay Gordon
@claygordon
9 years ago
733 posts
Paul -

When you get the chance that would be great, thanks.
paul
@paul
9 years ago
4,326 posts
Actually, have just checked the Ning Import module and the 'approved' element can also happen in blogs, forums, group discussions and pages so what I think it would be best to do, go forward, is to import 'un-approved' items anyway, but with their Jamroom 'pending' flag set. This way, admins would then have the option of accepting or deleting them from their ACP.


--
Paul Asher - JR Developer and System Import Specialist
paul
@paul
9 years ago
4,326 posts
Have gone back to PlanA and just removed the 'Approved' test as setting the pending bit only works if the JR module is set to approve items in the first place (it overrides anything that NingImport sets) and in most cases this wouldn't be the case.
Clay - have imported the extra groups on ChoccyLife. You also now have some extra Group Discussions, Blogs and Forum posts because of this.


--
Paul Asher - JR Developer and System Import Specialist
Clay Gordon
Clay Gordon
@claygordon
9 years ago
733 posts
Paul -

Thanks again. As I mentioned in the post where you announced the upgrade to the Ning Import Module I am happy to be the test case for these kinds of things -- it's a win, win, win.

Tags