Not a member yet? Why not Sign up today
Create an account  

An interesting bbCode you might not know about...

#1
Some of you might not be aware of the NOPARSE tags that were added to vBulletin a few years ago, so I thought I'd clue you in.

The NOPARSE vbCode tags tell vBulletin (our forum software) not to parse anything inside the tags - that goes for other bbcode, smilies, image links, etc.

The best way is to show an example - for instance let's say you wanted to show someone how to use the IMG code to embed images in the forum post. Let's use a link to our site logo as an example. Well you can't just normally type [noparse][Image: gamebeat_mainlogo.gif][/noparse] because the forum would automatically replace that text with:
[Image: gamebeat_mainlogo.gif]

But if you wrap that in the NOPARSE tags like so:

[noparse][noparse][Image: gamebeat_mainlogo.gif][/noparse][/noparse]

Then the forum won't parse the IMG bbcode (or anything else inside the NOPARSE tags), it would disoplay like this:

[noparse][Image: gamebeat_mainlogo.gif][/noparse]

Pretty nifty huh?

Watch this... the entire text below is wrapped in NOPARSE tags:

[noparse]SmileSad:confused::mad::pWinkBig Grin:oRolleyes [Image: adspace_background.gif] Yahoo![spoiler][/spoiler][html][/html]
Quote:
[/noparse]

What would the above look like if I hadn't wrapped it in NOPARSE tags?

SmileSad:confused::mad::pWinkBig Grin:oRolleyes [Image: adspace_background.gif] Yahoo!


Get it? It's a handy little bbCode!
Reply

#2
awsome. and thanks for letting me know. Wink
Chrono
Mobo: Gigabyte GA-EP45-UD3P
CPU: Intel Q9650 @ 3.60GHz (9x400MHz)
Ram: 8GB OCZ Reaper PC2-1066
Video: EVGA GTX560 Ti SC 2GB @ 900/1800/2004 Heart
Sephiroth - Rog Strix Hero III G731GU
[Image: g1glk1-6.png]


Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)