Kitz Forum
Announcements => Site & Forum Discussion => Topic started by: Weaver on May 21, 2018, 01:32:32 PM
-
Which html elements can be inserted into posts? Wondering what SMF allows.
This oddball nuisance person wondered about any way to insert html <lang></lang> tags, for things such as <lang="cy">yng Nghymraeg</cy>
I know you are busy enough without such nonsense. Best wishes and sincere thanks for your efforts on behalf of those of us who benefit all the time.
-
I don't allow any html elements, this is for security reasons as a lot of forum exploits come via inserted html.
Any elements I do allow use BBC (Bulletin Board Code) which have square bracket tags []. A lot of them are standard BBC code such as listed on this page (https://kitz.co.uk/tech/bbcode.htm).
There's lots of other bbcode I've added as mods such as
[youtube][/youtube]
[facebook][/facebook]
and they will all show above the post box ie (https://forum.kitz.co.uk/Themes/KitzBlue/images/bbc/youtube.gif)(https://forum.kitz.co.uk/Themes/KitzBlue/images/bbc/facebook.gif)
-
Attached below list of BBCs in use (see image)
I've just noticed also that the forum software will allow certain html elements if I wish, but it parses them as php BBC.
Although I don't currently have this option turned on ... for security reasons the only html elements that SMF will parse are...
<b>, <u>, <i>, <s>, <em>, <ins>, <del>
<a href="">
<img src="" alt="" />
<br />, <hr />
<pre>, <blockquote>
anything else it will ignore.
-
That list is v useful, thanks!