Advertisement:

Author Topic: Forum interprets address within [IMG] tags as [URL]  (Read 71728 times)

Offline VanKlomp

  • Newbie
  • *
  • Posts: 7
Forum interprets address within [IMG] tags as [URL]
« on: January 01, 2011, 05:25:48 PM »
When I try to post the following code, I am getting an error;

Code: [Select]
[url=http://www.gametracker.com/server_info/81.19.208.31:19567/][img]http://cache.www.gametracker.com/server_info/81.19.208.31:19567/b_560x95.png[/img][/url]
Preview works fine, and I see the image with the associated URL. However, when I post I get this;

Code: [Select]
[url=http://www.gametracker.com/server_info/81.19.208.31:19567/][img]http://cache.[url=http://www.gametracker.com/server_info/81.19.208.31:19567/b_560x95.png]www.gametracker.com/server_info/81.19.208.31:19567/b_560x95.png[/url][/img][/url]
You can clearly see where it's falling over, because of the http :// cache. at the start of the image URL.

Thanks

VK

kat

  • Guest
Re: Forum interprets address within [IMG] tags as [URL]
« Reply #1 on: January 01, 2011, 05:31:51 PM »
http://www.gametracker.com/games/cs/forum.php

If that's your forum, you won't get any help, here, until the SMF copyright's restored.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 69,298
    • StoryBB/StoryBB on GitHub
Re: Forum interprets address within [IMG] tags as [URL]
« Reply #2 on: January 01, 2011, 05:37:43 PM »
I don't think you'll find that's an SMF forum.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.


kat

  • Guest
Re: Forum interprets address within [IMG] tags as [URL]
« Reply #4 on: January 01, 2011, 05:44:04 PM »
So...

We're being asked to provide support for other forum software, now?

How odd...

Offline Nibogo

  • SMF Hero
  • ******
  • Posts: 6,662
  • Gender: Male
    • smfpacks on Facebook
    • @smfpacks on Twitter
    • SMFPacks
Re: Forum interprets address within [IMG] tags as [URL]
« Reply #5 on: January 01, 2011, 05:45:53 PM »
Nop, he's just reporting an issue when he try to post the bbcode showned in the first post, he isn't asking for support for that board

Offline Spoogs

  • SMF Hero
  • ******
  • Posts: 1,676
  • Gender: Male

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,098
  • Gender: Male
    • Kindred-999 on GitHub
Re: Forum interprets address within [IMG] tags as [URL]
« Reply #7 on: January 01, 2011, 07:02:25 PM »
???
Didn't I just go over this with someone

mostly, it's a problem with that website not using a standard url address format.

The problem is that smf interprets www as the START of a web address, so it is attempting to make the URL that is SEES into a link because that cache.www screws it up.


I honestly don't call this an actual SMF "bug" and I would prefer telling the stupid people who used that format of url to use a proper format.
« Last Edit: January 02, 2011, 12:39:11 AM by Kindred »
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline VanKlomp

  • Newbie
  • *
  • Posts: 7
Re: Forum interprets address within [IMG] tags as [URL]
« Reply #8 on: January 01, 2011, 11:24:09 PM »

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Forum interprets address within [IMG] tags as [URL]
« Reply #9 on: November 14, 2011, 08:50:19 AM »
Tested the code, works fine.


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.