Skip to:
Content
Pages
Categories
Search
Top
Bottom

Imported topics don’t connect to forums

  • @highgatecreative

    Participant

    Hi,
    I’m currently running bbPress 2.6-beta-2 and WordPress 4.8 (I switched to the beta because it solved an issue that I ran into earlier during development).

    I’m attempting to import bbPress forum content from an old SQL database into bbPress forums using a hand-rolled Perl script that maps the exported CSV fields to the fields in wp_posts and key/value pairs in wp_postmeta.

    The Results and Issue
    1. On the admin Topics page, my Topic is shown connected to the correct parent forum.
    2. I can also view the topic page and comment on the topic.
    3. But the imported Topic doesn’t appear in the forum when displayed on the site.

    Here are the fields that I’ve successfully imported data into:

    FOR FORUMS wp_posts:
    post_author
    post_date
    post_date_gmt
    post_content
    post_title
    post_status
    post_name
    post_type

    FOR TOPICS wp_posts:
    post_author
    post_date
    post_date_gmt
    post_content
    post_title
    post_status
    post_name
    post_type
    post_parent

    FOR TOPICS wp_postmeta:
    _bbp_forum_id
    _bbp_topic_id

    When I update the Topic and the forum, WordPress creates additional meta_keys/values for each entry, but the Topic still doesn’t appear in the forum.

    Questions: Are there other meta-keys/values I need in wp_postmeta, or any other key/values in any other table to get the Topic to appear? What am I missing?

    Thanks in advance

    Angela

Viewing 3 replies - 1 through 3 (of 3 total)
  • @robin-w

    Moderator

    may not work, but try

    dashboard>tools>forums>repair forums

    @highgatecreative

    Participant

    Thank you so much! It worked! I just have to refresh each page to get the forums working now.

    @robin-w

    Moderator

    great – glad you are fixed !!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar