1 novadesigns Apr 18, 2006 06:17
3 blueyed Apr 18, 2006 16:57
[img] is not enabled.
There's a comment in the plugin:
The following are dangerous, until we security check resulting code.
You would just have to uncomment the appropriate lines in "var $search" and "var $replace".
*edit*: I've added it to the todo list. Thanks for "reporting".. :)
4 personman Apr 18, 2006 16:57
For my money, this:
<a href="linktomywebsite.com/large_image_file.jpg"><img src="linktomywebsite.com/thumbnail_image_file.jpg" alt="something" /></a>
is just as simple as this:
[url= linktomywebsite.com/large_image_file.jpg ] [img] linktomywebsite.com/thumbnail_image_file.jpg [/img] [/url]
And the first one lets you have an alt text, which is pretty important.
5 novadesigns Apr 18, 2006 19:02
blueyed wrote:
[img] is not enabled.
There's a comment in the plugin:
The following are dangerous, until we security check resulting code.
You would just have to uncomment the appropriate lines in "var $search" and "var $replace".
*edit*: I've added it to the todo list. Thanks for "reporting".. :)
Thanks :)
I'm curious, what's dangerous about it? I've had that capability for nearly 5 years on a very active web forum and its never presented any problems. I suppose if its the comment spam you're worried about, just disallow image posting for comments. That would make more sense to me anyway.
BTW, I realize its not that much more complicated to use HTML, its just that I am so used to BB code now and it does involved a lot less use of the shift key. Call me set in my ways, I guess. ;)
6 daethian2 Nov 01, 2006 18:35
I like bb code though because I have to use it on one site and I repost the exact same thing on my b2 blog so it saves me mad keystrokes to copy and paste.
The image part of the bbcode plugin is commented out by default. Look in /plugins/renderers/_bbcode.renderer.php and you'll see that the sections that do images are commented out. You could uncomment both of those sections and it may work. The comment does mention a security risk. I don't know anything about it, so do this at your own risk.