I make WordPress and MyBB plugins on request! Check my Plugin Development page.

WordBB 0.2 Beta Released

Projects,WordBB 29 October 2009 | 65 Comments

A new WordBB version has just been released. You can get it on the official WordPress.org WordBB page. Here’s the changelog:

wordbb

  • Now it’s possible to post a comment on the forums through WP’s form
  • Added “Redirect to MyBB thread when using WP’s comment form” setting
  • Fixed bug in Sync function
  • Fixed bug in get_comment_link() hook
  • Now you can leave “Default Post Forum” empty in order to avoid syncing by default (and maybe enable it only for specific categories in “WordBB Categories” section)
  • Fixed createPost function bug
  • Fixed bug in get_comments_number() hook

The most important feature is that you don’t need to hide your WP form anymore: you can just use it and it will post comments on MyBB directly from your WordPress blog without forcing your users to go on the forums (of course the user must be logged in). Some template tweaking is still required, as you may want to show the username of the currently logged in MyBB user near the comment form.

As usual, you can report bugs and glitches on this blog post. Happy merging!

Tagged in , ,

65 Responses on “WordBB 0.2 Beta Released”

  1. HKBP says:

    Waw, nice plugin for our ministries …
    Thanks for you …
    God Bless you

    Can i ask if we have any problem?

  2. Alex says:

    Hello,
    at first: nice plugin. Everything Works exept the Widget. When i take the Widget in the Sidebar(Backend) i cant Save it. The “loadRing” runs all the time. When i click on Save nothing happend.
    I use Wordpres 2.9.2
    Sorry for my bad english but i’m German :)

    Alex

  3. FL4PJ4CK says:

    Now it finally works just well – thank you so much!

  4. Josh says:

    I’m glad to see you can reply to the thread via the comment form on WordPress!

    One feature I really want (And a few other people I know want) is the ability to sign up on the forums, and automatically be signed up on the blog, then be able to login on the forums, and be logged in on the blog as well, and vice versa.

    If that makes sense, it would be great of you to add this feature!

  5. Hangman says:

    That was the original idea, but then I thought about it and wrote why I didn’t add this feature here: http://valadilene.org/2009/08/04/wordbb-0-1-beta-released/

  6. Grant says:

    Using wp 2.9.2.

    If (no myBB cookies are set) and (I post as a logged in user on wp), then – the comment is registered as “guest”.

    If I login on myBB then the comment is authored by the logged in user.

    Seems like a bug. I have cookie server path set to / on myBB also tried it as blank, same result.

    Also, how do I clean an installation? I deleted plugin, but on reinstall it remembered ALL my settings.

    What tables does it create? I have spend 10 hours on this.

  7. Grant says:

    If I login on myBB then the comment is authored by the logged in user. (the logged in user on myBB, not the wp user. So it looks like existing cookies control how the comment is recorded.

    I have checked:
    Create MyBB thread on WP post publish
    Use MyBB as comment system (**)
    Show MyBB posts as comments on WordPress (***)

    I have not checked
    Redirect to MyBB thread when using WP’s comment form (will redirect to WP comments if unchecked)

  8. Hangman says:

    @Grant: Have you tried clearing cookies completely and logging in again? Sounds like you have the same problem FL4PJ4CK had (he solved it now).

  9. Grant says:

    Yes I cleared cookies many times. I’m running mozilla.

    myBB configuration it forces a ‘.’ before the domain name in the cookie even if you remove the dot. You can see this at http://cctxn.com

    (Cookie Domain
    The domain which cookies should be set to. This can remain blank. It should also start with a . so it covers all subdomains.)

    In wp the domain name does not have a dot when looking at the cookie browser. I’m using mozilla.

    WP is at the root of the domain ( / )
    myBB is in /forum directory

    myBB version is 1.4.13
    PHP version: 5.2.9

    Also Is there only the wp side install? On the homepage docs for your plugin you talk about a install needed on the myBB side.

    What new tables should be present?
    How do I clear out an install entirely?

    Thanks for your help, I’m an experienced unix programmer (not php) and this is very difficult to get right.

  10. Grant says:

    I just re-read this: The most important feature is that you don’t need to hide your WP form anymore: you can just use it and it will post comments on MyBB directly from your WordPress blog without forcing your users to go on the forums (of course the user must be logged in).

    Doesn’t that mean that you have to login myBB correctly first to be able to post a comment and have it recorded properly when using the wp interface? How would a new person know to login to myBB if they are only looking the wp site for the first time?

    A full up-to-date description on what the plugin does and how the checkboxes alter it’s function would be handy. A description of it’s design would assist in debugging. I know I’m asking a lot, but trying to read the old out of date blog entries in sequence of changes is confusing.

  11. Grant says:

    Actually it would be great to see the plugin working on this site so one could see how it is supposed to work.

  12. Hangman says:

    @Grant: Well, it’s simple: you just hide the WordPress form if the user is not logged into MyBB, and then you display a link to the login page of your forums. You can use the API functions to check if the user is logged.

    As for the MyBB side: it was part of the old version, called WP/MyBB. WordBB is WordPress side only at the moment.
    Also, it’s not possible to uninstall the plugin, it’s something I’ll have to add in the future. Meanwhile you could delete all the records from wp_options starting with the “wordbb” prefix and just drop the wordbb_meta table.

    If you want to see WordBB in action, check these sites I worked on, they have some cool WP-MyBB integrations: http://vgmtorrents.net, http://www.indievault.it

  13. Grant says:

    OK I see, so I guess it’s working.

    Thanks for your reply and your work on the plugin.

  14. Derek says:

    I am on wordpress 3.1 alpha and I have this installed with mutlisite on and when I go to WordBB categories I get.

    Fatal error: Call to undefined function cat_rows() in /home/xxx/public_html/xxx/wp-content/plugins/wordbb/wordbb.php on line 762

Leave a Reply