may i please be allowed to fix the code for the bbcodes?

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
may i please be allowed to fix the code for the bbcodes?
by on (#29563)
the bbcodes for your phpbb are dysfunctional.

for example: [size=7]foo[size=3]bar[/size][quote="hello"]hi[/size][/quote]

chokes and dies.

by on (#29565)
foobar
hello wrote:
hi


I guess not... see? You just messed up a bit, as you can see.
Re: may i please be allowed to fix the code for the bbcodes?
by on (#29603)
(this is my example)
jargon wrote:
the bbcodes for your phpbb are dysfunctional.
for example: foo[size=3]bar
hello wrote:
hi[/size]


chokes and dies.


this is yours:
Fx3 wrote:
foobar
hello wrote:
hi


I guess not... see? You just messed up a bit, as you can see.


(this is my example with quote bbcode disabled)
jargon wrote:
the bbcodes for your phpbb are dysfunctional.
for example: foo[size=3]bar[quote="hello"]hi[/size][/quote]


it should look like this, however this requires extra bbcodes:
jargon wrote:
the bbcodes for your phpbb are dysfunctional.
for example: foobar
hello wrote:
hi



told you so.

my point is the phpbb bbcode scripts for this board can't properly handle nested size bbcodes, especially ones that are interleaved between quote bbcodes.

by on (#29605)
That's because that's not proper....try coding right

by on (#29606)
gannon wrote:
That's because that's not proper....try coding right



you responded before i finished my edit.

by on (#29628)
gannon wrote:
That's because that's not proper....try coding right


Uh... yes. ^_^;;