1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Tables

Discussion in 'Site Feedback' started by Thalassicus, Mar 31, 2012.

  1. Thalassicus

    Thalassicus Bytes and Nibblers

    Joined:
    Nov 9, 2005
    Messages:
    11,057
    Location:
    Texas
    Is it feasible to add table support to the forum? There's a few versions out there for vBulletin, possibly this one.

    I use tables often to post data like the sample below. My current method is to screenshot a spreadsheet from libreoffice and post it as a png (gets nice ~10KB file sizes). BBcode tables would probably use less site bandwidth, and might be more user-friendly for people without image editing experience. :)

     
  2. ainwood

    ainwood Consultant. Administrator

    Joined:
    Oct 5, 2001
    Messages:
    30,071
    Cool idea!
    Column 1 Column 2
    Promo XP Cost
    0 0
    1 10
    2 30
    3 60
    4 100
    5 150



    [table="Promotions"]
    Promo|XP Cost
    0|0
    1|10
    2|30
    3|60
    4|100
    5|150
    [/table]
     
  3. Thalassicus

    Thalassicus Bytes and Nibblers

    Joined:
    Nov 9, 2005
    Messages:
    11,057
    Location:
    Texas
    Thank you, that was quick! I guess I should have asked earlier. :lol:
     
  4. Thalassicus

    Thalassicus Bytes and Nibblers

    Joined:
    Nov 9, 2005
    Messages:
    11,057
    Location:
    Texas
    Would it be possible to alter the code, so we can include attributes in the table tag like seen here?

    The border attribute would especially be helpful. :)
     
  5. Verarde

    Verarde Pondering Wearing A Hat

    Joined:
    Nov 25, 2009
    Messages:
    3,795
    Location:
    Northern VA
    Oh, those are beautiful. I've seen those on sites with vBulletin that have play by post DnD games, and they are very useful.
     
  6. Thorvald of Lym

    Thorvald of Lym A Little Sketchy

    Joined:
    Nov 21, 2005
    Messages:
    7,922
    Location:
    A Palace north of Oslo
    Discovered the new button dunno how many hours ago; researched formatting; fell in love. :D

    Best new forum feature in I-don't-know-how-long.

    P.S. It even sorts by column header!

    Promo XP Cost
    0 0
    1 10
    2 30
    3 60
    4 100
    5 150



    [table="head"]
    Promo|XP Cost
    0|0
    1|10
    2|30
    3|60
    4|100
    5|150
    [/table]
     
  7. ainwood

    ainwood Consultant. Administrator

    Joined:
    Oct 5, 2001
    Messages:
    30,071
    The formatting that Thorvald of Lym linked to shows existing formats that are supported. Not sure if they have what you want. The table properties are inherited from the forum CSS, so I don't think you can turn borders off as it stands, unless I change the CSS (which I'm reluctant to do).

    Yeah - the sorting is awesome.
     
  8. Thalassicus

    Thalassicus Bytes and Nibblers

    Joined:
    Nov 9, 2005
    Messages:
    11,057
    Location:
    Texas
    I understand, technical limitations can make stuff like that difficult. Thank you for adding this Ainwood! :goodjob:
     
  9. The_J

    The_J Say No 2 Net Validations Retired Moderator Supporter

    Joined:
    Oct 22, 2008
    Messages:
    30,555
    Location:
    Germany / Netherlands
    Like it too, already trying to do something with it in one of the overviews :).
     
  10. DaveShack

    DaveShack Inventor Retired Moderator

    Joined:
    Feb 2, 2003
    Messages:
    13,108
    Location:
    Arizona, USA (it's a dry heat)
    Regarding the CSS, you might be able to add extra things to handle fancy table variants, but that might be playing with fire.
     
  11. Thalassicus

    Thalassicus Bytes and Nibblers

    Joined:
    Nov 9, 2005
    Messages:
    11,057
    Location:
    Texas
    Here's a tip for making large tables that's much easier than creating it directly on the forum. :)
    1. Create your table in Excel or LibreOffice Calc (the free version).

      .
    2. Copy the table to notepad.
      .
    3. Find-replace tab characters with | vertical bars.

      .
    4. Copy to the forum.
      .
    5. Click the button to insert table tags around your text.
    Working with large tables in Excel/LibreOffice lets you use all the time-saving tools like moving columns and cells around, automatically calculating formulas, and so on.
     

    Attached Files:

  12. Thalassicus

    Thalassicus Bytes and Nibblers

    Joined:
    Nov 9, 2005
    Messages:
    11,057
    Location:
    Texas
    Is it possible for the "Modern CFC" forum skin to use the same table borders as the "Christmas" skin? The borderless Christmas tables are much easier to read than the normal ones. :)

    Christmas




    Modern CFC
     

    Attached Files:

  13. ainwood

    ainwood Consultant. Administrator

    Joined:
    Oct 5, 2001
    Messages:
    30,071
    Same applies to modifying the borders.
     
  14. Takhisis

    Takhisis have some dopamine

    Joined:
    Jul 11, 2005
    Messages:
    40,093
    Location:
    up yours!
    In soooome versions you can specify yourself what style of borders you want by typing in additional stuff after the beginning tag:
    Column 1
    (…)[/B]]
     

Share This Page