bbPress

Simple, Fast, Elegant

bbPress support forums » Plugins

Plugin: bbCode for bbPress

(10 posts)
  • Started 1 year ago by linickx
  • Latest reply from oledole
  • This topic is not resolved

Tags:

  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.

    Posted 1 year ago #
  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

    Posted 1 year ago #
  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 !)

    Posted 1 year ago #
  4. This is awesome! Thanks :D!

    Posted 1 year ago #
  5. citizenkeith
    Member

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

    Posted 1 year ago #
  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/

    Posted 1 year ago #
  7. citizenkeith
    Member

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

    Posted 1 year ago #
  8. oledole
    Member

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

    Posted 1 year ago #
  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.

    Posted 1 year ago #
  10. oledole
    Member

    Thanks! That fixed it.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.