Bitcoin Forum
November 08, 2024, 11:47:15 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Strange BBC Code Behaviour.  (Read 127 times)
fillippone (OP)
Legendary
*
Online Online

Activity: 2338
Merit: 16659


Fully fledged Merit Cycler - Golden Feather 22-23


View Profile WWW
September 07, 2023, 10:47:42 PM
 #1

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 mi ha fatto penare più del solito: diciamo che sto sfidando il record di BBC code:la formattazione non è affatto facile, ma oramai sono cintura nera di BBC code.
Il formato delle tavole è assurdo. Come mai qui dentro non funziona?


TOP 10 MERITS RECEIVERS
TOP10 MERIT SENDERS
Pos ChangeUseragostoluglioChangeForumBPIPNinjastic
1. =fillippone89112▼(-23)
2. ▲(3)babo6829▲(39)
3. =Lillominato894929▲(20)
4. ▼(-2)Ale884865▼(-17)
5. ▲(1)giammangiato4228▲(14)
6. ▼(-4)Plutosky3239▼(-7)
7. =bastisisca2428▼(-4)
8. ▼(-4)bitbollo2129▼(-8)
9. ▲(5)conilmionome1814▲(4)
10. ▼(-1)duesoldi1718▼(-1)
           No vabbè, ma mi state prendendo in giro!
TOP Merit Receivers
TOP Merit Senders
Sent Merits
Received Merits



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:

TOP 10 MERITS RECEIVERS
TOP10 MERIT SENDERS
Pos ChangeUseragostoluglioChangeForumBPIPNinjastic
1. =fillippone89112▼(-23)
2. ▲(3)babo6829▲(39)
3. =Lillominato894929▲(20)
4. ▼(-2)Ale884865▼(-17)
5. ▲(1)giammangiato4228▲(14)
6. ▼(-4)Plutosky3239▼(-7)
7. =bastisisca2428▼(-4)
8. ▼(-4)bitbollo2129▼(-8)
9. ▲(5)conilmionome1814▲(4)
10. ▼(-1)duesoldi1718▼(-1)
           
Pos ChangeUseragostoluglioChangeForumBPIPNinjastic
1. =Plutosky2620▲(6)
2. ▲(2)Lillominato892320▲(3)
2. ▼(-1)Ale882335▼(-12)
3. ▼(-2)bastisisca1426▼(-12)
4. ▲(6)duesoldi107▲(3)
5. ▲(3)usque_ad_finem68▼(-2)
5. ▲(1)creep_o611▼(-5)
5. ▲(8 )conilmionome65▲(1)
6. ▲(5)Paolo.Demidov56▼(-1)
6. ▲(3)mendace58▼(-3)
6. ▲(N/E)DdmrDdmr53▲(2)
TOP Merit Receivers
TOP Merit Senders
Sent Merits
Received Merits
Quale è il problema?


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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
noorman0
Hero Member
*****
Offline Offline

Activity: 1778
Merit: 709


[Nope]No hype delivers more than hope


View Profile WWW
September 07, 2023, 11:34:56 PM
Merited by fillippone (3)
 #2

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

add_a_row_tag_here
TOP 10 MERITS RECEIVERS
TOP10 MERIT SENDERS
add_a_row_tag_here
Pos ChangeUseragostoluglioChangeForumBPIPNinjastic
1. =fillippone89112▼(-23)
2. ▲(3)babo6829▲(39)
3. =Lillominato894929▲(20)
4. ▼(-2)Ale884865▼(-17)
5. ▲(1)giammangiato4228▲(14)
6. ▼(-4)Plutosky3239▼(-7)
7. =bastisisca2428▼(-4)
8. ▼(-4)bitbollo2129▼(-8)
9. ▲(5)conilmionome1814▲(4)
10. ▼(-1)duesoldi1718▼(-1)
           No vabbè, ma mi state prendendo in giro!
***
TOP Merit Receivers
TOP Merit Senders
***
Sent Merits
Received Merits


This space for rent.
Available in mid January 2024 - PM me
fillippone (OP)
Legendary
*
Online Online

Activity: 2338
Merit: 16659


Fully fledged Merit Cycler - Golden Feather 22-23


View Profile WWW
September 07, 2023, 11:44:21 PM
 #3

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

