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 |
#32
|
||||
|
||||
Yippie! I found it!!
I previously had a bug with a quote box being at the end of a row: Something of vBulletin was "eating" the <br /> behind the </div> of the quote box. So I added a workaround for this which worked on my test server. While trying to reproduce "your bug" I found out that if a post is submitted throug AJAX a linebreak is saved as "\n". If a post is submitted through normal answering (without AJAX) a linebreak is saved as "\r\n". My workaround only worked for the first version. So uninstall my product, edit the xml of the product and replace the second line: PHP Code:
This workaround is not the best, but I don't know how to make it better. It would take to much time to explain why that is so... This bug will also be fixed (as described) in the next version. |
#33
|
|||
|
|||
Your mod looks terrific.
I have a couple questions that I didn't see covered in this thread. 1. I understand the table skin automatically fits the style. Q: Is it possible to configure alternate colors (from the style) for the table header or lines within the table on the fly when making a new table? 2. We heavily utilize another bbtable plugin but the flexibility your mod has to use various types of vBcode in a table is inticing me to consider changing. Q: Would it be possible for this mod to co-exist with the current mod we utilize (BB code tables 1.0) so all existing posts/tables would not have to be edited? This may not be something you can answer, and if so I understand. |
#34
|
|||
|
|||
Woudl you have a version that doesn't rename the existing "table" ?
|
#35
|
||||
|
||||
Quote:
Quote:
Quote:
I think this will not solve your problem. If you do this, you will have two mods wanting to parse the same vB code. You will have to decide which one you want to use primarely, and rename the other (by editing the code of the mod). |
#36
|
|||
|
|||
Installed! And my users and I are very, very happy with the format flexibility available with the vBCode Table mod.
Thanks to some !!excellent support!! from StGaensler I am now running the vBCode Table mod parallel with BB Code Tables mod so all older data posted with the legacy table tag is preserved. Migration was very smooth and users have a choice on which table code to utilize - the legacy tag or the new vBCode tags. After the mod was installed users were creating tables with the new features and formating in less than 15 minutes. Several heavy table users only had to add a few format codes on spreadsheets to make cut and pasting data easy. If you need tables or already utilize tables in your forums, this mods a great choice. |
#37
|
|||
|
|||
I'm seeing an issue with the colsp option and I may just expect it to be doing more than is intended.
The colsp option works on the first line of the table, but if used in any other rows in the table it is producing the "colspan!!!" comment that you referred to earlier. If the colsp option is not intended to be used for other rows/cells I understand. I have the beta xml installed. Attached is a screenshot of a test table. I can provide the actually table format in a txt file if needed for this example table. |
#38
|
||||
|
||||
I found two small mistakes I made and removed them - should work now. Thanks for feedback!
Just import this product (overwriting the old one). EDIT: attachment removed (8 views) - new version is out: post #947182 |
#39
|
|||
|
|||
Working now after new version imported. Thank you! :classic:
|
#40
|
|||
|
|||
Is there an option or attribute at this time that can be used to "fill" cells/rows if they are not part of the header row?
This would allow us to have a divider in the table. I've attached a sample table with a row highlighted in pink to illustrate what I am asking. |
#41
|
||||
|
||||
Do you want to fill a table cell with text or with a colour?
The second will be possible in future, because I want to allow a user to choose the CSS class of the table and each individual row. Sorry, currently this is not possible. In your example I would add the comments below the table and would not include them into the table. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|