Hello,
I've upgraded my large-ish Drupal site from 4.7 to 5.1 recently, and make heavy use of Organic Groups.
Now that og_basic is no longer supported, I understand that I should use cck to create a custom node type.
My question is: How do I migrate over all the content from my old groups to the new node type?
For example:
I have a group "Africa", with 840 members and many blog posts / comments. Even though the og_basic node is not there anymore, the group is still working properly, though some features (such as the "my groups") block are not working.
I'd love to create a new node type in CCK to replace the defunt og_basic "Africa" group, but how can I do so while keeping all the users, posts and metadata associated with the group?
Thanks!
s.
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedafter backing up your DB, try a straight UPDATE node SET type= WHERE type = 'og_basic';
might just work since og_basic only used title and body fields.
Comment #2
Steven Mansour CreditAttribution: Steven Mansour commentedHmm... nope, that doesn't seem to have changed anything.
However, before deleting a group I'm prompted to "Move all postings within this group to another group". That *could* solve the problem except for one little detail: Will it also move *user memberships* into the new group? (I didn't try because I don't want to lose my group memberships).
If so, I could easily just create new CCK groups to replace all the OG_basic ones and delete the old ones, moving the content *and users* to the new ones.