Skip to:
Content
Pages
Categories
Search
Top
Bottom

Plugin: bbCode for bbPress

Viewing 9 replies - 1 through 9 (of 9 total)
  • 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


    linickx
    Participant

    @linickx

    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 !)

    This is awesome! Thanks :D!


    citizenkeith
    Participant

    @citizenkeith

    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. :)


    _ck_
    Participant

    @_ck_

    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/


    citizenkeith
    Participant

    @citizenkeith

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

    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…

    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.

    Thanks! That fixed it.

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