The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
BB Code [table] Details »» | |||||||||||||||||||||||||||||||||||||||||||
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: Code:
[table="head"]head col1|head col2|head col3 row1 col1|row1 col2|row1 col3 row2 col1|row2 col2|row2 col3[/table] 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: Download this icon and place it in your /images/editor/ folder. 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
Screenshots
Show Your Support
|
Comments |
#312
|
||||
|
||||
Well, I tried the php file edit that Mr Travel detailed and it didn't work for me.
I'm going to have to try the xml imports and see if that works for me. |
#313
|
||||
|
||||
very interesting
|
#314
|
|||
|
|||
Great mod, great support. I was in need of a table in some forums. Thank you very much! :up:
|
#315
|
||||
|
||||
how do i change the colour of the lines coz i have a black skin so cant see the box lines
|
#316
|
|||
|
|||
is it possible for users to sort the columns themselves by clicking on the column header? Instead of auto sorting the columns?
|
#317
|
|||
|
|||
I want to use the css option, but it doesn't works.
Maybe i make a misstake. Here is, how i go for it: 1. Including CSS Option into the table in thread [table=head;css=stg_table_myclass]spalte1|spalte2 bla bla|blabla[/table] 2. define of the CSS class in the Style preferences under "Additional CSS Definitions)" .stg_table_myclass { font-size:8px; } 3. define the CSS in vB Code [table] Admin CP: stg_table_myclass If i start the thread, then there is no css formatet table in the thread. Did i make i misstake? regards |
#318
|
||||
|
||||
Sorry for the late answer... Put something like .stg_table {margin: 0 auto;} to your additional CSS definitions.
Quote:
If you want to have live sortable columns (JavaScript): Download attached sorttable.js.txt rename it to sorttable.js and place it into the /clientscript/ folder of your vBulletin. Then go to AdminCP -> vBulletin Options -> BB Code [table] Settings -> Enabled Features Of This BB Code and enable sortable 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. Quote:
Quote:
Only some disadvantages of this solution: If you make any mistake with nesting or count of the elements, you have a broken (invalid) table. You can't define maximum dimensions of the table, or sort it in any way (live or for posting). |
#319
|
|||
|
|||
doesn't work :-(
i put this code into css preferences: .stg_table_myclass { font-size:6px; } and then i looked to the html output of the thread, there it is: Quote:
|
#320
|
||||
|
||||
So this means my code does it all very well.
Can it be that you mean this? Code:
.stg_table_myclass th, .stg_table_myclass td {font-size:6px } |
#321
|
|||
|
|||
yes, now it works like a charm :-D
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|