Author

Topic: What the issues with my BBCodes? (Read 274 times)

hero member
Activity: 1554
Merit: 880
Top Crypto Casino
August 09, 2024, 06:27:09 PM
#19
I try and this one is not perfect, takes you more time than above tables
This is how it shows in mobile mode (image below) but its good on desktop mode just like the other tables above. And it really a bug juat PowerGlove mentioned, fixing it probably a help for those fond of making tables like OP.

hero member
Activity: 966
Merit: 861
Find your Digital Services at- cryptolibrary.pro
August 09, 2024, 02:57:39 PM
#18
If you don't manage to get in touch with him to help you, maybe you can change the style of your table and pick something similar that works. I have created several threads with different table styles in the past. I will list some of them that I remember below, and if you want, check them out and copy the one you think could work for your needs.

Here Is One Reason Why Legendary Members Get So Many Merits
All Lightning Network Threads In One Place
List Of Crypto Casinos with The Best Faucets
Withdrawal Fees and Withdrawal Amounts on Crypto Casinos
Thank you for the suggestions and the links. That's the easiest way I think you have and thank you for giving me the permission of copying your table format i will definitely in future for mine. Wink
But you know or you not know, I'm the laziest person so I choose the short way to fix this problem  Grin .


You (OP) have bumped into a long-standing forum bug. The earliest topic/post about it (that I can find) is from 2014:
<✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂>
Edit: I've started to work on this one. Keep an eye out for a future Meta topic called: Squishing the squashed-column bug (SMF patch). Smiley
Thank you for giving notice on this. I wanted nothing like that to get rid of the bugs from the base. And you are here, I hope we will see the solution of this very soon.
Even before this bugs, a list related bug I have faced although I can't remember it now. I will mention you again if I remember or facing that in the future Grin.
hero member
Activity: 510
Merit: 4005
August 08, 2024, 03:10:05 PM
#17
You (OP) have bumped into a long-standing forum bug. The earliest topic/post about it (that I can find) is from 2014:

the table above is shown correctly in the previewwindow for the post, but after posting the spacing of first column is squashed.

In that same topic, Foxpup figured out the cause:

https://bitcointalk.org/Themes/custom1/style.css, line 553:
Code:
/* prevent gap between post icon and subject */
div#bodyarea table.bordercolor td td td.td_headerandpost td:first-child
{
width: 26px;
}

Basically, there's a bit of CSS that prevents a gap from appearing between the post icon and the post subject. Without that CSS, your example [table] would display correctly (like it does when previewed: without the first column being "squashed"), but, then a gap between every post's icon and subject would be visible, like this:



The bug is that that CSS selector is "selecting" more s than it's supposed to (I mean, it's correctly selecting the s it means to, but it's also selecting other s by mistake).

The quickest fix would be for theymos to change the selector from this:

Code: (Before)
div#bodyarea table.bordercolor td td td.td_headerandpost td:first-child

To this:

Code: (After)
div#bodyarea table.bordercolor td td td.td_headerandpost > table td:first-child



(Haha, I mean, there are various ways to fix this, like adding a class="post_icon" to the relevant s and simplifying the selector, or just putting a width="26" on those s, etc., but, that's the least disruptive fix, I think. That second selector, right to left, reads: select all the first-child s that are inside s that are directly parented by
s that are inside s that are inside s that are inside s that are inside
, at least, I think that's what it says.) Cheesy

The problem with fixing bugs like these is that people have been working around them for so long, that I'd be worried about breaking the workarounds (I mean, they wouldn't be needed anymore, so I'm not talking about that, I'm talking about workaround-remnants displaying in new and subtle ways post-fix). I'd also be worried about changing the environment in which old posts were written, like the first post I linked to: right now, that topic makes sense, you can see the problem that original poster was talking about, but if this bug were fixed, then their example [table] wouldn't be broken, and it would look as though they were confused when they made that post. Basically, the best way to fix problems like these is to leave them affecting posts made before the fix. I can think of a few ways to fix this bug cleanly, but it's going to take a lot of testing before I'd feel comfortable putting together a patch and asking theymos to merge it.

