Shoutbox

A slight error - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: General (/forumdisplay.php?fid=11)
+---- Forum: Forum & Website (/forumdisplay.php?fid=13)
+----- Thread: A slight error (/showthread.php?tid=52367)

A slight error by Nathan on 10-29-2005 at 01:14 AM

Hiya,
On the helps page on mycode at the bottom (Here..)
It doesnt show the bold bit Bold
At the bottom...


RE: A slight error by CookieRevised on 10-29-2005 at 01:18 AM

What bit do you exactly mean? I don't see any error on that page...

if you mean:
[noparse][b]bold text! :)[/b][/noparse] = [b]bold text! :)[/b]

Then that's exactly what [noparse] will do, as it means "do not parse any enclosed tags". It is absolutely correct.

eg, if you write:
[noparse][b]hello [i]world[/i][/b][/noparse]

then the output will be:
[b]hello [i]world[/i][/b]
and not:
hello world

because everything enclosed in the [noparse] tags will be interpreted as literal text, not as special tags or whatever.

EDIT: WTF at all these replies... lol :P


RE: A slight error by Plik on 10-29-2005 at 01:19 AM

do you mean

quote:
[noparse][b]bold text! :)[/b][/noparse]     [b]bold text! :)[/b]

if so its not supposed to, that demonstrates the correct use of the [noparse][/noparse] tags
RE: A slight error by Jimcando on 10-29-2005 at 01:19 AM

It's not supposed to show it bold, its showing how the no parse tags work, which means it doesn't get bold :D


RE: A slight error by Stigmata on 10-29-2005 at 01:20 AM

i see the mistake :D


RE: A slight error by dylan! on 10-29-2005 at 01:20 AM

thats because it is using the noparse tags also...the noparse tags make it so the code doesnt do anything:P
[EDIT]everyone beat me to it:(:P...except Cookie!:O


RE: A slight error by Nathan on 10-29-2005 at 01:20 AM

For ordered lists, use "list=1" (numbered) or "list=a" (alphabetical)
[b]bold text! :)[/b]     bold text! :)
/ me will post a message.     * username will post a message.
/ slap somebody     * username slaps somebody around a bit with a large trout.
At the bottom of the mycode page. where it shows you the red writing.


RE: A slight error by dylan! on 10-29-2005 at 01:23 AM

[b]bold text! :)[/b] it says  therefor the noparse acts as it stops the code
[noparse][b]bold text! :)[/b][/noparse]


RE: A slight error by Nathan on 10-29-2005 at 01:30 AM

Ohhhhhh, Oops, Sorry about that,I didnt know that,
well they do say you learn something a day...
I get it it's to show someone code.
So like this...
Number 1
And this is how you do it
[b]Number 2 [/b]