add_a_row_tag_here
TOP 10 MERITS RECEIVERS
TOP10 MERIT SENDERS
add_a_row_tag_here
Pos ChangeUseragostoluglioChangeForumBPIPNinjastic
1. =fillippone89112▼(-23)
2. ▲(3)babo6829▲(39)
3. =Lillominato894929▲(20)
4. ▼(-2)Ale884865▼(-17)
5. ▲(1)giammangiato4228▲(14)
6. ▼(-4)Plutosky3239▼(-7)
7. =bastisisca2428▼(-4)
8. ▼(-4)bitbollo2129▼(-8)
9. ▲(5)conilmionome1814▲(4)
10. ▼(-1)duesoldi1718▼(-1)
           No vabbè, ma mi state prendendo in giro!
***
TOP Merit Receivers
TOP Merit Senders
***
Sent Merits
Received Merits



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:


TOP 10 MERITS RECEIVERS
TOP10 MERIT SENDERS
Pos ChangeUseragostoluglioChangeForumBPIPNinjastic
1. =fillippone89112▼(-23)
2. ▲(3)babo6829▲(39)
3. =Lillominato894929▲(20)
4. ▼(-2)Ale884865▼(-17)
5. ▲(1)giammangiato4228▲(14)
6. ▼(-4)Plutosky3239▼(-7)
7. =bastisisca2428▼(-4)
8. ▼(-4)bitbollo2129▼(-8)
9. ▲(5)conilmionome1814▲(4)
10. ▼(-1)duesoldi1718▼(-1)
           
Pos ChangeUseragostoluglioChangeForumBPIPNinjastic
1. =Plutosky2620▲(6)
2. ▲(2)Lillominato892320▲(3)
2. ▼(-1)Ale882335▼(-12)
3. ▼(-2)bastisisca1426▼(-12)
4. ▲(6)duesoldi107▲(3)
5. ▲(3)usque_ad_finem68▼(-2)
5. ▲(1)creep_o611▼(-5)
5. ▲(8 )conilmionome65▲(1)
6. ▲(5)Paolo.Demidov56▼(-1)
6. ▲(3)mendace58▼(-3)
6. ▲(N/E)DdmrDdmr53▲(2)
TOP Merit Receivers
TOP Merit Senders
Sent Merits
Received Merits


if I paste it, I get the same error as before.


█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
noorman0
Hero Member
*****
Offline Offline

Activity: 1778
Merit: 709


[Nope]No hype delivers more than hope


View Profile WWW
September 08, 2023, 05:35:45 AM
 #4

-snip
(I think you wrote rows instead of columns)
Sorry about that, anyway you have to think harder to catch my point. Hehe Grin

-snip
if I paste it, I get the same error as before.
I found this excuse
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, 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.

This space for rent.
Available in mid January 2024 - PM me
fillippone (OP)
Legendary
*
Online Online

Activity: 2338
Merit: 16659


Fully fledged Merit Cycler - Golden Feather 22-23


View Profile WWW
September 08, 2023, 06:20:00 AM
 #5

Sorry about that, anyway you have to think harder to catch my point. Hehe Grin

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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
fillippone (OP)
Legendary
*
Online Online

Activity: 2338
Merit: 16659


Fully fledged Merit Cycler - Golden Feather 22-23


View Profile WWW
September 08, 2023, 11:13:07 AM
Merited by noorman0 (1)
 #6

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.


TOP 10 MERITS RECEIVERS
TOP10 MERIT SENDERS
Pos ChangeUseragostoluglioChangeBPIPNinjastic
1. =fillippone89112▼(-23)
2. ▲(3)babo6829▲(39)
3. =Lillominato894929▲(20)
4. ▼(-2)Ale884865▼(-17)
5. ▲(1)giammangiato4228▲(14)
6. ▼(-4)Plutosky3239▼(-7)
7. =bastisisca2428▼(-4)
8. ▼(-4)bitbollo2129▼(-8)
9. ▲(5)conilmionome1814▲(4)
10. ▼(-1)duesoldi1718▼(-1)
           
Pos ChangeUseragostoluglioChangeBPIPNinjastic
1. =Plutosky2620▲(6)
2. ▲(2)Lillominato892320▲(3)
2. ▼(-1)Ale882335▼(-12)
3. ▼(-2)bastisisca1426▼(-12)
4. ▲(6)duesoldi107▲(3)
5. ▲(3)usque_ad_finem68▼(-2)
5. ▲(1)creep_o611▼(-5)
5. ▲(8 )conilmionome65▲(1)
6. ▲(5)Paolo.Demidov56▼(-1)
6. ▲(3)mendace58▼(-3)
6. ▲(N/E)DdmrDdmr53▲(2)
TOP Merit Receivers
TOP Merit Senders
Sent Merits
Received Merits



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!

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!