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.
I've been working on it to try and get it to show images and to try and get rid of that damn cell at the beginning of the table for the last few weeks on my site, but everythng i've tried so far has failed.
So, i'd been hoping it would get officially released.
Really hope someone elses brains can figure out the problem.
Well I mostly use it so I take care of the first cell thingy.
What bugs me the most is that some bbcodes inside the cells aren't parsed, eg images, attachments and who knows what more... and this problem will be much harder to fix than the first blank cell issue...
This plug-in is just what my organization has needed for some time. Thank you for your efforts!
As I understand it from a previous reply you made in this thread the td backgrounds are dependent on CSS. The Style 5 (beige) does not work on our forum, it appears as basic white. I checked the plugin values for style/class 5 and it says it is alt3.
We have very few custom modifications to our Default Style. Currently there are only 2 alternating colors defined, alt1 and alt2. Am I looking in the right place? I would like to be able to also use the beige style 5 background. as well as gray and white. I couldn't find an option to add an additional alternating color for the style.