bbPress Plugin Browser »

BBcode Lite for bbPress (1.0.5)

Download

Version: 1.0.5

Last Updated: 2011-12-24

Requires bbPress Version: 0.8.2 or higher

Compatible up to: 0.9

Author Homepage »

Plugin Homepage »

Donate to this plugin »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(26)

Your Rating

Author: _ck_

Tags: ,

  1. How do i get this work on bbportal?

    Posted: 2 years ago #
  2. Hello, just a quick comment that you should rewrite you li preg_replace

    replace:
    [code]
    $text=preg_replace('/(\<br \/\>|[\s])*?\[(\*|li)\](.+?)(\<br \/\>|[\s])*?(\[\/(\*|li)\](\<br \/\>|[\s])*?|(?=(\[(\*|li
    )\](\<br \/\>|[\s])*?|\[\/list\])))/sim','<li>$3</li>',$text);
    [/code]

    to:
    [code]
    $regexp = '/(<li(?:\s*.*?)?>.*?<\/li>\s*)+/is';
    $text = preg_replace($regexp, "
    <ul>$0</ul>
    \n", $text);
    [/code]

    so it always gets closed with ul to forcome forum error's and such :)

    Posted: 2 years ago #
  3. _ck_ First thanks for this and the other great plugins.
    I have an issue with urls that have brackets [] I didn't knew that was allowed in URLs but it seems it is:

    http://www.agenciadenoticias.unal.edu.co/index.php?id=2&tx_ttnewspointer=2&tx_ttnewstt_news=20015&tx_ttnewsbackPid=1&tx_cegallery_pi1album=0&cHash=05aff81f46

    The output for that URL was:

    =2&tx_ttnews[tt_news]=20015&tx_ttnews[backPid]=1&tx_cegallery_pi1[album]=0&cHash=05aff81f46]No llegarán recursos a la UN

    Posted: 2 years ago #
  4. Tudor

    Member

    I am getting a "404 File not found" error when trying to download this plugin. :(

    EDIT: Must be a server thing, at this moment none of the bbPress plugins can be downloaded.

    Posted: 2 years ago #
  5. I have a problem with the "CENTER" function. If I "center" something all posts and replies afterwards are also centered.

    This problem appears only when this plugin is active and only with INTERNET EXPLORER (IE 7) with Firefox (FF) everything works fine. The problem is that 55% of my visitors use IE. Therefore I need a fix of that problem. Could you please have a look on it?

    Posted: 2 years ago #
  6. paamayim

    Member

    Is there a working version of this for bbPress 1.0.2? URL formatting doesn't work for me.

    Posted: 2 years ago #
  7. paamayim

    Member

    Anyone in there? Where could I find a replacement for this vital plugin for latest bbpress 1.0.2?

    Posted: 2 years ago #
  8. spedro

    Member

    In version 1.0.2 don't work. Any solution?

    Thanks

    Posted: 1 year ago #

  9. All BBcode-lite users should upgrade to 1.0.5 IMMEDIATELY

    (regardless if you allow images or not)

    http://bbpress.org/plugins/topic/bbcode-lite/

    http://plugins-svn.bbpress.org/bbcode-lite/trunk/

    Posted: 1 year ago #
  10. Updates for _ck_ Plugins, hell yeah! :>

    Posted: 1 year ago #
  11. @the_wish, LoL, unfortunately it's not for good reasons, sad to say.

    @mran3, when brackets appear in a URL you must entity encode them,

    ie. change [ to %5B and ] to %5D

    Posted: 1 year ago #
  12. Tomcraft1980

    Member

    Hi _ck_, it seems like your plugin super-search needs an update to work with the new bbcode-lite.

    Performing a search results in:

    Warning: Invalid argument supplied for foreach() in /var/www/web1/html/wordpress/forum/my-plugins/bbcode-lite/BBcode-lite.php on line 44
    
    Warning: Invalid argument supplied for foreach() in /var/www/web1/html/wordpress/forum/my-plugins/bbcode-lite/BBcode-lite.php on line 45
    
    Warning: Invalid argument supplied for foreach() in /var/www/web1/html/wordpress/forum/my-plugins/bbcode-lite/BBcode-lite.php on line 46

    Best regards

    Tom

    Posted: 1 year ago #
  13. Ah okay that's because for some reason I do not remember, I changed the init priority to 255, which means bbcode lite doesn't get initialized until after super-search runs.

    We can fix that by changing the first line
    from add_filter('bb_init','bbcode_lite_init',255); to add_filter('bb_init','bbcode_lite_init',9);

    Thanks for reporting that, I've updated the svn (again).

    Alternately we could have changed super-search.php from 'super_search_init'); to 'super_search_init',256);

    Posted: 1 year ago #
  14. Tomcraft1980

    Member

    Hi _ck_,

    thanks so much for your really quick fix!

    Which solution will you commit to the svn? I'd like to stay compatible with your preferred solution. ;-)

    Best regards

    Tom

    Posted: 1 year ago #
  15. To be safe I did both, since either fix will work and people use different combos.

    Posted: 1 year ago #
  16. Tomcraft1980

    Member

    Thx... I followed your way and did the same. ;-)

    Best regards

    Tom

    Posted: 1 year ago #
  17. The rendering was not working for me in 1.02 after installing some other plugins (couldn´t afterword not figure out which one this was), but switching to "pre_text" in plugin filter as advised in the FAQ helped me out.
    Great plugin!

    Posted: 1 year ago #
  18. Thnx

    Posted: 9 months ago #
  19. Great plugin, thanks for that!

    Posted: 3 months ago #
  20. Thank you experience it works very well

    Posted: 3 months ago #

RSS feed for this topic

Add a Comment »

You must log in to post.