Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Dynamic Links in image codes? (http://www.mysidiaadoptables.com/forum/showthread.php?t=4077)

Kamalya 03-27-2013 04:21 PM

Dynamic Links in image codes?
 
When people go to link their eggs on other sites they get an error because of this code:
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

Quote:

Originally Posted by Hall of Famer (Post 26504)
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

Quote:

Originally Posted by Hall of Famer (Post 26507)
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

Quote:

Originally Posted by Hall of Famer (Post 26510)
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: [img]www.seriousdragonadoptions/adopts/get/(id number).gif[/img] 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

Quote:

Originally Posted by Hall of Famer (Post 26512)
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

Code:

[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.


All times are GMT -5. The time now is 09:39 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.