Bitcoin Forum

Other => New forum software => Topic started by: notocactus on December 05, 2019, 06:37:48 AM



Title: A feature to fastly switch orders & contents of columns in table (Suggestion)
Post by: notocactus on December 05, 2019, 06:37:48 AM
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
____________________________________________________________________________________________
AdminCyrus (https://bitcointalk.org/index.php?action=profile;u=78147)16/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


Title: Re: A feature to fastly switch orders & contents of columns in table (Suggestion)
Post by: TheBeardedBaby on December 05, 2019, 11:00:31 AM
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.


Title: Re: A feature to fastly switch orders & contents of columns in table (Suggestion)
Post by: notocactus on December 06, 2019, 01:01:13 AM
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.


Title: Re: A feature to fastly switch orders & contents of columns in table (Suggestion)
Post by: SFR10 on December 06, 2019, 08:46:27 AM
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





AdminCyrus (https://bitcointalk.org/index.php?action=profile;u=78147)16/01/2013124289
AdminnnnnnCyrusssssssssss (https://bitcointalk.org/index.php?action=profile;u=78147)16/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].


Title: Re: A feature to fastly switch orders & contents of columns in table (Suggestion)
Post by: hugeblack on December 07, 2019, 07:56:35 AM
I think you can also add suggestions to Github.

Please post bugs as Github issues.

BTW, there is an extensive API (http://epochtalk.org/api.html) 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.


Title: Re: A feature to fastly switch orders & contents of columns in table (Suggestion)
Post by: notocactus on December 11, 2019, 01:45:53 AM
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. :)
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?


Title: Re: A feature to fastly switch orders & contents of columns in table (Suggestion)
Post by: Chlotide on December 12, 2019, 02:27:53 PM
... 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.

https://i.imgur.com/nhw2JPv.jpg


Title: Re: A feature to fastly switch orders & contents of columns in table (Suggestion)
Post by: notocactus on January 03, 2020, 08:45:32 AM
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





ForumLink (https://bitcointalk.org/index.php?action=stats)Statistics centern/aPartially disabled
Vod and BPIP teamLink (https://bpip.org/)BPIP (the first site provides forum data)initial one (https://bitcointalk.org/index.php?topic=4746201.0); current one (https://bitcointalk.org/index.php?topic=5213618.0)Upgrading
VodandBPIPteamcolleaguesetcLink (https://bpip.org/)BPIP (the first site provides forum data)initial one (https://bitcointalk.org/index.php?topic=4746201.0); current one (https://bitcointalk.org/index.php?topic=5213618.0)Upgrading
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.


Title: Re: A feature to fastly switch orders & contents of columns in table (Suggestion)
Post by: SFR10 on January 03, 2020, 03:58:26 PM
Could you spend some time to take a look at it, please.
Sure.

AuthorsLinkDescriptionsANN threadsStatus





ForumLink (https://bitcointalk.org/index.php?action=stats)Statistics centern/aPartially disabled
Vod and BPIP teamLink (https://bpip.org/)BPIP (the first site provides forum data)initial one (https://bitcointalk.org/index.php?topic=4746201.0); current one (https://bitcointalk.org/index.php?topic=5213618.0)Upgrading
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...


Title: Re: A feature to fastly switch orders & contents of columns in table (Suggestion)
Post by: notocactus on January 03, 2020, 04:00:42 PM
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 teamLink (https://bpip.org/)BPIP (the first site provides forum data)initial one (https://bitcointalk.org/index.php?topic=4746201.0); current one (https://bitcointalk.org/index.php?topic=5213618.0)Upgrading
ForumLink (https://bitcointalk.org/index.php?action=stats)Statistics 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





ForumLink (https://bitcointalk.org/index.php?action=stats)Statistics centern/aPartially disabled
Vod and BPIP teamLink (https://bpip.org/)BPIP (the first site provides forum data)initial one (https://bitcointalk.org/index.php?topic=4746201.0); current one (https://bitcointalk.org/index.php?topic=5213618.0)Upgrading
VodandBPIPteamcolleaguesetcLink (https://bpip.org/)BPIP (the first site provides forum data)initial one (https://bitcointalk.org/index.php?topic=4746201.0); current one (https://bitcointalk.org/index.php?topic=5213618.0)Upgrading

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


Title: Re: A feature to fastly switch orders & contents of columns in table (Suggestion)
Post by: SFR10 on January 03, 2020, 04:20:39 PM
Maybe I described it incorrectly, due to my English words, but that's what I meant.
Your explanation was perfectly fine :)

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.  :D
You're very welcome :D
- I'll update you if I end up finding an easier fix...


Title: Re: A feature to fastly switch orders & contents of columns in table (Suggestion)
Post by: notocactus on January 03, 2020, 04:24:35 PM
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.  :D
AuthorsLinkDescriptionsANN threadsStatus





Vod.and.BPIP.teamLink (https://bpip.org/)BPIP (the first site provides forum data)initial one (https://bitcointalk.org/index.php?topic=4746201.0); current one (https://bitcointalk.org/index.php?topic=5213618.0)Upgrading
ForumLink (https://bitcointalk.org/index.php?action=stats)Statistics centern/aPartially disabled


Title: Re: A feature to fastly switch orders & contents of columns in table (Suggestion)
Post by: notocactus on January 18, 2020, 03:05:46 AM

| Authors | Link | Descriptions | ANN threads | Status |
| ---------------------|--------|------------------------------------------|-------------|------------|
| Vod and BPIP team | Link (https://bpip.org/) | BPIP (the first site provides forum data) | initial one (https://bitcointalk.org/index.php?topic=4746201.0); current one (https://bitcointalk.org/index.php?topic=5213618.0) | Upgrading |
| Forum | Link (https://bitcointalk.org/index.php?action=stats) | Statistics center | n/a | Partially disabled |


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