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 |
#162
|
|||
|
|||
w00t !!
Thanx A whole new world opened to me, lol If anyone wants to use our button, it's in the attachement |
#163
|
|||
|
|||
Hi there! Thanks ever so much for this mod, this is wonderful!
I have added a custom CSS and have it working for the body of the table (td), but it isn't formatting the header (thead or th). What am I doing wrong? I am trying to have it match the 'smallfont' style that is being applied to the <td> rows. Here is what I have in my CSS (note both thead and th since I don't know which will work!): Code:
/*********** TABLE **************/ .stg_table_smallfont {font-size: 11px;font-family: 'trebuchet ms', verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;} .stg_table_smallfont td {font-size: 11px;font-family: 'trebuchet ms', verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;} .stg_table_smallfont th {font-size: 11px;font-family: 'trebuchet ms', verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;} .stg_table_smallfont thead {font-size: 11px;font-family: 'trebuchet ms', verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;} /*********** END TABLE **********/ |
#164
|
|||
|
|||
Quote:
|
#165
|
|||
|
|||
Hi! It's a great mod, but I have the same problem which was reported in this message.
When I use the code HTML Code:
[table="head;width=70%"] |[CENTER][B]column 2[/B][/CENTER]|[CENTER][B]column 3[/B][/CENTER] [B]row 2[/B]|[CENTER]test 22[/CENTER]|[CENTER]test 23[/CENTER] [B]row 3[/B]|[CENTER]test 32[/CENTER]|[CENTER]test 33[/CENTER][/table] If I add extra line breaks, like here HTML Code:
[table="head;width=70%"] |[CENTER][B]column 2[/B][/CENTER]|[CENTER][B]column 3[/B][/CENTER] [B]row 2[/B]|[CENTER]test 22[/CENTER]|[CENTER]test 23[/CENTER] [B]row 3[/B]|[CENTER]test 32[/CENTER]|[CENTER]test 33[/CENTER][/table] vBulletin version 3.6.7. Is this normal? |
#166
|
|||
|
|||
Quote:
Here is what I did: 1) In AdminCP, go into Styles, and go to Main CSS for the style you are using. If you are using multiple styles, you'll need to do this for each style. 2) In the Additional CSS section (very bottom) create a new CSS entry called .stg_table_mycss (use something else other than mycss). You will need the . before. 3) If you are applying the style to the whole table, use .stg_table_mycss. If you are applying the style to the cell contents (text), use .stg_table_mycss td. If you are applying the style to the cell row (alternating colors??) use .stg_tablerow_mycss See my post above for examples. 4) Once you have created the CSS entries (and saved them), go into vB Options> vb code [table] options. You'll need to check the {css=} option at the top to enable that feature, and you'll also need to enter in mycss in the Styles for Table and Styles for Tablerow sections. Save those options, and then reload your page. You may need to hard refresh (clear cache, etc) to force the download of the CSS again. |
#167
|
|||
|
|||
Realy nice. Installed.
|
#168
|
|||
|
|||
Hi guys need some help here, were using the transparent table mod as detailed in the thread which works perfectly, but are having a few problems with formatting:
The table we are using is: PHP Code:
However any time we try and put a new paragraph break in the text to give some structure we get an extra cell as per: table_02.jpg Any ideas what we are missing? HELP |
#169
|
|||
|
|||
Bump.....
|
#170
|
||||
|
||||
I got it work What have you tried to get it work? Have you enabled the css feature and put the classnames (without stg_table_) into the preferences of my mod? Have you defined the properties of the css classes (with stg_table_)? Is {css=... the very first text standing in the row?
Quote:
Quote:
Stefan |
#171
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|