News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Escape Tag

Started by Anguz, November 06, 2004, 10:58:24 PM

Previous topic - Next topic

Anguz

Link to Mod

Requires FasterParsecode to be installed first.
http://mods.simplemachines.org/index.php?mod=39
      
This mod adds a new bb code tag: [esc][/esc]. The bb code inside this new tag won't be parsed. It won't work with the code tag.

Copyright 2004 by Cristian Lavaque. http://anguz.net
Cristián Lávaque http://cristianlavaque.com

Anguz

Cristián Lávaque http://cristianlavaque.com

ANARCH¥

well.....i am sry for this , perhaps inutile post and question for you...but, parse..what is it and what that do...and escape ..why for ?
thx..do i said i was sry for stay dumb in php? ahh yes..hmmm. welll...thx for uderstand

Anguz

#3
http://dictionary.reference.com/search?q=parse

In bulletin board code, we mean figuring out the tags used in the text and do with them what they're intended for. In the case of the [b][/b] tag shown in the screenshot, it'll make the enclosed text bold.

There's times when you want to show the tag without having it changed, that's where the escape tag is useful, not everybody will need it though. There's even a way to have the code not parsed without this mod (which I used to show the bold tag), but when you have to do it with a lot of code, it's nicer with this method.
Cristián Lávaque http://cristianlavaque.com

Anguz

1.01


  • Updated for SMF 1.0.1
Cristián Lávaque http://cristianlavaque.com

Anguz

1.02


  • Updated for SMF 1.0.2.
Cristián Lávaque http://cristianlavaque.com

Anguz

1.03


  • Updated for SMF 1.0.3.
Cristián Lávaque http://cristianlavaque.com

Anguz

1.04


  • Updated for SMF 1.0.5.
Cristián Lávaque http://cristianlavaque.com

huijaa

#8
[nobbc]...[/nobbc] in SMF 1.1 RC1 is now in stead of [esc]...[/esc]

Reason editing: nobbc was not visible.
Dovenforum Nederland -- a forum for deaf people in the Netherlands --

Anguz

Cristián Lávaque http://cristianlavaque.com

totenmaske

Quote from: Anguz on November 28, 2004, 02:56:05 AM
There's even a way to have the code not parsed without this mod (which I used to show the bold tag)

If you don't mind me asking how do you do it without installing the mod?  I only need to be able to do this on one post and I hate to install a mod just to be able to post some sample code...
</ Stanley>
SMF - hxxp:www.linkclinic.com/ [nonactive]
vB - hxxp:www.freelancefans.com/ [nonactive], hxxp:www.gatheredtreasure.com/ [nonactive], hxxp:www.wealthcollege.com/ [nonactive]

Anguz

You can put it inside code tags, then it won't be parsed, but it'll be shown inside a code box.
Cristián Lávaque http://cristianlavaque.com

Advertisement: