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 - Page 2 EmptyNew BBCode: Card Link

more_horiz
First topic message reminder :

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 - Page 2 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 - Page 2 EmptyRe: New BBCode: Card Link

more_horiz
Chrome > Mozila

descriptionNew BBCode: Card Link - Page 2 EmptyRe: New BBCode: Card Link

more_horiz
Wow, this is really good. Thanks Amy.

descriptionNew BBCode: Card Link - Page 2 EmptyRe: New BBCode: Card Link

more_horiz
Eh, the mozilla would need a fix then? lol. I still believe google has some evil plans disrupting firefox! yall mindeffed (irate censored my fav word so yeah, adapt to "effing").

descriptionNew BBCode: Card Link - Page 2 EmptyRe: New BBCode: Card Link

more_horiz
Effing Irate.

descriptionNew BBCode: Card Link - Page 2 EmptyRe: New BBCode: Card Link

more_horiz
Fuck me, right?
Deal with the power of regular expressions poor forumotion deals without and watch in awe.

descriptionNew BBCode: Card Link - Page 2 EmptyRe: New BBCode: Card Link

more_horiz
um irate, you could of make it work in chatbox too Razz (be pro)

descriptionNew BBCode: Card Link - Page 2 EmptyRe: New BBCode: Card Link

more_horiz
I could, maybe, maybe not.

descriptionNew BBCode: Card Link - Page 2 EmptyRe: New BBCode: Card Link

more_horiz
That's indeed a pro thing O:
good job Wink

descriptionNew BBCode: Card Link - Page 2 EmptyRe: New BBCode: Card Link

more_horiz
thanks a lot Rss, although we got serious bug hindering us from its use yet lol. Bug is so pro one could think it uses HAKI on us LOL.

descriptionNew BBCode: Card Link - Page 2 EmptyRe: New BBCode: Card Link

more_horiz
I get the joke, but Haki doesn't hinder, instead it paralysis those of weak will.

descriptionNew BBCode: Card Link - Page 2 EmptyRe: New BBCode: Card Link

more_horiz
I'd suggest a cake as a salutation to all the problems!

descriptionNew BBCode: Card Link - Page 2 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