[N/A][MP3] Relative links in Manialinks dont work

Moderators: w1lla, NADEO

Post Reply
User avatar
askuri
Posts: 284
Joined: 18 Oct 2011, 15:01
Location: Germany

[N/A][MP3] Relative links in Manialinks dont work

Post by askuri » 02 May 2014, 14:20

Manialinks I made months ago don't work anymore properly.
Example:

Code: Select all

<quad posn="0 0 -25" sizen="200 140" image="./images/bg.png" halign="center" valign="center" />
MP doesnt recognize it's a relative URL and tries to open http://./images/bg.png. I dont know why but it ends up in an 403 Error and strangely in the response header is Apache server noted, which is my Manialink's server.
Other Manialinks got the same problem and restarting MP didnt help.
OS: Win 7 32 Bit
ManiaCDN.net: the new free hoster for your custom content

Specs: i5 6600K; MSI Z170A Gaming Pro; 2x8GB Crucial DDR4 2133MHz; Intel HD Graphics 530; Linux Mint & Windows 10 Home

User avatar
noyranea
Nadeo
Nadeo
Posts: 187
Joined: 29 Apr 2014, 14:50
Location: Paris, France

Re: [MP3] Relative links in Manialinks dont work

Post by noyranea » 02 May 2014, 14:48

I looked for the reason of your problem, and you're right : your Url becomes http://images/bg.png.
Actually, if you do not write which protocol has to be used, your Url is set by default as an http:// Url.

I advice that you use "file://Media/Images/bg.png" and that you put your image in the Media/Images folder of your Maniaplanet install (or in your title pack if your manialink is to be displayed on other computers).

Maybe Gugli can tell you more about this later.

Hope it helps,
noyranea
Last edited by noyranea on 02 May 2014, 14:51, edited 1 time in total.

User avatar
TMarc
Posts: 15035
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: [MP3] Relative links in Manialinks dont work

Post by TMarc » 02 May 2014, 14:50

As workaround, can you place the images to a webserver?
maniaplanet forum global moderator

Link list with FAQ, Support, Wiki, Tutorials, Community activities, and much more.

System specs: Intel i7-970 12GB RAM, nVidia RTX 2060 6GB, Creative SB X-Fi, 2xSSD 1xHDD

Fadden
Posts: 172
Joined: 10 May 2011, 18:21
Contact:

Re: [MP3] Relative links in Manialinks dont work

Post by Fadden » 04 May 2014, 10:57

Indeed, relative links don't work it's very annoying. (And quite ugly on a lot of manialinks... :? )
Elle est où la poulette ?
[url=htp://forumrocket.forumactif.fr]Team Rocket[/url]

User avatar
kripkee
Posts: 935
Joined: 21 Jun 2010, 14:04

Re: [MP3] Relative links in Manialinks dont work

Post by kripkee » 16 May 2014, 09:26

My Manialink is ugly now and that is annoying :!:

User avatar
kripkee
Posts: 935
Joined: 21 Jun 2010, 14:04

Re: [MP3] Relative links in Manialinks dont work

Post by kripkee » 22 May 2014, 15:09

Yeah, the most manialinks are normal now :D

konte
Posts: 236
Joined: 15 Jun 2010, 12:36
Location: Germany

Re: [MP3] Relative links in Manialinks dont work

Post by konte » 27 Jun 2014, 13:16

Relative links starting by ./ have been fixed, but not those starting by ../
There's an easy workaround, you can just write ./../ instead, but it would be nice, if this is going to be fixed too :)

Post Reply

Return to “Maniaplanet Reports”

Who is online

Users browsing this forum: No registered users and 0 guests