Topic: [request] ALLOW HTML IN SOME FORUMS
cmon this should be in the core. sometimes i need to put html instead of bbcode places.
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.3 extensions → [request] ALLOW HTML IN SOME FORUMS
cmon this should be in the core. sometimes i need to put html instead of bbcode places.
What kind of HTML?
everything
You mean like these: http://punbb.informer.com/forums/help/bbcode/
no bbcode fails sometimes i want to embed or do something that bbcode cant do.
everything
Last edited by rahahm33 (Today 00:46:48)
Is it worthwhile trying to explain how this is just wrong on so many levels?
no bbcode fails sometimes i want to embed or do something that bbcode cant do.
If bbcode fails in specific circumstances, report it as a parser bug.
What other types of tags are missing?
only if u think it is. point is restricting admins to only bbcode makes punbb inefficient under certain circumstances.
well <embed> is missing for one (something i could use on my board).
only if u think it is. point is restricting admins to only bbcode makes punbb inefficient under certain circumstances.
Then see if there are any extensions to cater for admins entering raw html.
It most definitely should not be a core feature, however. This is something that should be dissuaded wherever possible, not actively encouraged by default.
why not? vb, ipb, phpbb3, smf all have it as an optional feature by in their core by default. its definitely useful when you look at the extreme limitations of bbcode.
why not? vb, ipb, phpbb3, smf all have it as an optional feature by in their core by default. its definitely useful when you look at the extreme limitations of bbcode.
The forums you said above arnt set out to be Fast and lightweight like Punbb is meant to be. your average forum admin would most likely not need this as a required function and thus will be an extension.
well <embed> is missing for one (something i could use on my board).
Its hard when deciding what the general population will need a feature or wont. Some may see it as a required item however most don't need it, and having it to limit all html exploits could cause Punbb to go downhill on fast and lightweight.
PunBB is a fast and lightweight PHP-powered discussion board. It is released under the GNU General Public License. Its primary goals are to be faster, smaller and less graphically intensive as compared to other discussion boards. PunBB has fewer features than many other discussion boards, but is generally faster and outputs smaller, semantically correct XHTML-compliant pages.
Anyways, http://punbb.informer.com/forums/viewtopic.php?id=7398
For 1.3:
$pattern[] = "/\[swf url=([^ ]+) width=([0-9]*) height=([0-9]*)\]/";
$replace[] = "\n\t\t\t\t\t<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0\" width=\"\$2\" height=\"\$3\">\n\t\t\t\t\t <param name=\"movie\" value=\"\$1\" />\n\t\t\t\t\t <param name=\"quality\" value=\"high\" />\n\t\t\t\t\t <param name=\"loop\" value=\"false\" />\n\t\t\t\t\t <embed src=\"\$1\" quality=\"high\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"\$2\" height=\"\$3\" loop=\"false\"></embed>\n\t\t\t\t\t</object>\n\t\t\t\t\t";
on include/parser.php, line 706.
thx for the fix, was basically what i was looking for.
Anyways, http://punbb.informer.com/forums/viewtopic.php?id=7398
For 1.3:
$pattern[] = "/\[swf url=([^ ]+) width=([0-9]*) height=([0-9]*)\]/"; $replace[] = "\n\t\t\t\t\t<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0\" width=\"\$2\" height=\"\$3\">\n\t\t\t\t\t <param name=\"movie\" value=\"\$1\" />\n\t\t\t\t\t <param name=\"quality\" value=\"high\" />\n\t\t\t\t\t <param name=\"loop\" value=\"false\" />\n\t\t\t\t\t <embed src=\"\$1\" quality=\"high\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"\$2\" height=\"\$3\" loop=\"false\"></embed>\n\t\t\t\t\t</object>\n\t\t\t\t\t";
on include/parser.php, line 706.
I tried adding those lines, and embedding still doesn't work for me. Using PunBB 1.3.2.
There was an extension/plugin to allow HTML in punBB version 1.x
http://www.punres.org/viewtopic.php?id=705
Has anyone modded this to work in 1.3.4?
I post here because I have PunBB 1.3.2 and I try Abir's extension, made for 1.4.
Don't try this extension it blocks your website ver 1.3 !!
See : http://punbb.informer.com/forums/post/146173/#p146173
Be careful.
PunBB Forums → PunBB 1.3 extensions → [request] ALLOW HTML IN SOME FORUMS
Powered by PunBB, supported by Informer Technologies, Inc.