Version: 1.00, by EvilHawk
Developer Last Online: Nov 2023
Version: 3.5.4
Rating:
Released: 01-19-2006
Last Update: Never
Installs: 45
Uses Plugins
No support by the author.
This plugin permits the creation of a table in a post! Tables support for thread postbit, post review and post preview!
This is a just port which is based on the original JohnWoo BB code tables 1.0 hack for vB 3.0.x . This is posted with his permission. All credits to the original author!
Quote:
How it works :
1) starting code is [table] or [table 1 2 3] where
1 2 3 any numbers separated by space
first - border
second - cellpadding
third - cellspacing
- ending tag is always [/table]
- table lines separated by line break
- each line can have 7 styles. To specify a style add in the beginning number and ^ symbol without spaces
example:
2^
you may skip 7^ - it is default (alt1) style
- cells in line separated by |
- there is no need to add | before first and after last cell
- each cell can have each own align. Use align mark as a first symbol of cell without spaces
blank (default) - left
= - center
~ - right
- if number of cells different in lines, last cell of shorter lines will get colspan= with needed number
so table in post may look like
[table 1 3 0]
1|2|test 16798789789797979799879797979|4|5|6|7
1^~right with colspan
2^333|=center with colspan
3^1|2|left with colspan
4^1|=center without colspan|3|4|5|6|7
5^1|blablabla|3|4|5
6^1|2|3|4|5|6|7
[/table]
Minor bugs:
a)It inserts an empty cell if you leave a space after the [table] tag, so the first line has to be like this [table 1 3 0] 1|2|test 16798789789797979799879797979|4|5|6|7
b) you can not use other bbcodes or smilies inside the table tag as they will not get parsed...
You can see demos at the screenshots
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
- EvilHawk, how to add background color to "td" if don't use alt1 or alt2?
- You can add collapse / uncollapse images into to right of table?
It uses the template's css settings, so if you want to add extra colors there is no other way but to change the attributes at the functions the plugin uses!
nhascso why would you want collapse/uncollapse images in posts???
There is an obsession with collapse/uncollapse images by some people that I can't understand at all
nhascso why would you want collapse/uncollapse images in posts???
There is an obsession with collapse/uncollapse images by some people that I can't understand at all
Because if in a post I create 3 table -> if have collapse images will make the member easy discriminate between tables. And if 1 in 3 table have big and wide size make the posts in thread stretch -> if have collapse images will make the members easy zoom out that table. The end, will make the the post in thread look good better between the 2 normal others and will make the posts in thread not stretch.