1. Offline

    JimboK One owner, low mileage

    Member Since:
    May 1, 2006
    Posts:
    2,817
    Likes Received:
    170
    Location:
    Chesterfield, VA
    Your Vehicle Year:
    2005 Prius
    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:

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


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

    [IMG]

    I wouldn't mind spending a little extra time to create a table if it helps the reader see the data.
    1 people like this.
  2. Offline
    • Admin/Founder

    Danny Admin/Founder

    Member Since:
    Nov 24, 2003
    Posts:
    6,083
    Likes Received:
    827
    Location:
    Charlotte, NC
    Your Vehicle Year:
    Other Non-Hybrid
    Model:
    N/A
    Do you mean like this?

    [table="head"]head col1|head col2|head col3
    row1 col1|row1 col2|row1 col3
    row2 col1|row2 col2|row2 col3[/table]
    Thanks for making me take the time to look for this addition - it should be very helpful!
  3. Offline

    Sufferin' Prius Envy Platinum Member

    Member Since:
    Jul 7, 2004
    Posts:
    3,998
    Likes Received:
    7
    Location:
    USA
    Your Vehicle Year:
    Other Non-Hybrid
    [table="head"]So|Exactly|How
    does|this|new
    fangled | thing | work
    and |just |what
    is | it | good |
    for | :confused: | ;)[/table]
  4. Offline
    • Admin/Founder

    Danny Admin/Founder

    Member Since:
    Nov 24, 2003
    Posts:
    6,083
    Likes Received:
    827
    Location:
    Charlotte, NC
    Your Vehicle Year:
    Other Non-Hybrid
    Model:
    N/A
    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.
  5. Offline

    JimboK One owner, low mileage

    Member Since:
    May 1, 2006
    Posts:
    2,817
    Likes Received:
    170
    Location:
    Chesterfield, VA
    Your Vehicle Year:
    2005 Prius
    Woo-hoo! Thanks for the quick action!!! :first:

    I've already put it to work.
  6. Offline

    Karado58 New Member

    Member Since:
    Nov 20, 2008
    Posts:
    2
    Likes Received:
    0
    Your Vehicle Year:
    2004 Prius

    Hi Danny,
    I placed this code in a post in my forum, but all i got was the code and no table.
    [table="head"]head col1|head col2|head col3
    row1 col1|row1 col2|row1 col3
    row2 col1|row2 col2|row2 col3[/table]

    Can you please help?

    Thanks.
    Joseph
    vBulletin® Version 3.7.2
  7. Offline
    • Admin/Founder

    Danny Admin/Founder

    Member Since:
    Nov 24, 2003
    Posts:
    6,083
    Likes Received:
    827
    Location:
    Charlotte, NC
    Your Vehicle Year:
    Other Non-Hybrid
    Model:
    N/A
  8. Offline

    talonts VFAQman

    Member Since:
    Jan 9, 2004
    Posts:
    356
    Likes Received:
    20
    Location:
    Florida
    Your Vehicle Year:
    2006 Prius
    I'm still not seeing how to do columns in a table in a thread post. vBulletin says to separate by "|"s, but when I do so, anything after the first one on a row disappears. I've been Googling how to set up a table in a post, but no clear examples of the formatting have shown up.

    I can build tables easily enough in HTML, but vB is annoying me...
  9. Offline

    2009Prius A Wimpy DIYer

    Member Since:
    Mar 25, 2009
    Posts:
    2,159
    Likes Received:
    318
    Location:
    USA
    Your Vehicle Year:
    2009 Prius
    Model:
    N/A
    Exactly the same problem here. Any update or tutorial for dummies? Thanks!
  10. Offline

    vincent1449p New Member

    Member Since:
    May 24, 2004
    Posts:
    556
    Likes Received:
    150
    Location:
    Singapore
    Your Vehicle Year:
    2003 Prius
    Model:
    N/A
    Hi 2009Prius,

    All your columns must be separate by "|" and every row should have the same no. of "|". Is this how you want your table to look like?

    [TABLE="head ; width=30%"] 12V | battery | check |
    IG | DMM | SGII | PriiDash
    OFF | 12.50 | 12.4 | ---
    [/TABLE]

    Vincent
    1 people like this.
  11. Offline

    2009Prius A Wimpy DIYer

    Member Since:
    Mar 25, 2009
    Posts:
    2,159
    Likes Received:
    318
    Location:
    USA
    Your Vehicle Year:
    2009 Prius
    Model:
    N/A
    Thanks! How is the title done? Mine doesn't seem to show.
  12. Offline

    Stev0 Aluminum Member

    Member Since:
    Sep 23, 2006
    Posts:
    7,088
    Likes Received:
    894
    Location:
    Northampton, MA
    Your Vehicle Year:
    2006 Prius
    Looks like you have to put it in Bold.
  13. Offline

    vincent1449p New Member

    Member Since:
    May 24, 2004
    Posts:
    556
    Likes Received:
    150
    Location:
    Singapore
    Your Vehicle Year:
    2003 Prius
    Model:
    N/A
    You have to use the head option, your 1st row will be your header. It need not be in Bold, just my personal preference.

    e.g. [TABLE="head"]12V | battery | check |

    Vincent
    1 people like this.
  14. Offline

    SageBrush New Member

    Member Since:
    Jun 4, 2008
    Posts:
    5,852
    Likes Received:
    765
    Location:
    New Mexico
    Your Vehicle Year:
    Other Hybrid
    Model:
    N/A
  15. Offline

    SageBrush New Member

    Member Since:
    Jun 4, 2008
    Posts:
    5,852
    Likes Received:
    765
    Location:
    New Mexico
    Your Vehicle Year:
    Other Hybrid
    Model:
    N/A
    sample

    heading|A|B|C|D
    Row 1| a|b|c|d
    Row 2| e|f|g|h
    Row 3| i|j|k|l

Share This Page