![]() |
|
Mod Options |
![]() |
|||||||||||||
BB Code [table] by StGaensler Description This Hack provides a BB code [table] to add a table to the post The skin of the table automatically fits the style because the CSS classes of vBulletin are used. A table is simply made of some lines (will be the rows). The cols are seperated by |. So this will be a table:
A screenshot of a "ready" table is attached Usage
Please note: (installing) Installing this product will: (reverted during uninstall)
Note: Including the file on the webpages where it is necessary is done by my product. So if sortable is disabled, it won't be included automatically. If you want to have a icon for the editor you may use this for free: ![]() Please note: (usage)
New features
Maybe planned features
Known problems
Version history: 0.0.1 - 0.0.5 internal releases for testing purposes (Thanks to Zombie79 from powerforen.de for testing) 0.1 first official release 0.1.1 fixed small bug: if a line ends with eg vbcode quote no new row was generated (should already have been fixed but did not work) 0.1.2 workaround: removed call to function bcmod(), it could also be done another way ![]() 0.1.3.x beta version described here (and following) - added admin panel, colpan and css feature 0.1.4 stable version - no significant changes to the last beta (0.1.3.8) 0.1.5.x beta version described here (and following) - added sortable, maxwidth, versioncheck, upgrade message, compatibility to vB 3.6 0.1.6 stable version - two bugfixes to last beta, {br} for posting linebreaks in a tablecell 0.1.7.x stable version - compatibility to vB 3.7 (description) - added tab seperated tables This hack can be used for free. If you want to make a small donation, just contact me. We will find a way ![]() I don't want this product to be distributed from other sources. Please don't upload it to other vBulletin related boards etc. Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
#61
|
||||
|
||||
You don't have to remove this class - simply overwrite it by your own class:
I would also set the background color of .alt1 and .alt2 to 'transparent' rather than to a defined color. If someone quotes a post with such a table the background will have another color. I set this css class so that the table fits into the design of the style - the standard vBulletin tables also have set this class. No members have liked this post.
|
#62
|
||||
|
||||
Originally Posted by StGaensler
Perfect, thanks
![]() ![]() No members have liked this post.
|
#63
|
||||||||
|
||||||||
I guess I need some more help to get it work
I tried to put this in "CSS Classes For The Table"
And the code for the table:
Whatīs wrong whith that? No members have liked this post.
|
#64
|
||||
|
||||
No, in this field you have to add only transp nothing else. Append the css code in AdminCP -> Styles & Templates -> Style Manager -> (Dropdown) Main CSS -> Additional CSS Definitions
No members have liked this post.
|
#65
|
||||||||||||
|
||||||||||||
Originally Posted by StGaensler
So easy, THANKS!
So... Step 1 Append the css code in AdminCP -> Styles & Templates -> Style Manager -> (Dropdown) Main CSS -> Additional CSS Definitions
Step 2 Define css class AdminCP ->vBulletin-options -> BB Code [table] Settings ->CSS Classes For The Table
...and enable the css feature in "Enabled Features Of This BB Code". Step 3 Put this code (example) for your table:
Than I clicked on B to get the first row bold. So...was this the best way to do it? No members have liked this post.
Last edited by evesve; 23 May 2006 at 19:48. |
#66
|
||||
|
||||
Yes, this is very good
![]() Don't forget to enable the css feature in "Enabled Features Of This BB Code". No members have liked this post.
|
#67
|
||||||||
|
||||||||
Originally Posted by StGaensler
OK, I changed it in my last post.
I made a new css class:
this looks great but I canīt use it together with transp like:
and I canīt get it black in the 1st row Can you give me an example for: Row 1 "css=black" Row 2-? "css=transp" ??? No members have liked this post.
|
#68
|
||||||||
|
||||||||
Why didn't I get a notification mail???
It's the mystery of css:
works in my board ![]() I also can get the first row black:
Which version of my mod do you use? No members have liked this post.
|
#69
|
||||||||
|
||||||||
Originally Posted by StGaensler
I use version 0.1.5 BETA.
No members have liked this post.
|
#70
|
||||||||
|
||||||||
Itīs getting better and better!!!
I had a small space:
This was better!
No more complains!!! Thanks! No members have liked this post.
|
#71
|
||||
|
||||
Thanks, too. I fixed this - one space should be allowed
![]() No members have liked this post.
|
#72
|
||||
|
||||
Hi,
Thank you for this wonderful code, it's made our lives so much easier on my site ![]() In your screenshots you have a table inside a table and also you've aligned text left, right and centre. Could you please explain how you did that? Thank you ![]() Regards, Renada No members have liked this post.
|
#73
|
||||
|
||||
That was simply formating the Table content with vB code. Here is the code of the example table:
I can't answer your questions for the next week because I'm on holidays ![]() No members have liked this post.
|
#74
|
||||
|
||||
Originally Posted by StGaensler
Hi,
Thank you so much that worked perfectly except the left/centre/right cell, not sure why that puts everything in different cells. Have a great holiday ![]() Regards, Renada No members have liked this post.
|
#75
|
|||
|
|||
Great Plugin :banana: .. INSTALL
![]() No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 07:52.