http://www.staredit.net/?p=hacksPaste your bbcode in a codebox
[codebox]your code[/codebox]
Also tell me what browser you are using. And what skin you are using.
Screenshots are nice but not necessarily required.
None.
This list gets completely destroyed by the parser.
[list][*]1[*]2[list][*]2.1[*]2.2[/list][*]3[list][*]3.1[*]3.2[list][*]3.2.1[*]3.2.2[/list][*]3.3[/list][*]4[/list]
Opera 9.25 for Linux. I dunno what the skin is called, but it's the default.
None.
Using extreme amounts of quotes stretches the page, rather than having a reasonable limit.
Also, if you're going to alternate colour for the first four, you should do it for all the quote boxes (think loops!)
[quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote][quote]lol[/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote]
Also, it's still possible to deform the page using really long words with no spaces.
None.
That quote thing is trippy ;o However, that is unreasonable use, and if used, would just get the post deleted. I'm not trying to prevent stupidity.
Loops won't work. It's css. There's probably some good css2 for it but my css2 is rusty because of lack of use (because IE doesn't support it).
I could get lists to work better if list items had an open and close tag, but so far I'm trying to keep it like the original code. I think I'll actually switch it.
None.
If you do enough quotes it breaks it
None.
As per syphon's code? Would me response be just as fitting?
Notes to self
:
*clear extra line breaks around quotes
*textarea does funny things with cursor
None.
PyMS and ProTRG developer
Nested lists are a bit bugged:
[list]
[*]Testing:
[list]
[*]Test1
[*]Test2
[/list]
[/list]
Gives:
But add another entry in the first list, just after the second like so:
[list]
[*]Testing:
[list]
[*]Test1
[*]Test2
[/list]
[*]Test3
[/list]
and you get:
PyMS and ProTRG developer
Is there a limit to the [table] bbcode on the wiki? I've remade
this page so its in a table, but the table only displays if only like the first 20 or something columns are put up, too many columns and it just doesn't work (and im sure the bbcode is correct).
Here is what i used.
Edit: Also yeah the list thing looks like its fixed. The thing is the wiki article that i saw the problem on had to be edited for the update to show up. I think i remember you saying you store them pre-parsed so i guess thats whats should happen, just saying in case im wrong.
table should be fixed.
yeah, it's cached... atm i don't have code to mark posts/articles as need to be updated
None.
PyMS and ProTRG developer
There seems to be some problems with [size] and [align]. The html generated by [size] has backslashes before the quotes:
<span style=\"font-size:18px\">
And when I use [align] inside a table (works by itself, not sure about in other places), it does it to:
<div style=\"margin:0px auto;padding:0px;;text-align:center\">
I didn't do much testing so maybe other bbcodes dont work in tables?
Also, you can set the class of the entire table with [table=class:something], but you cant do it with individual [tr] or [td]'s? And do you have any classes to use that will make the table actually pretty? The only class I know is the outline class which is ugly for a table.
the class has to exist, and outline is pretty much the only class so far, besides centered
what did you have in mind?
classes for tds is something that will be added later
also... bbcode inside tables should be fixed now
None.
PyMS and ProTRG developer
Hmm, it looks like the [size] bbcode only does the backslash thing in previews (its still there).
For the class's, im not sure. Until there is class support for [td]'s theres not much you can do to pretify it. What I was thinking of though was being able to make them look somewhat like posts (so the top row looks like the part where it says "isolatedpurity ........ 7 minutes ago ........... Post #13" and so on).
Edit: Also, its kinda annoying that every [td] must have a width specifier. Its not really necessary, but it would be a lot nicer. For example these don't work, but would be valid if done in html:
[table]
[tr]
[td=width:50%]test[/td]
[td]This shouldn't need a width, it just takes up whatever space is left[/td]
[/tr]
[/table]
[table]
[tr]
[td=width:20%]test[/td]
[td=width:80%]test2[/td]
[/tr][tr]
[td]These should just conform to the columns above[/td]
[td]Like regular html[/td]
[/tr]
[/table]
Also you should be able to specify colspan and rowspan.
Post has been edited 1 time(s), last time on Apr 13 2008, 7:30 pm by poiuy_qwert.
Quote from name:isolatedpurity
the class has to exist, and outline is pretty much the only class so far, besides centered
what did you have in mind?
classes for tds is something that will be added later
also... bbcode inside tables should be fixed now
There should be a class that has border-collapse: collapse;
[table=width:100%|class:outline|cell-padding:4]
[tr]
[td=width:50%]needs moar[/td]
[td=width:50%]needs less[/td]
[/tr][tr]
[td=width:50%]needz epicz[/td]
[td=width:50%]needz mudkipz :P
[table=width:100%|class:outline|cell-padding:4]
[tr][td=width:50%]epicz[/td][td=width:50%]epicz[/td][/tr]
[tr][td=width:50%]moar[/td][td=width:50%]moar[/td][/tr]
[/table]
[/td]
[/tr][/table]
Inner table doesn't have outline.
Post has been edited 2 time(s), last time on Apr 13 2008, 7:35 pm by Doodle77.
None.
[table=width:60%|class:outline centered|cell-padding:4]
[tr]
[td=width:30%|class:bg_column]1[/td]
[td=width:30%|class:bg_primary centered]1[/td]
[td]
1
[/td]
[/tr][tr]
[td]2[/td]
[td]2[/td]
[td=width:30%]2[/td]
[/tr]
[tr]
[td=colspan:2]colspan[/td]
[td=rowspan:2]rowspan[/td]
[/tr]
[tr]
[td]4[/td]
[td]4[/td]
[/tr]
[/table]
try that in hacks
inner tables with outline are done like that on purpose...
in mai css:
.outline td table td { border: 0px }
None.
And:
Edit: Also, its kinda annoying that every [td] must have a width specifier. Its not really necessary, but it would be a lot nicer.
I fixed that as well. I was actually going to tell you you really don't need to put width in every TD until I tried it and found it was broken otherwise ;o
None.
PyMS and ProTRG developer
Oooh sexy table! Great, now i'll go pretify my tables. Hopefully I won't have any more things to post here
Really long quotes start having black lines running through them... here's where I saw it:
http://www.staredit.net/topic/2507/unread/#special
PyMS and ProTRG developer
I don't see any black lines
It could possibly be your computer or browser. I find sometimes when i scroll lines can appear (only happens when my laptop is really laggy).