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 |
#512
|
||||
|
||||
This is a great mod StGaensler!
I mashed up a little MS Excel file to auto-create tables up to 20 columns wide x 50 rows. It doesn't support CSS or the colsp variables (yet?) but it lets me very quickly create the BB code for large tables in a WYSIWYG way. If anyone wants to give it a run just let me know. I tried to avoid macros entirely (as you'll see from the coding), but Excel has a bug that doesn't allow clean copying of cell values with line returns...it embeds extra " marks in the clipboard. |
#513
|
|||
|
|||
Install 0.1.7.x....
How to worked....? |
#514
|
||||
|
||||
An Excell like applet would be nice. Some of my members are climbing on the walls due to the table code.
I'll gladly try out your Excell file War.Frog |
#515
|
||||
|
||||
Quote:
Sure thing. Give this a run. There's no guarantee of some little glitches I haven't found, but it seems to create the tables accurately. Just enter the info into the main table (up to 20x50) and click the button to copy the table code to the clipboard. Paste it into your post and you're done. Extra carriage returns are entered where empty rows exist but they're ignored by vBulletin. Let me know how you make out! |
#516
|
|||
|
|||
1000 Thanks for this Add, Stefan!
And also for the Excel-Sheet, War.Frog! It seems not to work 100% on Excel 2007 though... perhaps I will find the time to debug it later... Greetings, Bruno |
#517
|
||||
|
||||
Quote:
I hated having to use the macro, but Excel does not copy to clipboard nicely when there are carriage return characters in the source. |
#518
|
|||
|
|||
Hello War.Frog
Other Problems:
Greetings & Thanks! Bruno |
#519
|
||||
|
||||
Quote:
Do you get 50 lines rendered in your table, or just 50 lines in the preview / entry window? The problem I found with Excel is, when I try to do a simple concatenation of the final table code and copy it to the clipboard, Excel adds extra " marks in the clipboard itself, even though they don't show on screen. To get around that, I copied the full 50-row set into the clipboard and vBulletin 3.8.4 seems to happily ignore the extra carriage returns. I'll have a look at the sorting too. I made some changes from an earlier version but never gave sorting another run. |
#520
|
||||
|
||||
I fixed some of the coding here to try and make it a little more efficient - and work. Sorting appears to work now, and I also added an Alignment selection for each column (left, center, right).
See how it runs on 2007 - this was created in Excel 2002 so I'm not sure if there are some inconsistencies with the formulas or macros. On 2002, there's no way around copying the full 50 rows to get the table code properly saved in the clipboard. Have a try... |
#521
|
|||
|
|||
Quote:
Whenever I tried copy/pasting, somehow I'd end up with an extra table head line. The problem is the internal Excel markup (I think). Problem can be solved by copy/pasting into notepad, then selecting all in there, and pasting into vB. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|