miniBB ®

miniBB

®
Support Forums
  
 · Start · Sign in · Register · Search · Statistics · File Bank · Manual ·
Suggestions miniBB Support Forums / Suggestions /  
 

BB code to not transform other BB tags within of it

 
Author Vishal
Partaker
#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 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
Partaker
#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 Lead Developer
#4 · Posted: 4 Feb 2008 06:15
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
Partaker
#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
 Share Topic's Link

This topic is closed. New replies are not allowed.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Did you know that you may be allowed to hide miniBB credits and remove miniBB's copyright notice?