miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Search | Statistics | Manual |
Suggestions miniBB Support Forums / Suggestions /   

BB code to not transform other BB tags within of it

Author Vishal
Registered
#1 | Posted: 4 Feb 2008 05:00 
OK, from the beginning. I wanted a BB code [code]..[/code], so when regular BB codes ([/b], [i][/i], etc.) are enclosed within the code BB code, they do not get encoded and are displayed as it is.

For example:
[code][b]Hi there
[/code] will display Hi there and not Hi there

Author Paul
Lead Developer
#2 | Posted: 4 Feb 2008 05:19 
Ok... but what is purpose of it?

We've had previously 'Disable BB codes' checkbox and I guess its purpose is the same...

Author Vishal
Registered
#3 | Posted: 4 Feb 2008 06:07 
Ok... but what is purpose of it?

Some times, I need to explain the users on BB codes usage.

We've had previously 'Disable BB codes' checkbox and I guess its purpose is the same...

Yes, the purpose is same.

Author Paul
Lead Developer
#4 | Posted: 4 Feb 2008 06:15 | Edited by: Paul 
So you can just put this box back and it should work ;-)
In the core files there were no changes regarding it.

main_post_form template:

<input type="checkbox" name="disbbcode" value="on" />{$l_disableBbCode}

Author Vishal
Registered
#5 | Posted: 4 Feb 2008 22:57 
So you can just put this box back and it should work ;-)
In the core files there were no changes regarding it.


Oh thank you! I guessed the main core files were changed too :)

Suggestions miniBB Support Forums / Suggestions / BB code to not transform other BB tags within of it Top
This topic is closed. New replies are not allowed.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB