Login:    

useradd
more /root/Forums and Website/BBCode.thread
2008-09-11 20:17:58IsmAvatar
This thread will be for discussing BBCode as it relates to this forum. Request certain tags, or suggest improvements or reconsideration to existing tags.

Currently existing tags:
[ins]Inserted Text[/ins]
[del]Deleted Text[/del]
[b]Bold/Strong Text[/b]
[u]Underline Text[/u]
[i]Italic/Emphasized Text[/i]
[s]Strikeout Text[/s]
[url]http://www.google.com[/url]
[url=http://www.google.com]Google![/url]
[quote]
Quote
Quoted Text
[/quote]
[quote=Title]
Quote (Title)
Quoted Text
[/quote]
[code]
Code
str[0] = "Hello World"
b = 0
show_message(str[b] + " etc[/b]")
[/code]

You can also use [[] and []] to show square brackets without having them turned into bbcode.

Other tags I'd like to implement:
* img
* list (ul/li)
2008-09-12 19:21:47Bob the BlueBerry
You shouldn't use <s>, you should use <del>.
2008-09-12 22:29:05IsmAvatar
Likewise, <u> should be <ins> instead. I've fixed this and w3c validated this page. Thanks.
2008-09-17 10:27:27IsmAvatar
Nesting works as well.

[ins][b]Good[/b][/ins]
[ins][b]Bad[/ins][/b] => [ins][b]Bad[/b][/ins]
2008-09-17 11:08:05IsmAvatar
Code tags
Code
myvar[b] = stuff[/b]
Notice the tags are not parsed
now work.
2008-09-17 11:35:23IsmAvatar
Quote
This is testing embedded quotes
Quote
Hello world
Any luck?



Code
really long code
Can get really long
and really takes up
a lot of browser space
so I've implemented
a scrollbar and a max
height. Notice, Opera
has a bug that may
prevent this from
working correctly.
Sorry, but I don't
support bugs.
really long code
Can get really long
and really takes up
a lot of browser space
so I've implemented
a scrollbar and a max
height. Notice, Opera
has a bug that may
prevent this from
working correctly.
Sorry, but I don't
support bugs.
really long code
Can get really long
and really takes up
a lot of browser space
so I've implemented
a scrollbar and a max
height. Notice, Opera
has a bug that may
prevent this from
working correctly.
Sorry, but I don't
support bugs.

Etc.
2008-09-18 09:17:12IsmAvatar
Still working out a few kinks:

Depth 0
Quote
Depth 1 [b]Depth 2
Depth 1 [/quote] Depth 0
2008-09-18 09:33:48IsmAvatar
Depth 0 Depth 1 [b] Depth 2 Depth 1 [/u] Depth 0
2008-11-12 05:24:51cheeseboy
this bbcode fails. You o
2008-11-12 05:25:34cheeseboy
bviously need to write a real parser or use regex recursion. GOD!
2008-11-12 15:28:16IsmAvatar
WHERE?!
2008-12-16 23:06:48Bob the BlueBerry
2008-12-17 04:54:34Authentic GameWarez
Quote
Warning: preg_replace() [function.preg-replace]: Unknown modifier 'T' in /f1/content/ismavatar/public/lgm/forum/thread.php on line 107

WTF? Lol
2008-12-17 05:59:38IsmAvatar
He was testing some BBcode, and found out that it caused the forum to throw an error. I'm currently working on fixing it.
2008-12-24 12:33:50Bob the BlueBerry
[tt] support would be nice.