Title: Strange BBC Code Behaviour. Post by: fillippone on September 07, 2023, 10:47:42 PM I developed a particular style for a series of tables I use to publish on my Italian review.
It's a 4x4 table, with two nested tables. Column 3 is empty, but use space to separate a little bit the two tables. The first column is empty (In case I have to use ti with Pictures). The second row is the two nested tables in cells 2x2 and 2x4 Weird fact: If I use the code here, it doesn't work: Ed ora, il consueto angolo delle vanità! Vediamo i migliori beneficiari e migliori mittenti di merits di questo mese. Il formato delle tavole è assurdo. Come mai qui dentro non funziona?
But if I copy the exact same code here, it works: Qualcuno mi spieghi perchè questo codice in questo post funziona, ma non funziona nel post sopra:
In the first example, I had to edit out the second table, the one that apparently causes the problems, otherwise I get the following error when posting: Quote INVALID BBCODE: loop, probably unclosed tags I used the same code the last month without any issue, and i also checked the maximum amount of character is not surpassed.... very weird. Title: Re: Strange BBC Code Behaviour. Post by: noorman0 on September 07, 2023, 11:34:56 PM Since you have added 1 row in lines 3 and 4 (which I marked with "***"), you must also add 1 row each in line 1 and 2. Each line must have the same number of rows although it must be left blank to maintain layout precision. cmiiw
Title: Re: Strange BBC Code Behaviour. Post by: fillippone on September 07, 2023, 11:44:21 PM Since you have added 1 row in lines 3 and 4 (which I marked with "***"), you must also add 1 row each in line 1 and 2. Each line must have the same number of rows although it must be left blank to maintain layout precision. cmiiw
Good catch. My original post actually had that column (I think you wrote rows instead of columns). The code like you suggested is the following (I had already used), but still fails in the "big" posts:
if I paste it, I get the same error as before. Title: Re: Strange BBC Code Behaviour. Post by: noorman0 on September 08, 2023, 05:35:45 AM -snip Sorry about that, anyway you have to think harder to catch my point. Hehe ;D(I think you wrote rows instead of columns) -snip I found this excuseif I paste it, I get the same error as before. Yeah, that's what it is. Posts over 65535 bytes get cut off at 65535 bytes. If that makes the BBcode invalid in certain ways, then you get the INVALID BBCODE error. Also, note that a byte is different from a character. Because SMF stores "special" characters in a particularly space-inefficient way, each Russian character uses about 6 bytes, and each line break also uses 6 bytes. I did some experiments with replacing the first table with the second table in your post (https://bitcointalk.org/index.php?topic=5214672.msg62811480#msg62811480), it worked if I deleted more content for example from the first paragraph to the words "veloce ricerca" (which contains a hyperlink). I think your post uses redundant tags, your tables are actually fine. Title: Re: Strange BBC Code Behaviour. Post by: fillippone on September 08, 2023, 06:20:00 AM Sorry about that, anyway you have to think harder to catch my point. Hehe ;D I will do that after more caffeine. I found this excuse Yes, I was vaguely aware of this limitation, but I tried editing out a whole column form each table (the "forum" one) and the problem persists. I think your post uses redundant tags, your tables are actually fine. I can't see why: The post without the tables is fine. The tables without the post are fine. The sum is not fine. Title: Re: Strange BBC Code Behaviour. Post by: fillippone on September 08, 2023, 11:13:07 AM I somewhat solved.
I cured the symptoms, even if the diagnosis is still uncertain. Basically I had to remove the whole “forum” column from the tables (all of them, the “TOP50” included) moving the links to forum profiles to the name itself. This had two effect: reducing the img calls and slightly reducing the total post length.
I don’t know if there is a maximum number of img calls per post. Sorry to everyone who has been repeatedly pinged over the last few hours! |