I made a download page for my WordPress BBCode Plugin. Please post any bug reports or comments on the plugin as comments or trackbacks to this post.
I made a download page for my WordPress BBCode Plugin. Please post any bug reports or comments on the plugin as comments or trackbacks to this post.
My name is Jeff Moore. I'm a PHP programmer living in San Francico and working for a startup.
Word of warning on HTML_BBCodeParser – it’s possible to inject Javascript into links – I’ve mailed the author once but no reaction (will raise it as a PEAR bug shortly). Put an example of the problem here (see the last comment). Note to self – something I should fix in WACT as well!
I am routing the html output of HTML_BBCodeParser through the WordPress HTML sanitizer. (which has its own source forge project). It should take care of any wayward JavaScript.
You mentioned that you have to add [code]$output = convert_chars($output);[/code] to [code]wp-includes/template-functions-post.php file at line 143[/code]. Why not just use this: [code]$output += convert_chars($output);[/code] or if that will not work this: [code]$output .= convert_chars($output);[/code]? I would assume that would work and would not require editing core files.
images aren’t shown in the comments. how can i solve this problem?
How can I edit the wp-comments, wp-comments-popup, and wp-comments-reply files to state that my journal now supports BBCode? I made an HTML page with all of the BBCode tags from your site, I’d like to link to that if possible. Sorry, I know nothing about coding in PHP…
If you could drop me an email, that would be great…
Thanks for the awesome plugin…will definitely make my jump to WordPress that much easier.
I added a block of code to enable bbcode [code] blocks. In the current version the [code] block just converts to <code>. No fun. I added a few lines you bbcodes.php where it is parsing the [code] block. Right now the extended filter does not do anything I added the following:
Code:
function _preparse()
{
// Declare the format for [code] layout
$CodeLayout = "'
' . str_replace('\"','"',htmlspecialchars('\1',ENT_QUOTES)) . ''";
// Check for [code] text
$this->_preparsed = preg_replace("/\[code\](.+?)\[\/code\]/ies","$CodeLayout", $this->_text);
}
Boy my previous post was butchered. I was trying to post bit of a fix for [ code ] blocks but I did not have much sucess… kind of speaks to my problem. Either way you can see the details here http://www.smrussell.net/blog/wp-trackback.php/35
Is the patch to template-functions.php still needed in 1.2.2? It looks like it would still apply the same.
Brian
[...] error prone than the upgrade from 1.02 to 1.2. The upgrade process is very well done. My BBCode plugin seems to work without modification (so far). The new feat [...]
hey man how what code do i input so that it will show up in my comments, reply. etc? Need help thanks!!
Hi, I would just like to say thank you for this plugin but to make a suggestion: Can you please make the URL tags open in a new window? This is standard BBCode. I’m having a bit of trouble understanding your code since it’s quite complex. Thanks a BUNCH.
[...] I upgraded WordPress to 1.5.2 this weekend. This version fixed some bugs that made it necessary to edit WordPress itself in order to get my BBCode plugin to work. That editing is one reason I put off upgrading for so long. I am grateful that my plugin can now exist on its own. (I’ll release a new version in a few days.) [...]
Yo!
Found a bug. I installed this plugin in WordPress 1.5.2 and can’t insert the missing line, so I don’t know if it’s because of that or not.
But if I insert a link, like http://www.blah.de (just for testing), then it shows me something like this: http://mypage.de/folder/news/www.blah.de
Only if I add the http:// tag it works. But what if I want to leave that out so that the plugin recognises the link by itself? Also the code target=new doesn’t work.
Also I’m pretty curious when the new version will be released.
Hi, thanks for the great plugin.
One question: is there a possibility to make that BBCode works only with the post-comment window and not with the other ones, like the one you use to post a post/page?
Thanks for your assistance.
The new version should account for all of the comments that people have made on this page. The new version is quite a bit more difficult to write than the current version. Partly because I am writing it from scratch instead of incorporating an external library, and it has to meet my standards. Partly because it needs to support a mix of both BBCode and HTML at the same time. No pre-existing library can do that without a variety of obscure bugs. I am fixing all sorts of obscure problems. I hope to finish the new version before 2.0 final is released. I am working on it this weekend, in fact. Thanks for your interest.
What I want to do on my blog, is every few hours take the oldest post and move it to the
front of the queue, all automatically. Anyone know if there is a plugin that can do this or
a simple way to set up another plugin to do this (use my own feed perhaps)?
Thanks.
Your download link is broken.
k, first i dont hav ethis file. “http://www.rune-nation.net/rune-paper/wp-includes/template-functions-post.php”
never got it. my blog works fine. so what now?
When I click on the download link it doesn’t download. Please check it.
Thanks
Hi there!
Great plugin, I think it actually works! (And I’m on WP 2.3, running the K2 Theme).
Have to test some though, but the old posts (HTML) are still parsed, as is the BBCode, for as far as I’ve had any chance to test it…
@HP, the download link isn’t broken, your browser just doesn’t recognize the extension, and that’s a client side issue, really. You have to right click and “save as” afterwards, you will have no trouble opening the archive.
[...] BBCode & HTML: Ik kan nu berichtjes typen in HTML en in BBCode. Ook in de reacties kun je beide manieren gebruiken. [...]
hi,
Can you pls set size to phpbb3 size. from 0 to 200.
And can you also set that not only bbcode will be there, but also default wordpress coding. Because I have 500 post by wordpress coding and when I use your plugin, it ruin all of them. There are clicable links and html tags.
I’d like to add my own bbcodes. Is there a way to do this?
Cool, the post.
@
Thanks for the information.
WP 2.5.* no file wp-includes/template-functions-post.php
With the whole thing that appears to be developing within this particular subject matter, all your opinions are generally fairly radical. Having said that, I beg your pardon, because I can not give credence to your whole theory, all be it radical none the less. It looks to everyone that your commentary are not entirely rationalized and in fact you are generally your self not even wholly confident of your assertion. In any event I did appreciate reading through it.
Craniosacral…
[...]WordPress BBCode Plugin – Professional PHP[...]…
Very informative and good structure of articles, now that’s user pleasant (:.
I liked as much as you’ll obtain carried out right here. The cartoon is attractive, your authored subject matter stylish. nevertheless, you command get got an edginess over that you want be turning in the following. sick surely come further previously once more as precisely the similar nearly very frequently within case you defend this hike.
I really like the way you write and also the theme in your weblog. Did you code this your self or was it performed by a skilled? I’m rather exceptionally impressed.
uidqehsffofofshznfuipet, REM Again, rBxPYHU.
????????? ?????? ? ????????? [url=http://evakuatormoskva.com/ceny_na_evakuacyu.html]???? ?? ?????????[/url]? ???? ??????????? ??????? ?????? ? ????? ?????? ?? ????