What's New
Off Topix: Embrace the Unexpected in Every Discussion

Off Topix is a well established general discussion forum that originally opened to the public way back in 2009! We provide a laid back atmosphere and our members are down to earth. We have a ton of content and fresh stuff is constantly being added. We cover all sorts of topics, so there's bound to be something inside to pique your interest. We welcome anyone and everyone to register & become a member of our awesome community.

Noparse BB code

Nebulous's iconNebulous

Founder of Off Topix
Elite Member
Joined
Sep 20, 2009
Posts
82,870
OT Bucks
155,863
Something I think is dumb on vB, but it is what it is..



To use the [ code] box here you also need to use the [ noparse][/noparse] bb code.



(For Example) Lets say you have the following bb code:


[noparse]400banner.png[/img][/noparse]



and you want to put in a code box..

Well lets just wrap the [ code][/code] tags around that and see what happens..


Code:
[url=http://offtopix.com/]400banner.png[/img][/url]
See what happened? It showed the image inside of the code box.. Thats not very good now is it?



We will have to wrap [ noparse][/noparse] tags around the bb code and then [ code][/code] tags around that.



Example of that would look like (with spaces in the codes so it will show up):


[ code][ noparse][ url=http://offtopix.com/][ img]400banner.png[/img][/url][/noparse][ /code]



Finished Product:

Code:
[noparse][url=http://offtopix.com/]400banner.png[/img][/url][/noparse]
Alternatively you could just use the [ noparse][/noparse] tags by themselves and your code will show up, but it wont be inside of a code box.
 
Code:
[noparse][url=http://offtopix.com]THAT'S REAL SILLY![/url][/noparse]
 
the code tags are for generic code generally... there is also php, xml (i think?) and html code options available.
tongue.gif
I Like it.
smile.png
 
Back
Top Bottom