Duel Academy
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Duel Academy Log in

Get your game on!


New BBCode: Card Link

power_settings_newLogin to reply
+5
BlackWarGreymon
Bubbles
Anzo
! High Dutchman Gianus
Amy Kool
9 posters

descriptionNew BBCode: Card Link EmptyNew BBCode: Card Link

more_horiz
Hello DA lovely members! Today I present you something you might know from TCGPlayer. When you hover a card link there, the image preview pops up. Of course that is easy in TCGPlayer, they got whole database of cards, but we don't have that luck. However, a little amount of brain cells, simple coding skills and being admin in DA allows one to make very similar thing, in fact same at the end.

I created a new bbcode named Card Link which you can see with this icon: New BBCode: Card Link Cardba10in the last group of bbcode icons in your editor.

So, how do we use this bbcode?

It is very simple, I coded so that you don't have to mistype anything lol. When you click on the Card Link button, it will open up a form asking you the URL and CARD NAME. You insert the link of your image, give your link a name by which it will appear in post and hit Insert Card button.

Now, a example I will use following information:

Code:

URL: http://images4.fanpop.com/image/photos/17600000/Yu-GI-Oh-cards-yu-gi-oh-17637125-400-580.jpg
CARD NAME: Dark Magician Girl


The output is like this:

[card="http://images4.fanpop.com/image/photos/17600000/Yu-GI-Oh-cards-yu-gi-oh-17637125-400-580.jpg"]Dark Magician Girl[/card]

To preview the image, just hover over above link and the magic appears :D

Notice: The image preview has default dimentions which you cannot change, for the sake of not abusing the feature and using it just for previewing the cards. Dimensions are: 220x319 pixels. If your image is less size, it will be stretched to fit; same goes if its larger, it will be shrinked to fit.

I hope you like this addition. I developed this idea long time ago, some people might know it from DHQ site I've run, we had it there too.

Cool Dance 

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
Nice job Amy!

Although I prefer some other codes over this one..

Code:

[url=WIKIA_URL_OF_THE_CARD]Card Name[/url]
And

Code:

[url=WIKIA_URL_OF_THE_CARD][img]IMG_URL_OF_THE_CARD[/img][/url]
But maybe I can learn to love this one..

Maybe we can even combine the url and this code to give us both the hovering and the linking to its wikia Oh Shit

I'll try that..

Last edited by ! Gianus on Thu Aug 15, 2013 12:05 am; edited 2 times in total

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
I remember Potus suggesting something similar when you created DA's Card Checker. That was a code that searched for that card in YGO Wikia, while we don't have to do anything on DA. Is it similar to that?

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
Ah I was going to make the "evil tcg/ocg checker code" (the most evil code I used ever!) forgotten and abandoned but you have called it and now its too late!

~give me few mins....

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
"give me few minutes" so i wasn't late after all huh New BBCode: Card Link 1151057309

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
~few mins passed.

Kuriboh

[card="http://images1.wikia.nocookie.net/__cb20121005003643/yugioh/images/thumb/f/fb/Sangan-LCYW-EN-ScR-1E.jpg/300px-Sangan-LCYW-EN-ScR-1E.jpg" link="http://yugioh.wikia.com/wiki/Sangan"]Sangan[/card]

Number 107: Galaxy-Eyes Tachyon Dragon


Now you just have to input a name and don't worry about anything else.... LOL. No links, no finding pics on the net for your card etc, just THE FREAKING FULL NAME OF THE CARD!

PS I noticed sometimes, some images do not load, but this is still in beta phase.

PS2 I noticed that if you do it very quickly it might happend that code does not take the links in time, so if you see the link did not appear in your editor, then try again until it appears.

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
PS3 I freaking added that links open in new tab instead of screwing with you. From this post, all new links will work like that.

[card="http://images1.wikia.nocookie.net/__cb20130703152619/yugioh/images/thumb/8/84/MonsterReborn-BP02-EN-R-1E.png/300px-MonsterReborn-BP02-EN-R-1E.png" link="http://yugioh.wikia.com/wiki/Monster_Reborn"]Monster Reborn[/card]

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
HOW DO YOU LIKE IT NOW BITCHEZ, DO YOU HAVE ANY COMPLAINTS NOW!!!! ARE YOU WORDLESS?????? I SAID IT WAS THE EVIL CODE BUT YOU DIDN'T LISTEN!

[card="http://images1.wikia.nocookie.net/__cb20121005224735/yugioh/images/thumb/f/fc/TheSealofOrichalcos-LC03-EN-UR-LE.png/300px-TheSealofOrichalcos-LC03-EN-UR-LE.png" link="http://yugioh.wikia.com/wiki/The_Seal_of_Orichalcos"]The Seal of Orichalcos[/card]

