Bitcoin Forum
April 26, 2024, 04:46:28 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: A feature to fastly switch orders & contents of columns in table (Suggestion)  (Read 707 times)
tranthidung (OP)
Legendary
*
Offline Offline

Activity: 2254
Merit: 3983


Farewell o_e_l_e_o


View Profile WWW
December 05, 2019, 06:37:48 AM
 #1

I don't have knowledge on programming so my suggestion could be stupid, so correct me if I am.

My suggestion is:
- Can we have a new feature to help users fastly switch orders of columns in table (in format and in contents at the same time) when they want to edit?

Please let me using my following table as an example for this suggestion.
PositionUsernameDate of registerEarned meritsSent merits
____________________________________________________________________________________________
AdminCyrus16/01/2013124289

The above one is the initial format.

If I want to switch the column #1 (Position) and column #2 (Username), I have to do three things (with the current forum):
  • Change column's titles: Username for #1 and Position for #2
  • Change columns' width: if in the initial format, those two columns have different widths.
  • Change the contents inside each column.

The first and second to-do things are simple and don't cost too much time but the third one requires lot of time. We have to manually edit it, it's a kind of time wasting.

So, can we have that feature in the new forum software?
- Automatically switch contents between columns in table if table format changed

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
1714106788
Hero Member
*
Offline Offline

Posts: 1714106788

View Profile Personal Message (Offline)

Ignore
1714106788
Reply with quote  #2

1714106788
Report to moderator
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
TheBeardedBaby
Legendary
*
Offline Offline

Activity: 2184
Merit: 3134


₿uy / $ell


View Profile
December 05, 2019, 11:00:31 AM
 #2

This is not so much forum related as it is more related to the BBcode functionality. There are some more user-friendly external tools people have created to make a WYSIWYG BBCode editor.
I really don't like the editor here and I'm not the only one but I got used to it already.

There are some projects like https://wysibb.com/ (open at your own risk*) which can make your life easier but you have to relate to a 3rd party, so again it is questionable.

*-just found this project online but I never tried it so I cannot say how safe it to use it. Make your own research.

tranthidung (OP)
Legendary
*
Offline Offline

Activity: 2254
Merit: 3983


Farewell o_e_l_e_o


View Profile WWW
December 06, 2019, 01:01:13 AM
 #3

Thank you, iasenko. I still think that official features from the forum (especially the new forum software) will be the best. Using third-party built (scripts or whatever packages/ softwares) will have some amount of risks. I don't care about such third-party ones if they are not yet trusted or newborn and I guess the others too.

The forum is a biggest one in crypto, especially in bitcoin community, so if such the feature can be integrated in the new software, it will bring more convenience for users and also help them to avoid risks of being trapped by dangerous ones from third-party. Not only for their account security but also for their funds too.

