PriusChat Forums  

 
Spy
Go Back   PriusChat > PriusChat Forums > PriusChat Website Questions

PriusChat Website Questions This is a discussion on vBulletin code for tables within the PriusChat Website Questions forums, part of the PriusChat Forums category; For those of use that occasionally like to post data in tabular form, is there any way the vBulletin code ...


Tags
code, tables, vbulletin

Reply
 
LinkBack Thread Tools
Old 07-10-2008, 02:56 PM   #1
JimboK
One owner, low mileage
 
JimboK's Avatar
 
Join Date: May 2006
Location: Chesterfield, VA
Posts: 1,990
My Car: 2005 Prius
Package: #2
Nominated 0 Times in 0 Posts
TOTM Awards: 0
Friends: 3
Default vBulletin code for tables

For those of use that occasionally like to post data in tabular form, is there any way the vBulletin code for tables can be enabled? I know it exists; CleanMPG has it enabled. It's a little cumbersome to use -- here's a sample:

HeadingColumn 1Column 2Column 3 
Row 1Data 1Data 2Data 3 
Row 2Data 4Data 5Data 6 
Row 3Data 7Data 8Data 9 

But it produces a very clean looking table (with boldfacing and underlining added for "Heading"):

Click the image to open in full size.

I wouldn't mind spending a little extra time to create a table if it helps the reader see the data.
__________________
Jim

Lifetime fuel mileage:
Click the image to open in full size.
After learning how to hypermile:
Click the image to open in full size.
Click here for car details.
JimboK is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 07-10-2008, 03:29 PM   #2
Danny
Admin/Founder
 
Danny's Avatar
 
Join Date: Nov 2003
Location: Columbia, SC
Posts: 4,582
My Car: 2006 Prius
Package: #8
Nominated 26 Times in 8 Posts
Nominated TOTM Awards: 1
Send a message via Skype™ to Danny
Friends: 25
Default Re: vBulletin code for tables

Do you mean like this?

head col1head col2head col3
row1 col1row1 col2row1 col3
row2 col1row2 col2row2 col3
Thanks for making me take the time to look for this addition - it should be very helpful!
Danny is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-10-2008, 03:55 PM   #3
Sufferin' Prius Envy
Platinum Member
 
Join Date: Jul 2004
Location: USA
Posts: 4,012
My Car: Other Non-Hybrid
Package: N/A
Nominated 15 Times in 1 Post
Nominated TOTM Awards: 1
Friends: 0
Default Re: vBulletin code for tables

SoExactlyHow
doesthisnew
fangled thing work
and just what
is it good
for
Sufferin' Prius Envy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-10-2008, 04:05 PM   #4
Danny
Admin/Founder
 
Danny's Avatar
 
Join Date: Nov 2003
Location: Columbia, SC
Posts: 4,582
My Car: 2006 Prius
Package: #8
Nominated 26 Times in 8 Posts
Nominated TOTM Awards: 1
Send a message via Skype™ to Danny
Friends: 25
Default Re: vBulletin code for tables

Here's some info on how to use it. I haven't had much time to play around with it, so I can't translate this into English right now:

Introduction to options:
example: [table="option1;option2=value;option3='this is a long value with space';option4=value1,value2,value3"]
The whole option list should be wrapped with quotes.
Options are seperated by a semicolon
If an option has a value it is assigned with "equal to" mark. (option2)
If the value contains blanks or special characters it has to be wrapped with apostrophes. (option3)
If an option has more than one value they are seperated by a comma. (option4)

Description of options:
head
This option defines the first line as head, so the first row is shown as head of the table. If the table sould be sorted, the head is not sorted.

sort=1d,2,3
This defines the table to be sorted by column 1, then column 2, then column 3. The "d" after the first colum specifies the order: descending (default: ascending)

autonum=1 (equal to autonum) autonum=a autonum=A
Defines that a new first column containing a numbering should be inserted.
1 -> 1, 2, 3, 4, ... , 999, 1000, ....
a -> a, b, c, ... , aa, ab, ... , zz
A -> A, B, C, ... , AA, BB, ... , ZZ

autonumtitle=oneword autonumtitle='long value with spaces'
Defines the title of the autonum-column. Can be left empty.

width=123px width=45em width=67%
Defines the width of the table.
Danny is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-10-2008, 04:30 PM   #5
JimboK
One owner, low mileage
 
JimboK's Avatar
 
Join Date: May 2006
Location: Chesterfield, VA
Posts: 1,990
My Car: 2005 Prius
Package: #2
Nominated 0 Times in 0 Posts
TOTM Awards: 0
Friends: 3
Default Re: vBulletin code for tables

Woo-hoo! Thanks for the quick action!!!

I've already put it to work.
JimboK is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-20-2008, 03:05 PM   #6
Karado58
Junior Member
 
Join Date: Nov 2008
Posts: 2
My Car: 2004 Prius
Package: #8
Nominated 0 Times in 0 Posts
TOTM Awards: 0
Friends: 0
Default Re: vBulletin code for tables

Quote:
Originally Posted by Danny View Post
Do you mean like this?

head col1head col2head col3
row1 col1row1 col2row1 col3
row2 col1row2 col2row2 col3
Thanks for making me take the time to look for this addition - it should be very helpful!

Hi Danny,
I placed this code in a post in my forum, but all i got was the code and no table.
head col1head col2head col3
row1 col1row1 col2row1 col3
row2 col1row2 col2row2 col3

Can you please help?

Thanks.
Joseph
vBulletin® Version 3.7.2
Karado58 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-21-2008, 09:47 AM   #7
Danny
Admin/Founder
 
Danny's Avatar
 
Join Date: Nov 2003
Location: Columbia, SC
Posts: 4,582
My Car: 2006 Prius
Package: #8
Nominated 26 Times in 8 Posts
Nominated TOTM Awards: 1
Send a message via Skype™ to Danny
Friends: 25
Default Re: vBulletin code for tables

You have to go into your AdminCP and install the BBCode first:

BB Code [table] - vBulletin.org Forum
Danny is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I fit an Ikea Malm Queen Bed with end tables Winston Prius Main Forum 13 01-22-2008 10:28 PM
Diagnostic codes (not Pxxxx, Bxxxx, Cxxxx but Code / Sub-Code formatted ones) Balt Prius Technical Discussion 3 09-24-2007 09:01 PM
code 3009 nkcrowell Care, Maintenance and Troubleshooting 3 09-09-2006 10:41 AM
BB Code rufaro Newbie Forum 4 06-11-2006 03:01 PM


All times are GMT -5. The time now is 03:05 AM.


Find us on Facebook!
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0