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 |
#302
|
||||
|
||||
Just try a example code and you will see that it works
As I said many times here you will have to add the image by yourself. |
#303
|
|||
|
|||
Hi,
I've had this going in my forum for quite some time and it's great. I just upgraded to vB3.7, and I also upgraded this "product". It still is working, however the table is now aligned against the left side of the post, where before it was centered. Is there a way to get it back to being centered? THANKS again for a great set of code! |
#304
|
||||
|
||||
I love BBcodes... Dank sch?n
|
#305
|
||||
|
||||
Thank`s For Hack`s
|
#306
|
||||
|
||||
Quote:
Code:
if($bbcode_table['table']['rows']<$vbulletin->options['stg_table_maxrows']) $bbcode_table['table']['rows']--; Code:
$bbcode_table['table']['rows']--; |
#307
|
|||
|
|||
Just open /includes/class_bbcode.php
Find: PHP Code:
PHP Code:
HTML Code:
<table> <tr> <td>tab 1</td> <td>tab 2</td> </tr> <tr> <td>tab 3</td> <td>tab 4</td> </tr> <tr> <td>tab 5</td> <td>tab 6</td> </tr> </table> HTML Code:
[table] [tr] [td]tab 1[/td] [td]tab 2[/td] [/tr] [tr] [td]tab 3[/td] [td]tab 4[/td] [/tr] [tr] [td]tab 5[/td] [td]tab 6[/td] [/tr] [/table] |
#308
|
|||
|
|||
Awesome, it works great now. Cheers for that.
|
#309
|
|||
|
|||
Getting following error messageafter trying to import on 3.7:
Code:
old table-tag moved (if existing) Datenbankfehler in vBulletin 3.7.0: Invalid SQL: INSERT INTO bbcode VALUES (NULL, 'table', 'No code has to be inserted here.', '[table]column 1|column 2|column 3[/table]', 'With this vB code tables can be inserted into the post. Columns are seperated by ?|?, every new line is a new row.', 0, 'table', '');; MySQL-Fehler : Column count doesn't match value count at row 1 Fehler-Nr. : 1136 Fehler-Zeit : Saturday, 17.05.2008 @ 16:23:37 Datum : Saturday, 17.05.2008 @ 16:23:38 Skript : http://<cut>/admincp/plugin.php?do=productimport Referrer : http://<cut>/admincp/plugin.php?do=productadd IP-Adresse : <cut> Benutzername : <cut> Klassenname : vB_Database MySQL-Version : 5.0.45-Debian_1ubuntu3.3-log |
#310
|
|||
|
|||
I know this is a file edit and most folks prefer not to do this, but will this work? If so, it would make the use of tables so much easier.
Quote:
|
#311
|
||||
|
||||
With what Mr Travel posted (and dilbert quoted), will that make it so that I can include tables similar to HTML code without having to do the .xml file imports?
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|