Allow your miniBB-forums members communicate with each other tet-a-tet
with the Private Messaging addon! Click here to read more.
Private Messaging addon for miniBB
miniBB ®
 
miniBB Community Forum
 | Forums | File Bank | Sign Up | Reply | Search | Statistics | Manual |
Official Addons and Solutions miniBB Community Forum / Official Addons and Solutions /
Short link for this topic:

Preformatted Text & Automatic script tabbing

 
Author tom322
Forums Member
#1 | Posted: 27 May 2006 21:57 | Edited by: tom322
I'm not quite sure what the [pre] and [scripts] tags exactly do. I posted a test message at

****

I can see it changes the background/text color and margins but I'm not sure when else I could use it (would that be for long texts for example?).

Thanks,

tom

-------

Nevermind - I think I got it...:}.
Author realitybytes
Forums Member
#2 | Posted: 27 May 2006 22:04 | Edited by: realitybytes
script tags are so you can post exactly that programming code.

Forums use BB code which strips down any submitted text of characters that are not allowed this is for two main reasons

1) so that users cannot change the way the board looks, if html characters were allowed then it would be easy to deface the board.

2) for security reasons lots of exploits are openend up if certain characters are allowed.

So the script tags allow for code to be posted without it effecting the board or opening up exploits

PRE I presume comes from the html PRE tag which is preformated text

to quote an HTML source

The PRE element contains preformatted text. Visual browsers should render preformatted text in a fixed-pitch font, should not collapse whitespace, and should not wrap long lines.

PRE is useful for formatting computer code or poetry where whitespace is important, but since preformatted text is inherently visual, authors should avoid dependence on it wherever possible.

Also it shouldnt be parsed by smilies which I have just noticed here that it is

http://minibbtest.virtualis.lv/minibb-test.php?action=vthread&forum=2& topic=96

But that is an example of code posted on the link above
Author tom322
Forums Member
#3 | Posted: 27 May 2006 22:12
OK, thanks realitybytes... I think I understand now..
 
Official Addons and Solutions miniBB Community Forum / Official Addons and Solutions / Preformatted Text & Automatic script tabbing Top
Your Reply Click this icon to move up to the quoted message

» Username  » Password 
You are welcome to post anonymously by entering a nickname with no password (if that nickname has not been taken by another member) or by leaving both fields empty. If you have a forums membership account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 
miniBB Community Forum Powered by Free Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts