• Welcome to Simple Machines Community Forum. Please login or sign up.
November 27, 2021, 09:58:17 PM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


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

November 28, 2004, 02:56:05 AM #3 Last Edit: November 28, 2004, 02:57:46 AM by Anguz
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

September 29, 2005, 11:56:28 AM #8 Last Edit: September 29, 2005, 05:13:43 PM by huijaa
[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: