1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Using Code to create table

Discussion in 'Site News, Bug Reports and Questions' started by ManBearPig, Feb 23, 2016.

  1. ManBearPig

    ManBearPig Well-Known Member

    Messages:
    877
    Location:
    Kentucky
    Cyanide Username:
    ManBearPig
    Country Flag:
    I have been trying to use HTML code to make a table to be displayed in a post. I found a website that has an HTML table generator, and you just copy and paste the code. Unfortunately all I can seem to manage here is a post full of HTML code. I have tried it several different ways, but no luck. I also tried BBcode also no luck. Anyone have any thoughts or suggestions on this?
     
  2. Coach

    Coach Administrator Head Coach

    Messages:
    2,162
    Country Flag:
    Hey ManBear, unfortunately you won't likely find any forum (or website) that lets you post raw HTML. This is mostly due to security reasons as anyone could affectively just create a whole new website in their post.

    I've just installed a couple of new addons to the forum that should now give you the option to create a table in your posts. It's also added a lot more options. I may fine tune and add or remove some of these going forward when I've got more time, especially if anything gets abused.

    Hope this helps, any questions then let me know.
     
    mamutas likes this.
  3. mamutas

    mamutas Super Moderator Moderator

    Messages:
    3,612
    Location:
    Texas, USA
    Steam Username:
    mamutas
    Cyanide Username:
    mamutas
    Country Flag:
    It's awesome, but did we lose our belowed smilies? How can one leave without the skull image? :(

    EDIT: I see they still work, but you can't pick them from the toolbar.
    EDIT2: Don't make my sad face fool you - I am very excited about that change. Thanks, @Coach!
     
    Last edited: Feb 23, 2016
  4. TravelScrabble

    TravelScrabble Well-Known Member

    Messages:
    6,522
    Location:
    Montreal, Canada (UTC -4)
    Steam Username:
    travelscrabble
    Cyanide Username:
    travelscrabble
    Country Flag:
    For reference
    :bothdown: :pow: :pushback: :skull:
     
  5. notafunhater

    notafunhater Well-Known Member

    Messages:
    1,218
    Location:
    Utah, USA
    Cyanide Username:
    notafunhater
    Country Flag:
    I was trying to use BBcode to resize an image but everything I found online didn't seem to work. I've seen posts here before that did it, what's the correct Syntax?
     
  6. mamutas

    mamutas Super Moderator Moderator

    Messages:
    3,612
    Location:
    Texas, USA
    Steam Username:
    mamutas
    Cyanide Username:
    mamutas
    Country Flag:
    You want me to type that now? :gasp: :wink: :smile:
     
  7. ManBearPig

    ManBearPig Well-Known Member

    Messages:
    877
    Location:
    Kentucky
    Cyanide Username:
    ManBearPig
    Country Flag:
    I tried it again. I am wondering if A) i have no clue what I am doing B) the generator doesn't work properly C) the code is incorrect for the boards.
     
  8. ManBearPig

    ManBearPig Well-Known Member

    Messages:
    877
    Location:
    Kentucky
    Cyanide Username:
    ManBearPig
    Country Flag:
    Oh man I messed that up. I misread what you wrote. I undertand now. Thanks
     
  9. Coach

    Coach Administrator Head Coach

    Messages:
    2,162
    Country Flag:
    Sorry about the smilies, there is very limited documentation for setting up these new add ons and it's rather confusing. I'm not having much luck finding the right thing to get everything working together properly yet.

    If anything else doesn't work please let me know!

    I may try some other options, keep your eyes peeled in this thread.
     
  10. Coach

    Coach Administrator Head Coach

    Messages:
    2,162
    Country Flag:
    Right I've switched to another method. Not so easy to use but it's a more workable fit. You need to make sure your table code is all on one line with no spaces between elements. See the example below which should also show how it works.

    Code:
    [TABLE][TR][TH]This is a header cell[/TH][TH]This is a header cell[/TH][/TR][TR1][TD]This is a left aligned cell[/TD][TD1]This is a centre aligned cell[/TD1][/TR1][TR2][TD2]This is a right aligned cell[/TD2][TD]Left aligned[/TD][/TR2][TR1][TD1]Centre aligned[/TD1][TD2]Right aligned[/TD2][/TR1][/TABLE]
    

    This is a header cellThis is a header cell
    This is a left aligned cellThis is a centre aligned cell
    This is a right aligned cellLeft aligned
    Centre alignedRight aligned
     
  11. ManBearPig

    ManBearPig Well-Known Member

    Messages:
    877
    Location:
    Kentucky
    Cyanide Username:
    ManBearPig
    Country Flag:
    Ok. I think the site I was using had this option. thanks