HTML Code

Discussion in 'Site Problems & Feedback' started by Aprox, Jul 15, 2006.

  1. Aprox

    Aprox Moderator Political User

    Messages:
    2,737
    Location:
    California, USA
    I am not sure where to put this, but I figured this would be a good place so the general public cant see it.

    So, why is HTML code disabled for posts? Is there a security reason for this? The reason for me asking is that I was trying to post a video and I could not embed it into the post and the link was some funky flash redirect thing so the direct link wouldnt work either.

    Just a question of curiosity. :)
     
  2. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    Thread Moved
     
  3. Electronic Punk

    Electronic Punk Administrator Staff Member Political User Folding Team

    Messages:
    18,590
    Location:
    Copenhagen, Denmark
  4. Aprox

    Aprox Moderator Political User

    Messages:
    2,737
    Location:
    California, USA
    Well okie dokie... thanks EP. That cleared it right up! :)
     
  5. X-Istence

    X-Istence * Political User

    Messages:
    6,498
    Location:
    USA
    It is a security reason. If we allowed any and all HTML to be used that would mean people could use bad javascript to do cross site scripting attacks, as well as replace random parts of our site with their images using CSS.

    If it has to be embedded, put it in an HTML file, and put that online somewhere, and link to it.
     
  6. Aprox

    Aprox Moderator Political User

    Messages:
    2,737
    Location:
    California, USA
    Ah ok, that makes sense. Thanks for clearning it up. :)
     
  7. madmatt

    madmatt Bow Down to the King Political User

    Messages:
    13,312
    Location:
    New York
    And don't forget, if you need help with HTML code you can use the CODE VB tags.

    Code:
    <html>
    <head>
    <title>madmatt rocks</title>
    </head>
    <body>
      <h1>madmatt rocks</h1>
    </body>
    </html>
    
     
  8. Electronic Punk

    Electronic Punk Administrator Staff Member Political User Folding Team

    Messages:
    18,590
    Location:
    Copenhagen, Denmark
    haha, sorry for the short reply was gonna say what X did honest :)
     
  9. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
  10. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    They're handy for <pre> formatting the text, but not completely necessary. You can just type HTML directly into your post.

    <html>
    <head>
    <title>moo</title>
    </head>
    <body>Cookies FTW!</body>
    </html>
    :D
     
  11. Aprox

    Aprox Moderator Political User

    Messages:
    2,737
    Location:
    California, USA
    Sure. :) Its ok though, I got the drift. :p


    So whats the difference between typing out HTML and pasting HTML from an outside source? How does vBulletin know the difference? Or does it just block certain parts of HTML code from working?
     
  12. j79zlr

    j79zlr Glaanies script monkey Political User

    Messages:
    2,725
    Location:
    Chicago
    All text entered into the db is parsed by php, which strips the <> and uses iso-codes for them, e.g. &lt ;
     
    Aprox and Mainframeguy like this.
  13. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    There is no difference o_0...


    The only difference between what Matt and I did was that he used code tags, where-as I did not.
     
  14. Aprox

    Aprox Moderator Political User

    Messages:
    2,737
    Location:
    California, USA
    I realize that, I just had a semi retarded moment. :) I understand how the system works now, j79zlr explained the part that was confusing me.
     
  15. Mainframeguy

    Mainframeguy Debiant by way of Ubuntu Folding Team

    Messages:
    3,763
    Location:
    London, UK
    He's good like that, a rep-worthy guy (when he posts) and totally unspamming (though no doubt he may post back to prove me wrong!)
     
  16. j79zlr

    j79zlr Glaanies script monkey Political User

    Messages:
    2,725
    Location:
    Chicago
    Thank

    you

    . ;)
     
    Last edited by a moderator: Jul 20, 2006
  17. Mainframeguy

    Mainframeguy Debiant by way of Ubuntu Folding Team

    Messages:
    3,763
    Location:
    London, UK
    /me wonders if a mod is going to merge those posts and remove all the humour? :)
     
  18. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    Your wish is my command :p
     
  19. Mainframeguy

    Mainframeguy Debiant by way of Ubuntu Folding Team

    Messages:
    3,763
    Location:
    London, UK
  20. lynchknot

    lynchknot Moderator

    Messages:
    800
    I hate not being able to use my normal right click options as show below. Why is this happening? Also, if I try to edit a post with an image it will show the image instead of code.

    This site:

    [​IMG]

    [​IMG]

    How it used to be:

    [​IMG]
     
    Last edited: Sep 26, 2006