In the meantime, the best way to tackle your problem (IMHO), is to use the [nbsp] tag:

A non-breaking space is a way to prevent a piece of text from "breaking" into multiple parts when there's not enough room for it to fit comfortably. This can be useful when formatting tables (...)

Basically, you should force the column to be wider by making at least one "rigid" width-defining cell. In your case, you could do that by "gluing" together the first column title with three [nbsp] tags, like this:

Code:
[td][b][u][color=#9966ff]New[nbsp]Added[nbsp]DT1[nbsp]Members[/color][/u][/b][/td]

Edit: I've started to work on this one. Keep an eye out for a future Meta topic called: Squishing the squashed-column bug (SMF patch). Smiley
legendary
Activity: 2730
Merit: 7065
August 08, 2024, 03:06:03 AM
#16
If you don't manage to get in touch with him to help you, maybe you can change the style of your table and pick something similar that works. I have created several threads with different table styles in the past. I will list some of them that I remember below, and if you want, check them out and copy the one you think could work for your needs.

Here Is One Reason Why Legendary Members Get So Many Merits
All Lightning Network Threads In One Place
List Of Crypto Casinos with The Best Faucets
Withdrawal Fees and Withdrawal Amounts on Crypto Casinos
legendary
Activity: 1092
Merit: 1024
Goodnight, o_e_l_e_o 🌹
August 07, 2024, 06:05:58 PM
#15
May he/she is busy with something that is why he locked the topic and that's also the reason I didn't make him any PM  Grin
Yea, he is busy with something in real life. He mentioned that to me and it is also evidenced in his signature space.
Meanwhile, OP, have you tried going through the locked thread and see if you will read a similar problem and how it was solved there. It seems the problem you encountered isn't a new one.
hero member
Activity: 966
Merit: 861
Find your Digital Services at- cryptolibrary.pro
August 07, 2024, 04:10:29 PM
#14
He also has a discussion thread where you can ask him questions if you are having problems with the formatting of your tables, just like OP has.
1miau BBCode table formatting discussion service
Unfortunately, it's currently locked as 1miau isn't available as much as he used to be. You can still send him a PM, though, and he will get back to you as soon as he can.
In the previous time I opened a topic about this same table related problem and there many members suggested to ask 1miau on that topic and I was satisfied to get such free assist from 1miau but this time I also checked that topic was locked and that is why  I opened this topic.

May he/she is busy with something that is why he locked the topic and that's also the reason I didn't make him any PM  Grin
legendary
Activity: 2730
Merit: 7065
August 03, 2024, 03:58:10 AM
#13
1miau has an excellent thread on different templates for tables with BBcodes.
He also has a discussion thread where you can ask him questions if you are having problems with the formatting of your tables, just like OP has.
1miau BBCode table formatting discussion service
Unfortunately, it's currently locked as 1miau isn't available as much as he used to be. You can still send him a PM, though, and he will get back to you as soon as he can.
hero member
Activity: 1722
Merit: 801
August 02, 2024, 10:21:08 PM
#12
1miau has an excellent thread on different templates for tables with BBcodes.

Some suggestions if you want to use tables on Bitcointalk

I try and this one is not perfect, takes you more time than above tables.
|
New Added DT1 Members
legendary
Activity: 1722
Merit: 4711
**In BTC since 2013**
August 02, 2024, 08:08:28 PM
#11
Yes, I have faced this problem several times. And one of the best ways to overcome the problem when it arises is to create a blank column.

Code:
[td][nbsp][/td]


So, without changing your code too much, it will look like this:
Code:
[center][b]
[table]

[tr]
[td][nbsp][/td]
[td][b][u][color=#9966ff]Novos membros DT1 adicionados[/color] [/u] [/b][/td]
[td][b][u][color=red]Membros DT1 anteriores[/color][/u][/b][/td]
[/tr]
[tr]
[td][nbsp][/td]
[td][color=#9966ff]1. OgNasty
2. mprep
3. Foxpup
4. vizique
5. jeremypwr
6. stompix
7. Vaca Lésbica
8. DaveF
9. nutildah
10. irfan_pak10
11. bitbollo
12. zazarb
13. pooya87
14. LFC_Bitcoin
15. klarki
16. comit
17. El duderino_
18. arquivos de log
19. Agrawas
20. DireWolfM14
21. Harkorede
22. YOSHIE
23. jokers10
24. Awaklara
25. mandown
26. MrMojoRising26 [/color][/td]

[td][color=red]1. HostFat
2. monkeynuts
3. dbshck
4. buckrogers
5. JayJuanGee
6. NeuroticFish
7. dazedfool
8. BitcoinPenny
9. LoyceV
10. condoras
11. holydarkness
12. polymerbit
13. Ale88
14. bobita
15. be.open
16. imhoneer
17. wolwoo
18. RaltcoinsB
19. icopress
20. dragonvslinux
21. anonymousminer
22. O Químico Cético
23. Ratinho[/color][/td]
[/tr]
[/table]
[/center]


Result:


 Novos membros DT1 adicionados Membros DT1 anteriores
 1. OgNasty
2. mprep
3. Foxpup
4. vizique
5. jeremypwr
6. stompix
7. Vaca Lésbica
8. DaveF
9. nutildah
10. irfan_pak10
11. bitbollo
12. zazarb
13. pooya87
14. LFC_Bitcoin
15. klarki
16. comit
17. El duderino_
18. arquivos de log
19. Agrawas
20. DireWolfM14
21. Harkorede
22. YOSHIE
23. jokers10
24. Awaklara
25. mandown
26. MrMojoRising26
1. HostFat
2. monkeynuts
3. dbshck
4. buckrogers
5. JayJuanGee
6. NeuroticFish
7. dazedfool
8. BitcoinPenny
9. LoyceV
10. condoras
11. holydarkness
12. polymerbit
13. Ale88
14. bobita
15. be.open
16. imhoneer
17. wolwoo
18. RaltcoinsB
19. icopress
20. dragonvslinux
21. anonymousminer
22. O Químico Cético
23. Ratinho



Hope this helps.  Wink


EDIT:
The @Upgrade00 / @PX-Z option can also be a good option, but sometimes it may not be the intended design. So most of the time I still prefer the blank column.
hero member
Activity: 1554
Merit: 880
Top Crypto Casino
August 02, 2024, 06:36:34 PM
#10
Let me try...
Just like Upgrade00 did, this actually works in desktop mode. But if you will check it on mobile mode browsers its a messed up as the red one has larger text than the purple one.
I guess OP is using mobile posting/editing posts.

__________________________________________________________
New Added DT1 Members        Previous DT1 Memebers
__________________________________________________________
1. OgNasty
2. mprep
3. Foxpup
4. vizique
5. jeremypwr
6. stompix
7. Lesbian Cow
8. DaveF
9. nutildah
10. irfan_pak10
11. bitbollo
12. zazarb
13. pooya87
14. LFC_Bitcoin
15. klarki
16. comit
17. El duderino_
18. logfiles
19. Agrawas
20. DireWolfM14
21. Harkorede
22. YOSHIE
23. jokers10
24. Awaklara
25. mandown
26. MrMojoRising26
1. HostFat
2. monkeynuts
3. dbshck
4. buckrogers
5. JayJuanGee
6. NeuroticFish
7. dazedfool
8. BitcoinPenny
9. LoyceV
10. condoras
11. holydarkness
12. polymerbit
13. Ale88
14. bobita
15. be.open
16. imhoneer
17. wolwoo
18. RaltcoinsB
19. icopress
20. dragonvslinux
21. anonymousminer
22. The Sceptical Chymist
23. Little Mouse
hero member
Activity: 966
Merit: 861
Find your Digital Services at- cryptolibrary.pro
August 02, 2024, 05:38:37 PM
#9
Let's see can we get some solutions.
Check my edit above and let me know if that fixes the issue for you. I'll personally prefer a neater fix but that looks to be the best it can get from my end now.
Thank you dude neater works for me. I know it took your time to suggest, again thanks for your efforts, I really appreciate you.
And that's why I like this community so much, we help each other without any interest.. And thanks from me to all those who have made efforts to fix the problem.

I will not lock this topic yet because I want to know if there is other way to fix this. If not, I will lock the topic soon to avoid spamming.
legendary
Activity: 2114
Merit: 2248
Playgram - The Telegram Casino
August 02, 2024, 05:16:19 PM
#8
Let's see can we get some solutions.
Check my edit above and let me know if that fixes the issue for you. I'll personally prefer a neater fix but that looks to be the best it can get from my end now.
hero member
Activity: 966
Merit: 861
Find your Digital Services at- cryptolibrary.pro
August 02, 2024, 04:31:30 PM
#7
Post a copy of the bbcode you used  
If someone wants, he can quote my OP and take the source codes of the table I created. Even then, for your words, I gave the source codes here. Let's see can we get some solutions. Right now I am seeing that I'm not the single person who have this issue  Grin

Code:
[center][b][table]
[tr]
[td][/td]
[td][/td]
[/tr]
[tr]
[td][b][u][color=#9966ff]New Added DT1 Members[/color] [/u]       [/b][/td]
[td][b][u][color=red]Previous DT1 Memebers[/color][/u][/b][/td]
[/tr]
[tr]
[td][color=#9966ff]1. OgNasty
2. mprep
3. Foxpup
4. vizique
5. jeremypwr
6. stompix
7. Lesbian Cow
8. DaveF
9. nutildah
10. irfan_pak10
11. bitbollo
12. zazarb
13. pooya87
14. LFC_Bitcoin
15. klarki
16. comit
17. El duderino_
18. logfiles
19. Agrawas
20. DireWolfM14
21. Harkorede
22. YOSHIE
23. jokers10
24. Awaklara
25. mandown
26. MrMojoRising26 [/color][/td]

[td][color=red]1. HostFat
2. monkeynuts
3. dbshck
4. buckrogers
5. JayJuanGee
6. NeuroticFish
7. dazedfool
8. BitcoinPenny
9. LoyceV
10. condoras
11. holydarkness
12. polymerbit
13. Ale88
14. bobita
15. be.open
16. imhoneer
17. wolwoo
18. RaltcoinsB
19. icopress
20. dragonvslinux
21. anonymousminer
22. The Sceptical Chymist
23. Little Mouse[/color][/td]
[/tr]
[/table]
[/center]
legendary
Activity: 2114
Merit: 2248
Playgram - The Telegram Casino
August 02, 2024, 04:30:45 PM
#6
Post a copy of the bbcode you used 
When you quote the post, you see the code that was used.
hero member
Activity: 1022
Merit: 673
Leading Crypto Sports Betting & Casino Platform
August 02, 2024, 04:29:54 PM
#5
Let me make an inference on how the code cebter is being applied as I see it,

I often face problems like this when creating tables like when previewing the table looks nice but when I do the post the table looks broken.

New Added DT1 Members       Previous DT1 Memebers
1. OgNasty
2. mprep
3. Foxpup
4. vizique
5. jeremypwr
6. stompix
7. Lesbian Cow
8. DaveF
9. nutildah
10. irfan_pak10
11. bitbollo
12. zazarb
13. pooya87
14. LFC_Bitcoin
15. klarki
16. comit
17. El duderino_
18. logfiles
19. Agrawas
20. DireWolfM14
21. Harkorede
22. YOSHIE
23. jokers10
24. Awaklara
25. mandown
26. MrMojoRising26
1. HostFat
2. monkeynuts
3. dbshck
4. buckrogers
5. JayJuanGee
6. NeuroticFish
7. dazedfool
8. BitcoinPenny
9. LoyceV
10. condoras
11. holydarkness
12. polymerbit
13. Ale88
14. bobita
15. be.open
16. imhoneer
17. wolwoo
18. RaltcoinsB
19. icopress
20. dragonvslinux
21. anonymousminer
22. The Sceptical Chymist
23. Little Mouse

What's the matter behind of this ?


Edited: if the above in quote was the intended, then it simply was an issue of how the codes center was applied.

It’s a table that already comes in rolls and columns hence, it’s got some form of placement to it. Using the centralized codes will verify much, reposition tables arrangement. All I did there was to remove the code:

Code:
[center][/center]
To have it start from the screen margin rather than the middle. If the above screenshot was the intended of course.
legendary
Activity: 2742
Merit: 1181
August 02, 2024, 04:25:06 PM
#4
Post a copy of the bbcode you used 
legendary
Activity: 2114
Merit: 2248
Playgram - The Telegram Casino
August 02, 2024, 04:23:08 PM
#3
*Test 1 removed due to rendering wrong.

*Test 2:
New Added DT1 MembersPrevious DT1 Memebers
________________________________________________________________
1. OgNasty
2. mprep
3. Foxpup
4. vizique
5. jeremypwr
6. stompix
7. Lesbian Cow
8. DaveF
9. nutildah
10. irfan_pak10
11. bitbollo
12. zazarb
13. pooya87
14. LFC_Bitcoin
15. klarki
16. comit
17. El duderino_
18. logfiles
19. Agrawas
20. DireWolfM14
21. Harkorede
22. YOSHIE
23. jokers10
24. Awaklara
25. mandown
26. MrMojoRising26
1. HostFat
2. monkeynuts
3. dbshck
4. buckrogers
5. JayJuanGee
6. NeuroticFish
7. dazedfool
8. BitcoinPenny
9. LoyceV
10. condoras
11. holydarkness
12. polymerbit
13. Ale88
14. bobita
15. be.open
16. imhoneer
17. wolwoo
18. RaltcoinsB
19. icopress
20. dragonvslinux
21. anonymousminer
22. The Sceptical Chymist
23. Little Mouse

This looks a bit better, I removed the underline tag and added a empty column tag with bunch of "________" to give more space between both rows. Let me know if it helps.
legendary
Activity: 2632
Merit: 1462
Yes, I'm an asshole
August 02, 2024, 04:21:38 PM
#2
Test

[Removed]



Test 2

[Removed]



Mahdirakib was brilliant enough to help me with similar issue when I tried to create a table for my thread. Given I failed twice, miserably, though I've try to apply the solution he gave me back then to your situation here, to no avail... hailing him [hoping he uses tg notifier] so he can perhaps come and give some insight about this



Test 3

[Removed]

[...]

Edited: if the above in quote was the intended, then it simply was an issue of how the codes center was applied.

It’s a table that already comes in rolls and columns hence, it’s got some form of placement to it. Using the centralized codes will verify much, reposition tables arrangement. All I did there was to remove the code:

Code:
[center][/center]
To have it start from the screen margin rather than the middle. If the above screenshot was the intended of course.

Seems doesn't work. I think what OP wanted is for the "header" of the table to be in one line instead of being in two





Test 4

[removed], I gave up, LOL.
hero member
Activity: 966
Merit: 861
Find your Digital Services at- cryptolibrary.pro
August 02, 2024, 04:11:29 PM
#1
I often face problems like this when creating tables like when previewing the table looks nice but when I do the post the table looks broken.

For example below is this screenshot when I previewed the table I created -


But they actual look like this-

New Added DT1 Members       Previous DT1 Memebers
1. OgNasty
2. mprep
3. Foxpup
4. vizique
5. jeremypwr
6. stompix
7. Lesbian Cow
8. DaveF
9. nutildah
10. irfan_pak10
11. bitbollo
12. zazarb
13. pooya87
14. LFC_Bitcoin
15. klarki
16. comit
17. El duderino_
18. logfiles
19. Agrawas
20. DireWolfM14
21. Harkorede
22. YOSHIE
23. jokers10
24. Awaklara
25. mandown
26. MrMojoRising26
1. HostFat
2. monkeynuts
3. dbshck
4. buckrogers
5. JayJuanGee
6. NeuroticFish
7. dazedfool
8. BitcoinPenny
9. LoyceV
10. condoras
11. holydarkness
12. polymerbit
13. Ale88
14. bobita
15. be.open
16. imhoneer
17. wolwoo
18. RaltcoinsB
19. icopress
20. dragonvslinux
21. anonymousminer
22. The Sceptical Chymist
23. Little Mouse

What's the matter behind of this ?


Jump to:
© 2020, Bitcointalksearch.org