Page 1 of 1

fake tags

Posted: Sun Mar 28, 2004 10:49 pm
by Illusionist
If anyone has ever participated in a vBulletin forum you've probably seen/heard about the [fake][/fake] tags. Which i really like a lot, because i quite frequently like to use them to tell people to post certain code in certain tags. And it really is a problem when you need to tell someone to do something in certain tags, and you also need to use tags. And on this forum i dont think thats possible, because so far the only way i've found to post [syntax=php][/syntax] is to check that box that turns BBCode off. So if i wanted to include a php script inside of php tags it wont work, because i had to turn BBCode off...
[syntax=php]echo "see...";[/syntax]

So, does anyone think we should also have some kind of similar tags??

I do!

Posted: Sun Mar 28, 2004 11:48 pm
by vigge89
yes, there should be a [nocode] code....

Posted: Mon Mar 29, 2004 2:04 am
by patrikG
If I understand you correctly [fake][/fake] is pretty much like escaping a particular code-sequence?

Posted: Mon Mar 29, 2004 3:34 am
by twigletmac
There is a trick that you can use - instead of [syntax=php][/syntax] - you can use [php[i][/i]][/php[i][/i]].

Works nicely for me.

Mac

Posted: Mon Mar 29, 2004 6:43 am
by m3mn0n
Indeed. ;)

Posted: Mon Mar 29, 2004 11:00 am
by Illusionist
hmm... i didn't know about that! Ill have to try it sometime...

Code: Select all

echo "it works!";