Forums

Join
bbPress Support ForumsPluginsPlugin: bbCode for bbPress

Info

Tags

Plugin: bbCode for bbPress

  1. I've seen lots of posts requesting this functionality, but couldn't find any plugins. Well I've had a go at porting Jeff Moore wordpress plugin, not all bbcode tags work as the markup isn't allowed by default within bbpress, but it's a start !

    Download Here.
    Blog Post.

  2. I haven't had a chance to try it out yet, but it looks interesting! Do you have a forum with a post that this is working at for a demo linickx?

    Trent

  3. yeah, this forum is still online, feel free to play, I've been testing in this thread, but my css needs updating as not all effects are visiable (i.e. quotes are marked up in html, but css show's white on white - doh !)

  4. This is awesome! Thanks :D!

  5. Today, one of my users didn't close his strong and em tags... which made the everything after his post bold and italic!

    If you update the plugin, you might want to consider auto-closing all bbcode tags. :)

  6. bbPress's auto-close tags is broken by default - though the code and filter is in there, it's not passed correctly:

    add this to a plugin
    function force_balance_tags($text) {return balanceTags($text, true);}
    add_filter('pre_post', 'force_balance_tags');

    or if you don't know how, use my tweaks plugin:
    http://ckon.wordpress.com/2007/07/12/bbpress-plugin-bb-tweaks/

  7. _ck_: Thanks for the Tweaks plugin. Very useful! :)

  8. Looked like a nice tweek-plugin, but it produced a "fatal error" when I activated it. Looks like it has something to do with this suggested code:

    add this to a plugin
    function force_balance_tags($text) {return balanceTags($text, true);}
    add_filter('pre_post', 'force_balance_tags');

    When I added this to the bbcode plugin it resulted in the same fatal error when activated...

  9. Did it not say what the fatal error was?

    In any case, at a hunch putting

    if( !function_exists('force_balance_tags') ) {

    in front of ck's code, and

    }

    before the add_filter(... bit, could fix it. I don't run it myself so this is a long shot.

  10. Thanks! That fixed it.

  11. You must log in to post.