Skip to:
Content
Pages
Categories
Search
Top
Bottom

Any Way to Convert WordPress Comments to BBPress

  • Hi, I was wondering if anyone knew a way to take wordpress comments and convert them into BBpress. Or alternatively maybe WordPress Comments into PHPBB, then use a converter to go from PHPBB to BBPress?

    If anyone has done this before or if you know how best to approach this I’d sure appreciate some guidance. Thank you.

Viewing 16 replies - 1 through 16 (of 16 total)

  • Gautam Gupta
    Moderator

    @gautamgupta

    You may check my WordPress to bbPress converter – http://code.google.com/p/wordpress-to-bbpress-converter/

    It doesn’t migrate users yet, so you would have to do that yourself (before using the script).

    Awesome, thank you very much Gautam for your help!

    Hi Gautam, I have the converter installed, but have a quick question for you.

    My wordpress is in the root directory, my bbpress forums are in

    http://www.sitename.com/forums2

    Here is the part of your code:

    define( ‘W2BC_WP_PATH’, ” ); /** With Trailing Slash, if required */

    define( ‘W2BC_BB_PATH’, ‘/forums2/’ ); /** With Trailing Slash, if required */

    define( ‘W2BC_CONVERT_PINGBACKS’, true ); /** Convert pingacks too? true or false */

    *** Continue my question ***

    I keep getting “bbPress loader file (bb-load.php) doesn’t exist in the path specified!”

    I have tried defining the w2bc_bb_path to ./forums2/ I have left it as the default like you had it and I have tried it as it is in the example above … it still tells me the path doesn’t exist

    Could you let me know what path I need to define, if my forums are located at

    http://www.sitename.com (this is where wordpress is installed)

    http://www.sitename.com/forums2 (this is where my bbpress is installed)

    Thank you again for the help and for the file. I am hoping I can get it to work:-)


    Gautam Gupta
    Moderator

    @gautamgupta

    Where have you put the script? Put it in the root and also check if /forums2/bb-load.php exists.


    christopher jon
    Member

    @christopher-jon

    Does this work with the new bbpress 2 (plugin version) or is it only for the current release?

    Does this work for bbpress 2 (plugin version) or is it only for the current release?


    Gautam Gupta
    Moderator

    @gautamgupta

    You can convert your WordPress install into bbPress standalone and then convert bbPress standalone into bbPress plugin.


    christopher jon
    Member

    @christopher-jon

    OK, gotcha, thanks.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Something more official will probably come down the pipe eventually. I imagine there will be a need to convert long blog comment conversations into forum topics and replies.


    Martin
    Participant

    @rastarr

    Well, it’s 7 months since the last comment and I’m wondering whether anything official did actually ‘come down the pipe’?

    I’ve just converted my Drupal site over to a locally running WordPress / bbPress installation however all previous forums from my Drupal site are currently WP Posts since they’ve retained the comment structure.

    I’m able to convert the Posts to Topics however the comments remain elusive, presumably since Replies are a custom content type and, for whatever reason, comments aren’t a content type. At least nothing that’s recognised by the converting plugin that I found.

    Being able to convert a WP Post with comments to a Topic with Replies is about the only thing now that’s stopping the converted site from going live.

    Any suggestions would be hugely appreciated.

    Thanks

    Martin


    Gautam Gupta
    Moderator

    @gautamgupta

    Rastarr, you may try converting your WordPress blog into bbPress standalone forums via http://code.google.com/p/wordpress-to-bbpress-converter/ and then use the bbPress plugin importer to import from the bbPress standalone. Please have a backup, cheers! :)


    Martin
    Participant

    @rastarr

    Hmmm, can I do that into another WP / bbPress site or does it have to be into the same installation that my current WP installation with the posts is running in?

    And can it only convert a particular category as well I.e I’ve already set a ‘Forum’ category for the posts I’d like to convert.

    Thanks for your help thus far too


    wasimansha
    Member

    @wasimansha

    Does this plugin convert the comments to Topics?

    OR

    it converts the posts to topics?

    I really need to convert my comments to topics and have discussion over there.

    my url is palestinefacts.org

    you can see there is very long homepage so i need to convert them to forums.


    radi_v
    Participant

    @radi_v

    Any updates on this topic?

    I need to convert my post comments into replies. How to do it?

    @radi_v Take a look at this https://github.com/nosecreek/Posts-to-bbPress

    It is doing ‘Converts WordPress posts and comments to bbPress topics and replies.’

    I haven’t looked closely at the code yet (possibility including this to the bbPress core ‘import tool’) though you may be able to tweak it to only do ‘comments’ to ‘replies’.


    Will Brownsberger
    Participant

    @will-brownsberger

    This is a potentially useful plugin, and makes nice use of WP functions.

    However, I’ve reviewed this code and I don’t believe that it works.

    Unless I’m missing something it doesn’t update the various necessary _bb_press metakeys.

    It just simplistically changes the post types for the posts to “topic” and stores the comments as replies.

    Possible that I’m missing something, but the documentation for the insert post function includes no indication that it will maintain the necessary bbpress fields.

    See http://codex.wordpress.org/Function_Reference/wp_insert_post

    Although I haven’t run the code, I don’t actually believe that it will even insert the posts into the selected bbpress forum. It will, however, create the topics which can then be moved around manually.

    Just a lay person’s read.


    Will Brownsberger
    Participant

    @will-brownsberger

    Just a follow up.

    Here is a different plug in that does a reasonable job:

    http://wordpress.org/extend/plugins/bbpress-post-topics/

    After installing it, go to discussion settings and then set it to create a forum topic for each post, copy tags, etc. Then you have an option to apply settings to all existing posts.

    I tried this on a test site and it worked pretty well. It did not do all the bookkeeping of reply counts correctly, but it did create appropriate topics for each post and import the comments and replies to them.

    It is also reversible as it does not delete either the posts or comments — if you deactivate the plug in your posts (which were unchanged anyway) and their comments are intact. You do still have a bunch of new topics in your target forum.

Viewing 16 replies - 1 through 16 (of 16 total)

You must be logged in to reply to this topic.