Email Address:
Password:
Forgot Password?
Advanced Search
Active Players on Sylestia
Category Total Yesterday
Players 2,411 375
Sylestia Pet Data
Category Total Yesterday
Pets 8,241,199 1,270
Generated 656,170 19
Captured 1,190,409 63
Bred 6,394,525 1,188
Statistics updated daily at midnight
Forum Index > Bug Reporting > Photos linking
Page 1  
Author Thread Post
Limor
Level 72
The Kind-Hearted
Joined: 7/5/2016
Threads: 293
Posts: 19,132
Posted: 6/1/2018 at 12:36 AM Post #1
So in my RP thread I am having a great problem linking images. All the images have the correct URL's but are linking to the wrong photo (What ever photo is linked above them in the thread)

For example:
Under the one link (Dean's) it has this URL in the code:
https://i.pinimg.com/originals/36/c9/bf/36c9bf01f11edb7e45057b10026eb08f.jpg

but if you click on it it links to this photo:
https://img0.etsystatic.com/201/1/7914589/il_340x270.1229203720_tdel.jpg

I don't know what's wrong but the majority of the urllinks are like this. If you could fix this it would be highly appreciated!

Here is the post in question:
https://www.sylestia.com/forums/?thread=60846&page=1#5
Krinadon
Level 75
Shadow of the Moon
Site Administrator
Joined: 12/17/2012
Threads: 1,119
Posts: 14,687
Posted: 6/1/2018 at 10:07 AM Post #2
It was because you had the same link twice at the bottom and even though at a quick glance the text was the same, it was doing that thing where it breaks links with repeated destination URLs.

I went ahead and just added a "#2" to the end of the second link so it was unique and now it should be fixed.
Limor
Level 72
The Kind-Hearted
Joined: 7/5/2016
Threads: 293
Posts: 19,132
Posted: 6/1/2018 at 4:17 PM Post #3
Ahh thank you, I was getting the TEMPERLINKPLACE glitch (or smth) and usually I just link something at the bottom to remove it
Limor
Level 72
The Kind-Hearted
Joined: 7/5/2016
Threads: 293
Posts: 19,132
Posted: 6/1/2018 at 4:18 PM Post #4
Hmm also just checked and now the links above it are messed up as well.
Krinadon
Level 75
Shadow of the Moon
Site Administrator
Joined: 12/17/2012
Threads: 1,119
Posts: 14,687
Posted: 6/1/2018 at 4:41 PM Post #5
You have the same URL link for Eddy and Delilah. I went and added a #1 and #2 to them to make them different and it should be good now.
Limor
Level 72
The Kind-Hearted
Joined: 7/5/2016
Threads: 293
Posts: 19,132
Posted: 6/1/2018 at 4:49 PM Post #6
Ahh tysm, so if I ever link the same thing twice I should add numbers to them?
Krinadon
Level 75
Shadow of the Moon
Site Administrator
Joined: 12/17/2012
Threads: 1,119
Posts: 14,687
Posted: 6/1/2018 at 4:58 PM Post #7
Basically, yea. # are called anchors/tags and they almost will never affect links. There are other things you can do too if it's not picture links and if it already has an anchor in the link. You can instead just inject random URL variables into the link like "www.sylestia.com?hello=1&thisisavariable=2". Unless you hit the lottery and happen to actually write something that the destination url parses lol, it won't affect anything at all and works to circumvent the bug.

What happens is....

The code runs through and finds all the url tags first and removes them for scrubbing (cleaning for malicious uses, etc). So it saves all this and puts it aside and replaces it with the "TEMPLINK" thing.

Once scrubbed and other tasks are done, it then goes back and tries to add them back based on their inner text. It assumes that any same destination URL will utilize the same text. So if it doesn't, it breaks and can never paste it back and thus just everything gets all jumbled and messed up.

It's 100% a bug and 100% needs to be fixed. It just would require me completely rewriting the logic for it and I just have never gone and done that yet.
Edited By Krinadon on 6/1/2018 at 4:59 PM.
 
This Page loaded in 0.009 seconds.
Terms of Service | Privacy Policy | Contact Us | Credits | Job Opportunities
© Copyright 2011-2024 Sylestia Games LLC.
All names and logos associated with Sylestia are Trademarks of Sylestia Games LLC.
All other trademarks are the property of their respective owners.
For questions, comments, or concerns please email at Support@Sylestia.com.