In-game images within the forum

Discussion in 'Questions' started by Urban-Ruin, Sep 23, 2008.

Share This Page

  1. Urban-Ruin

    Urban-Ruin Member

    Joined:
    Aug 1, 2008
    Messages:
    13
    Likes Received:
    0
    Before this last update when i wanted to display an in-game tribalwars image within my tribes forum i used to write, for example...

    graphic/unit/unit_spear.png[img]

    However since the update to version 4.5, all these links written this way have stopped working. A message is now displayed instead saying "invalid image".
    The other way of writing these links to display the images still works, however this shorthand version does not.

    This way of showing the image still works.
    [ img]http://en17.tribalwars.net/graphic/unit/unit_spear.png

    However you didn't actually have to put the http://en17 etc into the bbcode, you could use the shorthand version, this meant you could write something and it would be universal for all worlds. Obviously you then didn't have to change the world prefix every time the information was uploaded to a new world.

    So does anyone know why this "shorthand version" does not work anymore ?
     
    Last edited: Sep 23, 2008
  2. servy

    servy All Over the Board

    Joined:
    Mar 7, 2007
    Messages:
    12,944
    Likes Received:
    1
    You can still access the images of world 17 even if you're not on w17, so they're still universal accross worlds.
     
  3. Urban-Ruin

    Urban-Ruin Member

    Joined:
    Aug 1, 2008
    Messages:
    13
    Likes Received:
    0
    Yes i understand that but writing graphic/unit/unit_spear.png[img], within my tribe's own forum doesn't display an image anymore, like it did before the last update.

    I was wondering why it didn't work anymore,.
     
  4. servy

    servy All Over the Board

    Joined:
    Mar 7, 2007
    Messages:
    12,944
    Likes Received:
    1
    I gathered that, and had I known I would have answered...
     
  5. Morthy

    Morthy Community Manager Tribal Wars Team

    Joined:
    Jul 5, 2006
    Messages:
    5,788
    Likes Received:
    48
    The limitation was added to fix a security issue.
     
  6. Urban-Ruin

    Urban-Ruin Member

    Joined:
    Aug 1, 2008
    Messages:
    13
    Likes Received:
    0
    Thanks for the explaination Morthy.
    I guess i'll have to go and spend quite a bit of time changing everything i wrote then :(
     
  7. Morthy

    Morthy Community Manager Tribal Wars Team

    Joined:
    Jul 5, 2006
    Messages:
    5,788
    Likes Received:
    48
    Just use the 'replace' function in any popular text editor.

    Replace 'graphic/' with 'http://en17.tribalwars.net/graphic/'
     
  8. Robertodean

    Robertodean New Member

    Joined:
    Mar 1, 2009
    Messages:
    5
    Likes Received:
    0
    BB Codes and Url

    How do i get the codes for the pictures where my new legal scripts go, ?
     
  9. servy

    servy All Over the Board

    Joined:
    Mar 7, 2007
    Messages:
    12,944
    Likes Received:
    1
    use whatever you want, or none at all, that's up to you.