Customizing SMF > SMF Coding Discussion

Need Assistance Pasting a code for Chatango shoutbox.

<< < (2/4) > >>

Sorck:
Well I know that the SMF [html /] BBCode doesn't sanitise the code.

And TBH, I don't see why an admin-editable block needs to be restricted in it's content. (beyond maybe running censorText() on it)

Arantor:
Not necessarily parsing or sanitation that would prevent raw code.

SMF allows admins to use raw HTML inside posts, with the html bbcode for example - but only actual admins can make posts with it in.

I'd imagine that PMx works like other portals and does allow admins to use raw HTML in such cases.

(Note: technically, the code is sanitised in all cases but specifically desanitised for the raw HTML bbcode. The process behind that is rather complex to explain, however!)

Orangine:

--- Quote ---SMF allows admins to use raw HTML inside posts, with the html bbcode for example - but only actual admins can make posts with it in
--- End quote ---
ok, makes sense

K@:
Just to prove (ish) the point, I created an html block with Simple Portal and pasted that code in it.

Worked like a charm. :)

Orangine:
without escaping the ' characters?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version