Last edited by Amy Kool on Thu Aug 15, 2013 1:54 am; edited 1 time in total

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
amy u op

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
[card="http://images1.wikia.nocookie.net/__cb20121005224735/yugioh/images/thumb/f/fc/TheSealofOrichalcos-LC03-EN-UR-LE.png/300px-TheSealofOrichalcos-LC03-EN-UR-LE.png" link="http://yugioh.wikia.com/wiki/The_Seal_of_Orichalcos"]The Seal of Orichalcos[/card]

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
[card="http://images1.wikia.nocookie.net/__cb20121005224735/yugioh/images/thumb/f/fc/TheSealofOrichalcos-LC03-EN-UR-LE.png/300px-TheSealofOrichalcos-LC03-EN-UR-LE.png" link="http://yugioh.wikia.com/wiki/The_Seal_of_Orichalcos"]The Seal of Orichalcos[/card]

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
HOW DO YOU LIKE IT NOW EZ, DO YOU HAVE ANY COMPLAINTS NOW!!!! ARE YOU WORDLESS?????? I SAID IT WAS THE EVIL CODE BUT YOU DIDN'T LISTEN!

[card="http://images1.wikia.nocookie.net/__cb20121005224735/yugioh/images/thumb/f/fc/TheSealofOrichalcos-LC03-EN-UR-LE.png/300px-TheSealofOrichalcos-LC03-EN-UR-LE.png" link="http://yugioh.wikia.com/wiki/The_Seal_of_Orichalcos"]The Seal of Orichalcos[/card]

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
I still need to find out why sometimes it does not load the link....

[card="http://images1.wikia.nocookie.net/__cb20121005224735/yugioh/images/thumb/f/fc/TheSealofOrichalcos-LC03-EN-UR-LE.png/300px-TheSealofOrichalcos-LC03-EN-UR-LE.png" link="http://yugioh.wikia.com/wiki/The_Seal_of_Orichalcos"]The Seal of Orichalcos[/card]

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
The Seal of Orichalcos[card="http://images1.wikia.nocookie.net/__cb20121005224735/yugioh/images/thumb/f/fc/TheSealofOrichalcos-LC03-EN-UR-LE.png/300px-TheSealofOrichalcos-LC03-EN-UR-LE.png" link="http://yugioh.wikia.com/wiki/The_Seal_of_Orichalcos"]The Seal of Orichalcos[/card]

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
How do i like it now?!! [card="http://images1.wikia.nocookie.net/__cb20121005224735/yugioh/images/thumb/f/fc/TheSealofOrichalcos-LC03-EN-UR-LE.png/300px-TheSealofOrichalcos-LC03-EN-UR-LE.png" link="http://yugioh.wikia.com/wiki/The_Seal_of_Orichalcos"]The Seal of Orichalcos[/card]

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
How do i like it now? [card="http://images1.wikia.nocookie.net/__cb20121005224735/yugioh/images/thumb/f/fc/TheSealofOrichalcos-LC03-EN-UR-LE.png/300px-TheSealofOrichalcos-LC03-EN-UR-LE.png" link="http://yugioh.wikia.com/wiki/The_Seal_of_Orichalcos"]The Seal of Orichalcos[/card]

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
How do i like it now? [card="http://images1.wikia.nocookie.net/__cb20121005224735/yugioh/images/thumb/f/fc/TheSealofOrichalcos-LC03-EN-UR-LE.png/300px-TheSealofOrichalcos-LC03-EN-UR-LE.png" link="http://yugioh.wikia.com/wiki/The_Seal_of_Orichalcos"]The Seal of Orichalcos[/card]

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
How do i like it now? [card="http://images1.wikia.nocookie.net/__cb20121005224735/yugioh/images/thumb/f/fc/TheSealofOrichalcos-LC03-EN-UR-LE.png/300px-TheSealofOrichalcos-LC03-EN-UR-LE.png" link="http://yugioh.wikia.com/wiki/The_Seal_of_Orichalcos"]The Seal of Orichalcos[/card]

[card="http://images2.wikia.nocookie.net/__cb20121003160147/yugioh/images/thumb/6/6e/Kuriboh-LCYW-EN-SR-1E.jpg/300px-Kuriboh-LCYW-EN-SR-1E.jpg" link="http://yugioh.wikia.com/wiki/Kuriboh"]Kuriboh[/card]

[card="http://images1.wikia.nocookie.net/__cb20121005003643/yugioh/images/thumb/f/fb/Sangan-LCYW-EN-ScR-1E.jpg/300px-Sangan-LCYW-EN-ScR-1E.jpg" link="http://yugioh.wikia.com/wiki/Sangan"]Sangan[/card]



dfgdfgdfg

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
Stop spamming.

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
How is this looking

[card="http://images2.wikia.nocookie.net/__cb20120207082932/yugioh/images/thumb/6/67/DarkArmedDragon-SDDC-EN-C-1E.jpg/300px-DarkArmedDragon-SDDC-EN-C-1E.jpg" link="http://yugioh.wikia.com/wiki/Dark_Armed_Dragon"]Dark Armed Dragon[/card]

Good job Amy Smile

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
Thanks but it still needs this bug fixing. sometimes the link does not appear.

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
All the posts you made with links are appearing to me, maybe it's something with your PC or connection.

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
even greymons and my sangan, last one? lol

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
yea, all of them.

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
Absolutely everything is visible to me as well.

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
^I'm not the only one.

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
lol browsers?

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
It's working on chrome for me

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
Chrome.

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
some dont work for mozilla

descriptionNew BBCode: Card Link EmptyRe: New BBCode: Card Link

more_horiz
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum
power_settings_newLogin to reply