BBCodes suggestions
Moderator: Rathinagiri
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
BBCodes suggestions
Dear Rathi,
Reviving this topic where I've suggested to implement borders for table tag for our forum system, which now is coming without.
My suggestion is to modify BBCode of forum with three options for borders (see numerical parameters):
0 = without borders
1 = with simple-line of borders
2 = with double-line of borders
Recently, I have implemented in STRU a routine which can generate a table with BBCodes for DBFs structures and be possible to use in the forum.
What do you think, this suggestion would demand mucho work for you ? Is it possible ?
Reviving this topic where I've suggested to implement borders for table tag for our forum system, which now is coming without.
My suggestion is to modify BBCode of forum with three options for borders (see numerical parameters):
0 = without borders
1 = with simple-line of borders
2 = with double-line of borders
Recently, I have implemented in STRU a routine which can generate a table with BBCodes for DBFs structures and be possible to use in the forum.
What do you think, this suggestion would demand mucho work for you ? Is it possible ?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: BBCodes suggestions
Sample Text | Sample Text |
Sample Text | Sample Text |
Sample Text | Sample Text |
To achieve this you have to enter like this below. This is only a test version. If it is ok, we can change atable, atd, atr as table, td and tr.
Code: Select all
[atable border=5 cellpadding=1 cellspacing=1 width=90% height=50px][atr][atd align=1 valign=1 bordercolor=#00FF40 bgcolor=#FFFFFF]Sample Text[/atd]
[atd align=1 valign=1 bordercolor=#00FF40 bgcolor=#FFFFFF]Sample Text[/atd][/atr]
[atr][atd align=1 valign=1 bordercolor=#00FF40 bgcolor=#FFFFFF]Sample Text[/atd]
[atd align=1 valign=1 bordercolor=#00FF40 bgcolor=#FFFFFF]Sample Text[/atd][/atr]
[atr][atd align=1 valign=1 bordercolor=#00FF40 bgcolor=#FFFFFF]Sample Text[/atd]
[atd align=1 valign=1 bordercolor=#00FF40 bgcolor=#FFFFFF]Sample Text[/atd][/atr][/atable]
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
BBCodes suggestions
So nice dear Rathi !
I make three examples can be choosen in STRU option and I've changed some colors:
TEST.DBF
TEST.DBF
TEST.DBF
Codes are in this way:
In my opinion It is so good like this
I make three examples can be choosen in STRU option and I've changed some colors:
TEST.DBF
Nr | Name | Type | Size | Dec |
1 | CODE | N | 010 | 000 |
2 | FIRST | C | 030 | 000 |
3 | LAST | C | 030 | 000 |
4 | BIRTH | D | 008 | 000 |
5 | MARRIED | L | 001 | 000 |
6 | BIO | M | 010 | 000 |
Nr | Name | Type | Size | Dec |
1 | CODE | N | 010 | 000 |
2 | FIRST | C | 030 | 000 |
3 | LAST | C | 030 | 000 |
4 | BIRTH | D | 008 | 000 |
5 | MARRIED | L | 001 | 000 |
6 | BIO | M | 010 | 000 |
Nr | Name | Type | Size | Dec |
1 | CODE | N | 010 | 000 |
2 | FIRST | C | 030 | 000 |
3 | LAST | C | 030 | 000 |
4 | BIRTH | D | 008 | 000 |
5 | MARRIED | L | 001 | 000 |
6 | BIO | M | 010 | 000 |
Code: Select all
[atable border=0 cellpadding=0 cellspacing=0 width=25% height=50px]
[atr][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFF80][b]Nr[/b][/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFF80][b]Name[/b][/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFF80][b]Type[/b][/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFF80][b]Size[/b][/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFF80][b]Dec[/b][/atd][/atr]
[atr][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFFBF]1[/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFFBF]CODE[/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFFBF]N[/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFFBF]010[/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFFBF]000[/atd][/atr]
[atable border=1 cellpadding=0 cellspacing=0 width=25% height=50px]
[atr][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFF80][b]Nr[/b][/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFF80][b]Name[/b][/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFF80][b]Type[/b][/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFF80][b]Size[/b][/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFF80][b]Dec[/b][/atd][/atr]
[atr][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFFBF]1[/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFFBF]CODE[/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFFBF]N[/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFFBF]010[/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFFBF]000[/atd][/atr]
[atable border=1 cellpadding=0 cellspacing=2 width=25% height=50px]
[atr][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFF80][b]Nr[/b][/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFF80][b]Name[/b][/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFF80][b]Type[/b][/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFF80][b]Size[/b][/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFF80][b]Dec[/b][/atd][/atr]
[atr][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFFBF]1[/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFFBF]CODE[/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFFBF]N[/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFFBF]010[/atd][atd align=1 valign=1 bordercolor=#008000 bgcolor=#FFFFBF]000[/atd][/atr]
Last edited by Pablo César on Tue May 28, 2013 1:10 am, edited 10 times in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: BBCodes suggestions
So, can we switch to the new table bbcode? I have to revisit old tables (if any) to find out whether they work in the new bbcode style.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
BBCodes suggestions
Ok, Mr. Rathi IMO it is quite good enough and I happy you enjoy it too.rathinagiri wrote:So, can we switch to the new table bbcode? I have to revisit old tables (if any) to find out whether they work in the new bbcode style.
Please note basically working as Border-parameter:
Border=0 => atable border=0 cellpadding=0 cellspacing=0
Border=1 => atable border=1 cellpadding=0 cellspacing=0
Border=2 => atable border=1 cellpadding=0 cellspacing=2
Thank you for your support, many thanks
Last edited by Pablo César on Tue May 28, 2013 1:41 am, edited 1 time in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: BBCodes suggestions
Now I have changed atable=> table.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
BBCodes suggestions
Thanks Mr. Rathinagiri !
I make others testes and noted in td there are align and valign. In the example your first example is with =1 value. These parameters are working ?
Because I've tried to change but without results.
I've seen this in internet: http://www.bignosebird.com/docs/h26.shtml and showing to work with: VALIGN=MIDDLE, VALIGN=TOP, VALIGN=BOTTOM, ALIGN=LEFT, ALIGN=CENTER and ALIGN=RIGHT. Or all of these is only fixed value with numerical ?
I loved these way you have indicated, because we can change colors and dimensions value. Thanks for this jewelry !
P.S. Please note re-edition of my previous messages, I 've replaced all aTable for Table, just for right view of tables. You message here is with no table view due replace sintax.
I make others testes and noted in td there are align and valign. In the example your first example is with =1 value. These parameters are working ?
Because I've tried to change but without results.
I've seen this in internet: http://www.bignosebird.com/docs/h26.shtml and showing to work with: VALIGN=MIDDLE, VALIGN=TOP, VALIGN=BOTTOM, ALIGN=LEFT, ALIGN=CENTER and ALIGN=RIGHT. Or all of these is only fixed value with numerical ?
I loved these way you have indicated, because we can change colors and dimensions value. Thanks for this jewelry !
P.S. Please note re-edition of my previous messages, I 've replaced all aTable for Table, just for right view of tables. You message here is with no table view due replace sintax.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
BBCodes suggestions
Dear friend Rathi,
I fear that by replacing aTable by Table, all existed TABLES were all without proper visualization. See items 1 and 2 of this message: http://hmgforum.com/viewtopic.php?p=26766#p26766
I suggest to keep both kind of TABLE tag. One rich table (aTable) and letting old existing table (Table).
Sorry, probably I have induced you to do this mistake.
I fear that by replacing aTable by Table, all existed TABLES were all without proper visualization. See items 1 and 2 of this message: http://hmgforum.com/viewtopic.php?p=26766#p26766
I suggest to keep both kind of TABLE tag. One rich table (aTable) and letting old existing table (Table).
Sorry, probably I have induced you to do this mistake.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: BBCodes suggestions
Yes. You are correct. align and valign variables accept "LEFT:CENTER:RIGHT" and "TOP:MIDDLE:BOTTOM" as values.
Regarding the old tables, we can change to otable, otd and otr, You can just show me the table topics/posts.
Regarding the old tables, we can change to otable, otd and otr, You can just show me the table topics/posts.
Code: Select all
[table border=5 cellpadding=1 cellspacing=1 width=90% height=50px][tr][td align=MIDDLE valign=CENTER bordercolor=#00FF40 bgcolor=#FFFFFF]Sample Text[/td]
[td align=RIGHT valign=TOP bordercolor=#00FF40 bgcolor=#FFFFFF]Sample Text[/td][/tr]
[tr][td align=LEFT valign=BOTTOM bordercolor=#00FF40 bgcolor=#FFFFFF]Sample Text[/td]
[td align=CENTER valign=CENTER bordercolor=#00FF40 bgcolor=#FFFFFF]Sample Text[/td][/tr]
[tr][td align=RIGHT valign=TOP bordercolor=#00FF40 bgcolor=#FFFFFF]Sample Text[/td]
[td align=LEFT valign=BOTTOM bordercolor=#00FF40 bgcolor=#FFFFFF]Sample Text[/td][/tr][/table]
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
BBCodes suggestions
ohhh great !rathinagiri wrote:align and valign variables accept "LEFT:CENTER:RIGHT" and "TOP:MIDDLE:BOTTOM" as values.
Dear Rathi, in order to keep old messages with the old way for table, I suggest to keep old-table as (table) tag and for new one with more options please create a new tag with different name. Just to avoid to correct all old messages (that could it be so many).rathinagiri wrote:Regarding the old tables, we can change to otable, otd and otr, You can just show me the table topics/posts.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein