How do i get this work on bbportal?
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
Average Rating





Your Rating
Author: _ck_
-
Posted: 2 years ago #
-
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 # -
_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: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 # -
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 # -
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 # -
Is there a working version of this for bbPress 1.0.2? URL formatting doesn't work for me.
Posted: 2 years ago # -
Anyone in there? Where could I find a replacement for this vital plugin for latest bbpress 1.0.2?
Posted: 2 years ago # -
In version 1.0.2 don't work. Any solution?
Thanks
Posted: 1 year ago # -
All BBcode-lite users should upgrade to 1.0.5 IMMEDIATELY(regardless if you allow images or not)
Posted: 1 year ago # -
Updates for _ck_ Plugins, hell yeah! :>
Posted: 1 year ago # -
@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%5Band]to%5DPosted: 1 year ago # -
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 46Best regards
Tom
Posted: 1 year ago # -
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
fromadd_filter('bb_init','bbcode_lite_init',255);toadd_filter('bb_init','bbcode_lite_init',9);Thanks for reporting that, I've updated the svn (again).
Alternately we could have changed
super-search.phpfrom'super_search_init');to'super_search_init',256);Posted: 1 year ago # -
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 # -
To be safe I did both, since either fix will work and people use different combos.
Posted: 1 year ago # -
Thx... I followed your way and did the same. ;-)
Best regards
Tom
Posted: 1 year ago # -
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 # -
Thnx
Posted: 9 months ago # -
Great plugin, thanks for that!
Posted: 3 months ago # -
Thank you experience it works very well
Posted: 3 months ago #
Add a Comment »
You must log in to post.