Skip to main content

BUG! BuddyPress Migration not importing Posts

Just testing the BuddyPress migration (so happy to see this), the groups and users are created and added correctly, but it's not seeing or migrating any of the existing posts.

I have comments disabled and only Group Admins/Moderators can post updates in BP β€” I likely have some custom code causing the problem, but wondered if there are any tips to work out why the migration is not finding the posts?

BUG! BuddyPress Migration not importing Posts

Cointacter

Following

John Waters

Did you notice whether the migration include added profile fields and their corresponding field groups ?

David Churchill

Hi Waters JohnΒ I'm just trying to work out why Posts are not imported at the moment β€” when I figure that out I'll check profile fields πŸ‘

David Churchill

Shahjahan JewelΒ do you have any thoughts/suggestion on why the Posts are not seen/imported?

Also, should BP Group header/icon images be imported? Or do we have to manually update each group?

David Churchill

For those looking for them - the BuddyPress Migration Docs are here - https://fluentcommunity.co/docs/fluentcommunity-buddypress-migration/

Answer to my own question above β€” Uploaded (BuddyPress) profile and space pictures will not migrate.

Jonathan N.

David ChurchillΒ You can archive this with a simple script.

David Churchill

Hi Jonathan N., do you have a link/example script to achieve this?

Jonathan N.

David ChurchillΒ Did this with ChatGPT, just add it to the functions.php

https://pastebin.com/0v84tQC9

David Churchill

Hi Jonathan N., sorryΒ I'm not using BuddyBoss. Part of my orginal question above was if the BuddyPress Migration copied the BuddyPress Group (not user) profile and space pictures. In the Docs is says it doesn't.

However the main issues still exists and the BuddyPress group posts are still not migrated across and wonder if Shahjahan JewelΒ has not had time to check this yet πŸ™

Jonathan N.

David ChurchillΒ BuddyBoss is built on top of BuddyPress so ChatGPT can give you a function code for this as well. It's a workaround to copy your BuddyPress avatars to WordPress so they will get imported as well.

David Churchill

Jonathan N.Β I don't need to copy User avatars to WordPress β€” I'm trying to use the FluentCommunity "BuddyPress Migrator" to move all the BuddyPress Groups to FluentCommunity πŸ‘

Jonathan N.

David ChurchillΒ Obviously you are misunderstanding my point - you asked if it would be possible to migrate BuddyPress Avatars - it is not, so I provided you with the workaround.

David Churchill

Jonathan N.Β sorry if there's any confusion β€” I meant Group Header images, not the User Avatars. It doesn't actually matter as there's only 14 groups, so I manually added the Thumbnail, Open Graph and Featured Images.

Have you migrated your Groups? Did all the posts copy over ok?

David Churchill

Update: I have disabled all plugins apart from core BuddyPress and FluentCommunity, switched to a default Theme and the Migration still doesn't see/migrate the Posts!

So sadly I don't think it's working - unless anyone else has tried/succeeded?

Cointacter

It migrates the posts but without any media, no photos no gifs no videos all posts are empty... Even youtube embeds appear as simple text urls

David Churchill

Rosvaldas NudasΒ think this is something that needs more attention - if there's a simple, reliable way to migrate from BuddyPress there will be a lot more people using it...