Problem with duplicate threads (5 posts)

  1. amnya
    Posted 6 years ago #

    I am facing a problem with wordBB 2.9 ad 3.0, i discussed it with rosario a year back, and seems like no solution has been found around it yet.

    I did not set any categories in wordBB, so, all categories link to the default forum.

    So, lets assume i have a single post, that is linked to 5 different wordpress categories. When i click on the link that creates the forum by wordBB, it actually creates 5 threads! Instead of one!

    This being said, only one of those posts is actually the bridge between wordpress and mybb. So i would then need to check which version shows in wordpress and delete all the rest. What can i do to fix this problem?



  2. ___
    Plugin Author

    Posted 6 years ago #

    Woah, a year ago! Time flies.

    Since I'm working on the plugin now, I added this to my todo list.
    I'll think about it and will come up with a solution soon.

  3. amnya
    Posted 6 years ago #

    Yes indeed, time flies REAAAL fast, anyways, thanks for the plugin and hope we get this problem/bug settled :)

    PS: How can i create a thread in myBB for a wordpress "Page"? pages just like blog posts has a comments section, any ideas on how can i link a wordpress page to a mybb thread?

    Cheers :)

  4. z6joker9
    Posted 5 years ago #

    I ran across this same problem. Since I don't want them separated into categories in MyBB, I just made this quick and dirty edit in WordBB.php around line 980 (I may have made other edits, can't remember):

    Find this line:

    foreach($categories as $category)

    Change to this:

    //foreach($categories as $category)
    $categories = $category;

  5. amnya
    Posted 5 years ago #

    z6joker9, dude, you're awesome, it worked :)

    Thank you, big time :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordBB
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic