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 |
#52
|
||||
|
||||
I don't like fixed width skins
Yes, that's no problem, will be aviable in next beta version coming out soon. |
#53
|
||||
|
||||
Quote:
I will be looking forward to the version that has this capability, then. Thank you, sir. |
#54
|
||||
|
||||
Quote:
New beta version out! Changed: Whole part recognizing the options was rewritten. New: defining maximum width in AdminCP New: Tables (with a head) now can be live sorted through JavaScript! Download attached sorttable.js.txt rename it to sorttable.js and place it into the clientscript folder of your vBulletin. Then go to AdminCP -> vBulletin Options -> BB Code [table] Settings -> Enabled Features Of This BB Code and enable sortable PS: Including the file on the pages where it is necessary is done by my product. If sortable is disabled, it won't be included automatically. Edit: Replaced product-bbcode_table-multi_beta.xml (27.9 KB, 15 views) A plugin was missing so the live-sorting of the table didn't work. Edit2: Replaced product-bbcode_table-multi_beta.xml (29.0 KB, 2 views) and sorttable.js.txt (6.2 KB, 17 views) because the path to the arrow image of the sorttable was hardcoded. Edit3: Replaced sorttable.js.txt (6.1 KB, 5 views) Reason Edit4: Replaced sorttable.js.txt (6.8 KB, 3 views) as it didn't work with IE. Edit5: Removed attachments - new version can be found here. product-bbcode_table-multi_beta.xml (29.1 KB, 19 views) table_bbcode-language-en.xml (3.4 KB, 24 views) table_bbcode-language-de.xml (3.5 KB, 11 views) sorttable.js.txt (6.8 KB, 15 views) |
#55
|
||||
|
||||
Ok I got the js file uploaded. Which of the other files do I need to import?
|
#56
|
||||
|
||||
Ok, figured it out and got it installed. Now, all I have to do is figure out how to use it. Feel like teaching an old dog new tricks?
|
#57
|
||||
|
||||
Install attached product (product-bbcode_table-multi_beta.xml) through product manager (overwrite existing) and install one (or both) language packs in AdminCP -> Languages & Phrases -> Download / Upload Languages -> Import Language XML File.
Important: Select the language you want to import the phrases into, not "(Create New Language)" - this won't work! Edit: four seconds to slow I posted a example table in my first post and wrote a description in my second post |
#58
|
||||
|
||||
Thank you, sir.
My width for the forum is set at 777. What do I set for posts and where do I set it? |
#59
|
||||
|
||||
Go to AdminCP -> vBulletin Options -> BB Code [table] Settings -> Maximum Width Of A Table there you can set it.
I don't know which width you need - you have to try it out. Once for "px" and once for "em" (first and second number in the field). |
#60
|
|||
|
|||
Quote:
Oh and the error, I only copied one line that I was using, and it happened to be the one with the error! I would have caught that when viewing the table |
#61
|
|||
|
|||
Quick question. I'm struggling to get a certain style to stick and I've found the issue.
I have Code:
.stg_table_transp {border: none; padding: 2px; } .stg_table_transp td {border: none; } .stg_table_transp .alt1 {background: #F5F5FF; } .stg_table_transp .alt2 {background: #F5F5FF; } I've looked at the code that is generated and copied into an html editor and see that the class for the table is Code:
<table class="stg_table tborder stg_table_transp"> Everything else is fine, and I've created some nice styles now that work really well, it's just the border issue that I just can't seem to work out. Any suggestions? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|