PDA

View Full Version : Dynamic Links in image codes?


Kamalya
03-27-2013, 04:21 PM
When people go to link their eggs on other sites they get an error because of this code: [url=http://seriousdragonadoptions.com/adopts/levelup.php?id=320][img]http://seriousdragonadoptions.com/adopts/siggy.php?id=320[img][url]

I took the / out so you can see it, but its the dynamic link in the image causing the problem, how would I change it to make it so it shows the image as the eggs id and not the dynamic link?

Hall of Famer
03-27-2013, 04:23 PM
umm are you using Mys v1.3.3? If so, you can look up the new url format from yoursite.com/myadopts/bbcode/adoptid.

Kamalya
03-27-2013, 04:24 PM
umm are you using Mys v1.3.3? If so, you can look up the new url format from yoursite.com/myadopts/bbcode/adoptid.

I havent changed from what I first installed, I think it was 1.3.0 my code is to far gone in the custom direction to upgrade.

Hall of Famer
03-27-2013, 04:25 PM
umm weird, if so you should not get any error messages. Mys v1.3.1's siggy works perfectly fine by default.

Kamalya
03-27-2013, 04:27 PM
umm weird, if so you should not get any error messages. Mys v1.3.1's siggy works perfectly fine by default.
No its the forums they post it in, its because the image is a dynamic link the specific forum does not let users post images with dynamic links.

Hall of Famer
03-27-2013, 04:31 PM
I see, I doubt there is a way to overcome this problem. What is the forumware you are using? As far as I know, VBulletin, MyBB have no issues with the dynamic siggy link.

Kamalya
03-27-2013, 04:34 PM
I see, I doubt there is a way to overcome this problem. What is the forumware you are using? As far as I know, VBulletin, MyBB have no issues with the dynamic siggy link.

I don't own the forum, its just one people like to post on. We have an "advertisement" thread over there.

But I think I need to change my image to a get one so it would read: www.seriousdragonadoptions/adopts/get/(id number).gif Or something like that.

Hall of Famer
03-27-2013, 04:36 PM
I see, this can be a problem... Tbh I dont have a solution for you now, but perhaps hardcode the image link will solve the issue.

Kamalya
03-27-2013, 04:38 PM
I see, this can be a problem... Tbh I dont have a solution for you now, but perhaps hardcode the image link will solve the issue.

I think I know what to do, I am going to try to change

[img]http://{$domain}{$scriptpath}/siggy.php?id={$row->aid}[img]

To

[CODE][img]http://{$domain}{$scriptpath}/get/{$row->aid}.gif[img][CODE]

It may or may not work though :angrybracket:

Hall of Famer
03-27-2013, 06:01 PM
Yeah it may or may not work, I wish you best luck finding this out.