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 |
#212
|
|||
|
|||
anyone able to implement rowspan? the documentation handles colspan but I can't get rowspan to behave.
|
#213
|
|||
|
|||
giving up on rowspan I am trying nested tables - but the outermost table breaks such that i get two tables "stacked" but the outer table code is not parsed. (see screenshot attached)
My code is as follows: [table width=100%]| [table=head; width=80%]{colsp=2} A Place To Eat - Some Named Object Name:|Some Named Object Address:|Address 1{br}Address 2{br}Some City, GA 32434 Phone:| Guide Description:|some descriptive text [/table]| [table=head; width=20%]Map Location map goes here|[/table] [/table] |
#214
|
|||
|
|||
it's really treating the second table as another ROW instead of column - arrrgh! anyone?
|
#215
|
||||
|
||||
I love it!
Thx. What's live sortable columns? |
#216
|
|||
|
|||
Quote:
Code:
[table]| [table=head; width=80%]{colsp=2} A Place To Eat - Some Named Object Name:|Some Named Object Address:|Address 1{br}Address 2{br}Some City, GA 32434 Phone:| Guide Description:|some descriptive text [/table]| [table=head; width=20%]Map Location map goes here [/table] [/table] |
#217
|
||||
|
||||
HU??
What am I doing wrong: [table="head;width=100%"][size=3][B]Verkeerde anti-spywareprogramma's[/B][/size] Blablabla[/table] [table="head;width=100%"][size=3][B]Verkeerde anti-spywareprogramma's[/B][/size] Blablabla[/table] As you can see I use the exact same piece of HTML code twice. Nevertheless, it appears not the same on my screen. Only the second table has a width of 100%. Please advice. |
#218
|
|||
|
|||
Concerning the border problem which was discussed and solved in the posts (around the 180's), I seem to be having the same problem and can't sort it out. Obviously I'm doing something wrong, can someone help? My CSS and screenie are attached. Basically, I don't want the white border and have tried setting everything I could to border: none and nothing worked. After unsuccessfully trying to use the fix in the posts mentioned above, I now am looking for help...
Code:
.stg_table { border: 1px #09335e solid; padding: 0px; } .stg_table_sigtable { border: 1px #09335e solid; padding: 0px; } .stg_table_sigtable thead { background-color:#09335e; } .stg_table_sigtable .alt1 { background-color:#00458d; color: #ffffff; } .stg_table_sigtable .alt2 { background-color:#00458d; color: #ffffff; } |
#219
|
||||
|
||||
So... My main goal is to be able to make a table with two columns, writing on one side and a picture on the other, preferably with the table invisible.
I found this code-thingy: .stg_table_transp {border: none; padding: 2px; background:transparent;} , which I added to my CSS Classes for the Table. This is supposed to hide the table, yeah? How do I activate it for my table? where do I put it in? Also, can I set a defined width for one of the rows? If so, how? Say my table goes somewhat like this: [table="width=100%"]yadayadaday{br}yadayadayada{br}yada|[img]imageURL[/img][/table] How would I go about to "hide" the table, and set the second column width to 200 px for example? SGL. EDIT: Also, is it possible to see the coding for the 3rd screenshot? |
#220
|
||||
|
||||
Quote:
Anyway: I'm searching someone to write a description of the features for the users of my vB Code - feel free to contact me, if you think you can do this better than me. Quote:
Quote:
As I said, column width currently isn't possible. You could kind a "minimum width" through adding a (blind) image with this width. Quote:
I "randomly" clicked the vB Codes, nothing special... Stefan |
#221
|
||||
|
||||
Quote:
Quote:
Every linebreak opens a new row - you wrote the new table into a new line and so it gets a new row. Put it into the same row if you you want it in the same row. Currently I have problems with vB Codes generating a block level element (such as center, left, ...) at the end of a line, because vBulletin removes the linebreak after this element. Please use CSS for centering the head column. I currently don't know why {br} there makes a new line - I suggest because of the two nested tables. This hasn't been tested very well. Here is the new code: [table="width=100%"]| [table="head;width=80%"]{colsp=2}[b]A Place To Eat[/b] - [i]Some Named Object[/i] [b]Name:[/b]|Some Named Object [b]Address:[/b]|Address 1, Address 2, Some City, GA 32434 [b]Phone:[/b]| [b]Guide Description:[/b]|some descriptive text [/table]|[table="head;width=20%"]Map Location map goes here|[/table] [/table]Thanks With live sortable colums, the head colums are klickable. When you klick on the head of the first column, the table gets sorted for the first column. If you click again it gets sorted reverse. You can do this for every column. Take the second table here: http://www.jabber.org/software/clients.shtml They use merely the same code for this.Sorry, I can't reproduce this. Please try it with a clean install, and report the modification causing this. Quote:
Stefan |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|