Could it be that since the deleted posts in bbpress 1.1 are still in the database as there is no way to empty the deleted creating problems during integration?
Correct. The migration doesn’t *fix* anything, it migrates exactly what you already have.
Up to you and your needs. Personally, I’d tick the box, and I suspect you’ll want to too. The reason it’s there is more for installations like WordPress.com, where the process of adding a user to a blog actually means something completely different than it does under normal circumstances.
Also, if the box isn’t ticket, bbPress doesn’t create a profile for that user, because they won’t have a *real* role on the site. They’ll be registered, but have to assigned role; bbPress will just dynamically assign the default to them on the fly when they’re using the site.
For the problems with the original poster and post no longer linked together but attributed to anonymous for the most part:
Could it be that since the deleted posts in bbpress 1.1 are still in the database as there is no way to empty the deleted creating problems during integration?
Thanks for the explanation. I think this is definitely the right step forward!
The next step forward? If bbpress could add/delete and edit existing forum roles without the need for a third-party plugin.
Thanks,
Andy
Thanks, John, those are very helpful.
I managed to insert all the postmeta and I had a successful migration with plain PHP and MySQL a while back.
I suppose there is not off documentation in place yet and I’m just need to read codes, I think.
1 thing comes across as odd though: I’m using 2.1.2 and I seem to find the _insert_function‘s inside ...wp-content/plugins/bbpress/bbp-includes/bbp-forum-functions.php and so on instead of what you mentioned?
Are you speaking in terms of some older version bbPress?
Ok, I tried again and the user can see the reply, but not the lead topic. Hope that helps. Thank you for your work!
No, unfortunately it doesn’t. I wonder whether I messed sth up, because I tried to downgrade the plugin once. Although I have tried deinstalling and reinstalling and it didn’t change anything.
MASSIVE thanks go out to nerrad and JJJ for this fix!
Seems to work just perfectly.
So JJ, do you think I now need to tick the box in the back end to assign a default level to new sign-ups, or does this patch dynamically assign the ‘member’ role to all new sign-ups too?
I finally started playing with bbPress. There are lot to learn because I want to display topics totally differently what is the default output.
First I want to display latest topics by latest activity like usual. I’ve created archive-topic.php in my theme so I can decide output.
After that I can filter topic post type so that topics are ordered by latest activity.
add_action( 'pre_get_posts', 'my_filter_topic' );
function my_filter_topic( $query ) {
if( $query->is_main_query() && is_post_type_archive( 'topic' ) ) {
$query->set( 'meta_key', '_bbp_last_active_id' );
$query->set( 'orderby', 'meta_value_num' );
$query->set( 'order', 'DESC' );
}
}
But this doesn’t display sticky posts first. They are more like last. Does someone have an idea how I get sticky posts to show first?
Topic tags don’t show up when I visit the site. That was a problem before too in previous converstions.
When I view the topic tags in admin, the tags show up including a bunch of spam tags that I had deleted in bbpress 1.1
Thanks a bunch. Hiding right under my nose.
So I updated to the new 2.2.1 bbpress plugin. Thought I would start fresh conversion. It had to finish deleting the previously converted data went to 482842099 lines. Then started the fresh conversion.
I still have anonymous posters with the occasional real poster. A thread started by an occasional real poster is the wrong poster using bbpress 1.1 reference.
ImportForums is/was bbpress 2.1.2 You go to Tools, Forums, and tab ImportForums to do the migration. The original conversion was completed using bbpress 2.1.2 and the previous just prior to WP 3.4.2. But I have upgraded to bbpress 2.2 and wp 3.4.2 (see there is now bbpress 2.2.1 plugin available)
If something went wrong in the migration as you said John, I thought I would purge previous attempted import. I have just over 90 subscribers and 90 posts. Yesterday, the purge went on for hours, and I mean hours. I finally stopped it at 482,841,799 lines!!! This purge should have taken only 30 seconds for 90 posts/subscribers.
Would this purge be the bbpress plugin problem or WP?
Latest Wp, latest bbpress, on a VPS.
Trying to move my forum from 1.0.2 to 2.2. So far managed to move users/forums/topics.
I`m stuck with attachment migration. On 1.0.2 I`m using bbPress Attachments written by _ck_, where files are located in folder, but on 2.2. version they should be in WP media library. Any good ideas how to migrate ~1100 files (jpg/png/pdf) so that they still keep linked to old posts?
How about giving our ‘Get Started with bbPress’ document a go?
https://codex.bbpress.org/getting-started-with-bbpress/
If you have any problems following this let us know and we will try to improve it.
Try bbPress 2.2.1; let me know if it fixes this.
You’ll want to look at the _insert_ functions in:
- includes/topics/functions.php
- includes/forums/functions.php
- includes/replies/functions.php
You’re going to need to build a custom migration tool, since bbPress Forums are not conventional taxonomies and terms. You’ll most likely want to write a new converter tool; there are several located in includes/admin/converters/.
I don’t see any forums on your site at: http://c3eu.com/?post_type=forum
Hello,
I am a first time WordPress user and have been designing my site for a recreational group and have stumbled upon a problem.
My bbPress is displaying all Categories and most forums, but for some reason after I created a topic in one of the forums under a category all the forums under that category dissapeared. Now the topic I posted is displaying to the right of the category as the most recent topic, but yet there is no forums showing under the category.
WordPress version: 3.4.2
bbPress version: 2.1.3
My site: http://www.c3eu.com
bbPress 2.2.1 is out to address some of the major user-role issues.
bbPress 2.2.1 is incoming, to fix this bug.
Hi John,
Thanks for your advices, really appreciate them.
I’m trying to use bbPress core functions.
Hope the documentation can be updated and improved soon.
I was not moving between installation here.
The old forums that our company had was based on P2 (or some kind of P2 based) WordPress theme and it’s kinda different from.
Therefore, using WordPress export, import function is not sufficient here.
For example, in the past, there is a topic under “Relationship” forum.
It’s actually a pure post in WordPress term and “Relationship” is a category of posts here.
Again, where is a good place for me to look at the bbPress’ insert functions?
Best regards,