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 |
#482
|
|||
|
|||
Quote:
Auto Number - Don't forget to add in "autonum=1" to your table definition. For the sorting, it goes by column number. In your example, you are using column 15 and 16, with 16 sorting in descending order, and then by column 16 in ascending order. If you do not have 16 columns, change those numbers to the column number. If you want to sort it by number of points (descending) and then number of matches played (ascending), then your code could look like this: [table="head;sort=4d,3;autonum=1;autonumtitle=Rank; width=12em"]#|CLUBNAME|MATCHES|POINTS 1|Team A|3|16 2|Team B|3|18 3|Team C|4|20 4|Team D|3|13 5|Team E|5|23 6|Team F|4|21 7|Team G|3|25[/table] But if you wanted it to sort by the number of matches played (descending) and then number of points, it would look like this: [table="head;sort=3d,4;autonum=1;autonumtitle=Rank; width=12em"]#|CLUBNAME|MATCHES|POINTS 1|Team A|3|16 2|Team B|3|18 3|Team C|4|20 4|Team D|3|13 5|Team E|5|23 6|Team F|4|21 7|Team G|3|25[/table] |
#483
|
|||
|
|||
Quote:
|
#484
|
|||
|
|||
NOMINATED very useful mod ... thank you sir
|
#485
|
|||
|
|||
Is there a update for the language file to be used with 3.8? everything else seems to work but unable to install language pack
|
#486
|
|||
|
|||
Quote:
|
#487
|
||||
|
||||
Thanks Brathamike, I've responded to your PM :up:
|
#488
|
|||
|
|||
starting to bugs or errors. nice mod though i can get to work on the latest vb version but unable to upload the language pack and when i try to edit the tabels after i save. it mess everything all up
|
#489
|
|||
|
|||
about the messing eveythin up, by edit, is it olso when you center the table, because it is the only time i got the mess up.
|
#490
|
|||
|
|||
Love this mod but im having real problems getting the sorttable working properly
The table contains a lot of numbers and when you click the heading it sorts them by first digit only. For example 1008,6,201,704,500,304, Would be sorted to 1008,201,304,500,6,704 I'd want it to be sorted like: 6,201,304,500,704,1008 How do I make it look at the whole number? |
#491
|
|||
|
|||
I tried your numbers in a table and the column sorted properly. I've found that sometimes sortability is affected by blank spaces between the |'s. Check that there are no blank spaces.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|