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 |
#522
|
||||
|
||||
Quote:
I'd love to include bold and colspan, but I don't know how I'd do cell-by-cell properties without making it clunky. I am, however, going to add bolding option to the header row and at column level. |
#523
|
||||
|
||||
Keep us updated! I can think of some uses for this when polished.
|
#524
|
|||
|
|||
Hi. If sort a column of numbers with "." or "," (Project column), the values does not sort properly. For example:
30,274,388 will post higher than 101,274,388 (3>1). How can I fix that with the current code? Thank you PHP Code:
|
#525
|
||||
|
||||
I am trying to get this to work with Vault Wiki.
http://www.blincmagazine.com/forum/w...cs?redirect=no I used this code, but still only ever get 1 row and no head row: Code:
[table="head;sort=2d,2;class=head;cellpadding=4;cellspacing=1;border=1"]ObjectType|Number Building|0 Antenna|0 Span|0 Earth|23[/table] |
#526
|
|||
|
|||
Still did not work in 2007 because the simple copy now adds some differen CRs -> you would need to paste it as text only (through Notepad or in simple Editor mode)
I solved this and reduzed the 50 lines to "auto" in the attached version. Does it work on 2002? Regards, Bruno |
#527
|
||||
|
||||
Great work guys, keep at it! :up:
If you can get a true, glitch-free option for bringing the info straight over from Excel, then it would take this mod to the stratosphere! |
#528
|
|||
|
|||
Hmmm... but I don't get live sort to work...
- sorttable.js copied to clientscripts - enabled in the settings ... still no clickable header... Thanks for any help! Bruno |
#529
|
|||
|
|||
O.K. Another "Known Bug" or "minor problem": Table will not be sortable after ajax-Editing the post. You have to reload the page!
And: Be sure to use [table="head"], else you have no head to sort Bruno |
#530
|
|||
|
|||
And another Bug: One CR will be deleted after [/table] each time you press "Preview"
Quote:
Quote:
Quote:
Edit: Interesting: Does not happen any more since I installed live sort... |
#531
|
|||
|
|||
Perhaps you've seen, that sorting will use the default asc/desc image which sometimes makes the next column header unreadable. Workaround: These little Icons from Windows Explorer. Save them e.g. on /images/sort*.png and change the path in sorttable.js:
Code:
if (span.getAttribute("sortdir") == 'down') { ARROW = ' <img src="/images/sortasc.png" />'; newRows.reverse(); span.setAttribute('sortdir','up'); } else { ARROW = ' <img src="/images/sortdesc.png" />'; span.setAttribute('sortdir','down'); } Greetings, Bruno |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|