It is still easy to edit (with a simple switch between the #1 and #2 columns as an example in OP, even it cost time; but things will become more difficult and cost more time to finish if one want to switch the column #2 and column #6 in table. They have to spend decent time to check and switch contents between columns and rows, respectively.

If the feature can be done with non-significant efforts to code, I hope it will be integrated.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
SFR10
Legendary
*
Offline Offline

Activity: 2982
Merit: 3409


Crypto Swap Exchange


View Profile WWW
December 06, 2019, 08:46:27 AM
Merited by tranthidung (1), TheBeardedBaby (1)
 #4

Please let me using my following table as an example for this suggestion.
I modified your table with a better format and even added another row for testing purposes:

PositionUsernameDate of registerEarned meritsSent merits





AdminCyrus16/01/2013124289
AdminnnnnnCyrusssssssssss16/01/201333333333124289

Code:
[center]
[table]

[tr]
[td][b]Position[/b][/td]
[td][b]Username[/b][/td]
[td][b]Date of register[/b][/td]
[td][b]Earned merits[/b][/td]
[td][b]Sent merits[/b][/td]
[/tr]

[tr]
[td][hr][/td]
[td][hr][/td]
[td][hr][/td]
[td][hr][/td]
[td][hr][/td]
[/tr]

[tr]
[td]Admin[/td]
[td][url=https://bitcointalk.org/index.php?action=profile;u=78147]Cyrus[/url][/td]
[td]16/01/2013[/td]
[td]124[/td]
[td]289[/td]
[/tr]

[tr]
[td]Adminnnnnn[/td]
[td][url=https://bitcointalk.org/index.php?action=profile;u=78147]Cyrusssssssssss[/url][/td]
[td]16/01/201333333333[/td]
[td]124[/td]
[td]289[/td]
[/tr]

[/table]
[/center]

If I want to switch the column #1 (Position) and column #2 (Username), I have to do three things (with the current forum):
  • Change column's titles: Username for #1 and Position for #2
  • Change columns' width: if in the initial format, those two columns have different widths.
  • Change the contents inside each column.
Instead of manually adding an underscore to match each of their respective fields, simply use "hr" tag [check the above table] and it automatically makes the adjustments according to each column.

The first and second to-do things are simple and don't cost too much time but the third one requires lot of time. We have to manually edit it, it's a kind of time wasting.
It is still easy to edit (with a simple switch between the #1 and #2 columns as an example in OP, even it cost time; but things will become more difficult and cost more time to finish if one want to switch the column #2 and column #6 in table. They have to spend decent time to check and switch contents between columns and rows, respectively.
I do know that my answer isn't a definite solution to your request but if you create a table with a proper format, you can save a lot of time when it comes to editing [with my format, it takes 4 clicks to change two columns /row].

If the feature can be done with non-significant efforts to code, I hope it will be integrated.
Don't get your hopes up [IMHO].

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
hugeblack
Legendary
*
Offline Offline

Activity: 2492
Merit: 3602


Buy/Sell crypto at BestChange


View Profile WWW
December 07, 2019, 07:56:35 AM
Merited by tranthidung (1)
 #5

I think you can also add suggestions to Github.

Please post bugs as Github issues.

BTW, there is an extensive API which you guys may be interested in, eg. https://www.cryptos-currencies.com/api/posts/QNgQeVnFT5S1l6LLTZqsYg

In short: If you want the software quicker, go run your own forum with it, and work to get any problems or missing features you find resolved via bug reports, etc. This would increase public interest, provide much-needed testing, and I might even hire you to work on bitcointalk.org when we're ready to do the final transition here.

The fact of doing the simplest things in this forum requires a lot of manual adjustments, but it will be easier if you do it many times.
You need the appropriate code, click on "Preview" and make the necessary adjustments.

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
tranthidung (OP)
Legendary
*
Offline Offline

Activity: 2254
Merit: 3983


Farewell o_e_l_e_o


View Profile WWW
December 11, 2019, 01:45:53 AM
 #6

I modified your table with a better format and even added another row for testing purposes:
I much appreciated your help and the template table. I am going to dig into that format and try to make my tables better.
I think you can also add suggestions to Github.
I don't use Github so that is the reason I post it here. If you use it and thought that my suggestion makes sense, you can help me by bring my suggestion to Github. If it is helpful, it is helpful for the bitcoin forum community, not only for myself. Smiley
Quote
The fact of doing the simplest things in this forum requires a lot of manual adjustments, but it will be easier if you do it many times.
You need the appropriate code, click on "Preview" and make the necessary adjustments.
Correct but if such things can be built-in the new forum software, why not?

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
Chlotide
Full Member
***
Offline Offline

Activity: 305
Merit: 106



View Profile
December 12, 2019, 02:27:53 PM
 #7

... Correct but if such things can be built-in the new forum software, why not?

Quick tip:
1. copy the table bbcode in notepad
Code:
[table]..[tr]..[td]...[/td]...[/table]
2. replace "[" and "]" with "<" and ">"
3. save as *.html
4. open with Excel/Libre and go crazy with the columns

Takes 1 minute of your time but for forum devs maybe weeks of programming and hundreds of lines of code. Also I don't think it would be a feature used by more then 10 users here. Does not seem to be worth it.

Just as an idea, took me a week of learning angular to make a new page for a dynamic website and display some details from db.

tranthidung (OP)
Legendary
*
Offline Offline

Activity: 2254
Merit: 3983


Farewell o_e_l_e_o


View Profile WWW
January 03, 2020, 08:45:32 AM
 #8

I modified your table with a better format and even added another row for testing purposes:
Hi SFR10,

I applied your table format, as my efforts to change the format I usually use for my tables, but I found at least one disadvantage and has not yet know how to solve it. Could you spend some time to take a look at it, please.
AuthorsLinkDescriptionsANN threadsStatus





ForumLinkStatistics centern/aPartially disabled
Vod and BPIP teamLinkBPIP (the first site provides forum data)initial one; current oneUpgrading
VodandBPIPteamcolleaguesetcLinkBPIP (the first site provides forum data)initial one; current oneUpgrading
With your format, the width of each column only automatically expands (with the largest width of texts among rows) or narrows (based on the smallest width of texts among rows) if the texts are not separated by space.

I meant if my table only contains the first and two rows: "Forum", and "Vod and BPIP team", the width identifies by the format will be the first row "Forum" that result in a 'broken'-table. In contrast, it works fine if I use "VodandBPIPteam" or "VodandBPIPteamcolleaguesetc", without space between words.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
SFR10
Legendary
*
Offline Offline

Activity: 2982
Merit: 3409


Crypto Swap Exchange


View Profile WWW
January 03, 2020, 03:58:26 PM
Last edit: January 03, 2020, 04:11:12 PM by SFR10
 #9

Could you spend some time to take a look at it, please.
Sure.

AuthorsLinkDescriptionsANN threadsStatus





ForumLinkStatistics centern/aPartially disabled
Vod and BPIP teamLinkBPIP (the first site provides forum data)initial one; current oneUpgrading
I meant if my table only contains the first and two rows: "Forum", and "Vod and BPIP team", the width identifies by the format will be the first row "Forum" that result in a 'broken'-table.
I tried to replicate your issue by removing the third row but couldn't find the broken table that you were referring to (the first column has its width fixed with the second row [the longer one, "Vod and BPIP team"])...
- Can you upload a screenshot of the broken table?
- Anyone else seeing the broken table mentioned by tranthidung?

Update:
After posting it, now I'm seeing the broken table [not visible on preview mode].
- Will try to find a solution...

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
tranthidung (OP)
Legendary
*
Offline Offline

Activity: 2254
Merit: 3983


Farewell o_e_l_e_o


View Profile WWW
January 03, 2020, 04:00:42 PM
Last edit: January 03, 2020, 04:18:31 PM by tranthidung
 #10

The adjusted table (by yours) shows the second row "Vod and BPIP colleagues" display in different rows. Maybe I described it incorrectly, due to my English words, but that's what I meant.
Code:
Vod and
BPIP
team

It should be: Vod and BPIP team
I don't know how it works, but from your explanations, I guess the table will look better if I move the second row to the first one. I guess the default width of the column is be identified by the first row of each column, isn't it?

AuthorsLinkDescriptionsANN threadsStatus





Vod and BPIP teamLinkBPIP (the first site provides forum data)initial one; current oneUpgrading
ForumLinkStatistics centern/aPartially disabled
It does not work.

Now, my guess is your format takes the longest width (among words, not phrases) and use the longest one as the default width.
With that table, the longest width (in word) is "VodandBPIPteamcolleaguesetc", so it helps the table looks better.
AuthorsLinkDescriptionsANN threadsStatus





ForumLinkStatistics centern/aPartially disabled
Vod and BPIP teamLinkBPIP (the first site provides forum data)initial one; current oneUpgrading
VodandBPIPteamcolleaguesetcLinkBPIP (the first site provides forum data)initial one; current oneUpgrading

Screenshot (not sure issues come from my browser or my device):

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
SFR10
Legendary
*
Offline Offline

Activity: 2982
Merit: 3409


Crypto Swap Exchange


View Profile WWW
January 03, 2020, 04:20:39 PM
Merited by tranthidung (1)
 #11

Maybe I described it incorrectly, due to my English words, but that's what I meant.
Your explanation was perfectly fine Smiley

Found a quick solution [for now]:
  • Use the following code in-between [instead of using spaces] each word...
Code:
[color=transparent].[/color]

I don't know how it works, but from your explanations, I guess the table will look better if I move the second row to the first one. I guess the default width of the column is be identified by the first row of each column, isn't it?
~Snipped~
Now, my guess is your format takes the longest width (among words, not phrases) and use the longest one as the default width.
With that table, the longest width (in word) is "VodandBPIPteamcolleaguesetc", so it helps the table looks better.
It's quite strange that other columns aren't affected [only the first one].
- Perhaps it has something to do with forum back-end changes...

Update:
I much appreciated your help, SFR10.  Cheesy
You're very welcome Cheesy
- I'll update you if I end up finding an easier fix...

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
tranthidung (OP)
Legendary
*
Offline Offline

Activity: 2254
Merit: 3983


Farewell o_e_l_e_o


View Profile WWW
January 03, 2020, 04:24:35 PM
Last edit: January 18, 2020, 04:00:44 AM by tranthidung
 #12

Found a quick solution [for now]:
  • Use the following code in-between [instead of using spaces] each word...
Code:
[color=transparent].[/color]
I much appreciated your help, SFR10.  Cheesy
AuthorsLinkDescriptionsANN threadsStatus





Vod.and.BPIP.teamLinkBPIP (the first site provides forum data)initial one; current oneUpgrading
ForumLinkStatistics centern/aPartially disabled

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
tranthidung (OP)
Legendary
*
Offline Offline

Activity: 2254
Merit: 3983


Farewell o_e_l_e_o


View Profile WWW
January 18, 2020, 03:05:46 AM
Last edit: January 18, 2020, 04:01:41 AM by tranthidung
 #13


| Authors | Link | Descriptions | ANN threads | Status |
| ---------------------|--------|------------------------------------------|-------------|------------|
| Vod and BPIP team | Link | BPIP (the first site provides forum data) | initial one; current one | Upgrading |
| Forum | Link | Statistics center | n/a | Partially disabled |


https://www.w3schools.com/tags/tag_pre.asp

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
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!