Yes the error is yellow and I did run all of the repair tools
`SELECT convert(posts.pid USING “utf8”) AS pid,convert(posts.topic_id USING “utf8”) AS topic_id,convert(posts.ip_address USING “utf8”) AS ip_address,convert(posts.author_id USING “utf8”) AS author_id,convert(posts.post_title USING “utf8”) AS post_title,convert(posts.post USING “utf8”) AS post,convert(posts.post_date USING “utf8”) AS post_date,convert(posts.edit_time USING “utf8”) AS edit_time FROM posts AS posts WHERE posts.new_topic = 0 LIMIT 0, 100`
This error comes up right after it says “No replies to convert”
oK, I have got most of the way there.
I put this is to content-single-forum.php.
Needs finishing, and I think it may do better in header.php as it’s looking for ver specific URLs.
Can you create a bug ticket over at trac for this please
https://bbpress.trac.wordpress.org/
O.M.G I have finally come across the solution to my problem! Well I have only tested it in my local environment a couple of times and the issue has gone away so hopefully it’s fixed for good!
https://bbpress.trac.wordpress.org/ticket/2155
The solution was to change the `bbp_redirect_to_field()` function. I changed this function located in bbpress\includes\common\template-tags.php and the redirects now work!
Thanks bbPress team =)
Modified function:
`function bbp_redirect_to_field( $redirect_to = ” ) {
// Make sure we are directing somewhere
if ( empty( $redirect_to ) ) {
if ( isset( $_SERVER[‘REQUEST_URI’] ) ) {
$redirect_to = ( is_ssl() ? ‘https://’ : ‘http://’ ) . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘REQUEST_URI’];
} else {
$redirect_to = wp_get_referer();
}
}
// Remove loggedout query arg if it’s there
$redirect_to = (string) esc_attr( remove_query_arg( ‘loggedout’, $redirect_to ) );
$redirect_field = ”;
echo apply_filters( ‘bbp_redirect_to_field’, $redirect_field, $redirect_to );
}`
It should convert the replies as I am currently updating it with some ‘extra’ stuff.
Do you see an error displayed in the yellow status conversion window? If so what is it?
Did you run the ‘repair tools’ after importing to ‘recount’ all the things?
I found he solution for the white text in visual editor problem when using BBpress.
Go to your ftp and open public-html/wp-includes/css/editor.min.css ( I found it viewing my site’s source code)
You will see a whole bunch of code making it almost impossible to find the right part to change.
Call it a lucky guess but when i searched the word ‘white’ i only found 1 code:
-wp-editor-area{color:white}
I changed it into black and this solved the white text problem!
so just search for wp-editor-area{color:white} and change it into:
-wp-editor-area{color:black}
I found he solution for the white text in visual editor problem when using BBpress.
Go to your ftp and open public-html/wp-includes/css/editor.min.css ( I found it viewing my site’s source code)
You will see a whole bunch of code making it almost impossible to find the right part to change.
Call it a lucky guess but when i searched the word ‘white’ i only found 1 code:
-wp-editor-area{color:white}
I changed it into black and this solved the white text problem!
so just search for wp-editor-area{color:white} and change it into:
-wp-editor-area{color:black}
I want to add an extra field to the bbPress registration form but add it to the [bbp-login] shortcode so I don’t have to do a completely custom form (which I could do but seems more of a pain). Any thoughts?
It doesn’t work, it converts forums/users/topics but no replies.
I installed the “bbPress Email Notifications” plugin, but I have buddypress installed and the two aren’t compatible. If I deactivate BP, I get access to the bbPress member settings.
I’m using bbpress and have activated the possibility for guest users to create topics and replies. The now need to enter Name, Mail and Website. How can I edit those fields and add new ones? I searched the forums but all of the solutions seem to be for registered users.
Hooray – I solved the problem. My forums are in the /forums/ (virtual) directory – however that directory still existed on my server because that’s where the forum was when I ran the standalone version of bbpress – and so that must have been conflicting. Move the directory and all is good again.
You can close this now 🙂
bbPress’ profile pages are simply a front-end interface for the profile settings available through the WordPress dashboard.
The best approach would be to see how your external membership system is disabling this functionality in WordPress, then reproduce that for bbPress.
I think giving the user an edit profile panel in a discussion forum plugin is a bad approach
To be honest, this seems like pretty core functionality for any discussion board software. I’ve personally never encountered a forum that didn’t allow me to make changes to my profile or settings.
I just added a UserRole table to the DB I am working with and added a field RoleID and set some users to RoleID = 3 and the resulting query should not import users with RoleID = 3 though it is.
I’ll take another look at what might be going on here as it doesn’t seem to be picking up the ‘join’ when processing the user section.
Can you upload a copy of your Vanilla converter to http://gist.github.com and i’ll take a look at what you have in there and will add some of the other table mappings that I have been adding to all the other converters over the past week (I haven’t added these to the Example.php converter yet, they are just extra mappings to help bbPress during the recounts after importing etc)
1) In the yellow status window of the importer if you right click in Firefox/Chrome ‘inspect element’ you can check the SQL queries that the importer ran, have a look at the SQL query for the user import and check if that is what the SQL query should be.
The from/join logic is in converter.phpL#777 and you can use that as a guide to how to translate your query to the fields you are mapping.
2) I would not worry about this option as once you have finished the import and start to run the ‘repair forums’ tools the last option is “Remap existing users to default forum roles” and that will set all users without a bbPress role to ‘participant’
Feel free to throw any questions you have here as I am trying to fix a join for the Invision.php importer as we speak and its being a pain also 😉
I’m well beyond the docs you referenced. I have the Vanilla 2 importer working, but there is a couple things I’m trying to correct. 1) I would like to filter the users to confirmed only, but the filter expression doesn’t apply. I’ve tried including the where conditions as a from_expression as well as putting them both in the join_expression. It just doesn’t look like the converter is referencing my filter.
` $this->field_map[] = array(
‘from_tablename’ => ‘User’,
‘from_fieldname’ => ‘UserID’,
‘from_expression’ => ‘WHERE User.Deleted = 0’,
‘join_tablename’ => ‘UserRole’,
‘join_type’ => ‘INNER’,
‘join_expression’ => ‘USING (UserID) WHERE UserRole.RoleID != 3’,
‘to_type’ => ‘user’,
‘to_fieldname’ => ‘_bbp_user_id’
);`
2) I would like to import all users as “Participants”, but all users come into the system with no bbPress role selected.
What do you want to know?
There is no need to reverse engineer anything, just grab the latest copy of Example.php either from /bbpress/includes/admin/converters/ or the latest updated version I am working on here and start modifying the table mappings as per the docs in the codex.
https://codex.bbpress.org/import-forums/ & https://codex.bbpress.org/import-forums/custom-import/
I’m working on adding a Vanilla Forums 2 converter to the bbPress Import package. Are there any developers out there that can answer a couple questions for me about how the converter engine works? I can reverse engineer it, but takes a lot more time than chatting with the guy/gal that wrote it. Thanks!
Yes, bbPress includes an importer to convert your Invision (IPB) forums and users to bbPress.
https://codex.bbpress.org/import-forums/
No.
That is less than one sentence, bbPress requires WordPress as everything bbPress is stored within WordPress’ database tables, it does not use its own database tables for anything including user login, registration and management.
You don’t need to show WordPress ‘blog’ pages on the homepage and you can make bbPress the ‘homepage’ essential a page on your current site.
You would have to look at how you could integrate single sign on for your current users with WordPress.
@noumaan I just tested this and everything works as expected with a WordPress user with the WP role ‘Subscriber’ and bbPress role ‘Keymaster’
These following are the only admin panels available/visible in the WP admin dashboard:
- Home – Right now in forums (stats)
- bbPress Forums, Topics and Replies panels
- Profile (Edit own profile)
- Tools -> Forums (Repair, Import & Reset bbPress tools)
- Settings -> Forums (Main bbPress settings)
I recently setup the bbpress plugin on my site – finally transitioning from the standalone code.
I have a dev site where I prepared everything and it all works perfectly.
When I transitioned everything to my live site it all looks ok – but neither myself, or my users, can post replies or new topics.
My site is here: http://prothemedesign.com/forums/
Since it all works on the dev server (which is a sub domain running from the same server) then everything should match up and work just fine.
I’m having a bit of an issue with bbPress and WPML. For some reason it loads every single wordpress post ever created under the actual forum.
See: http://www.touhou.si/forums/forum/testingissoawesome/
Has anyone seen anything like that before?