• deckbox.org
  • Login(Sign up)
  • Forum
  • Help
  • People
  • Card Database
    • Magic The Gathering
    • Warhammer Invasion
    • World Of Warcraft
  • Decks
    • Magic The Gathering
    • Warhammer Invasion
    • World Of Warcraft
 
Having login problems?
For any persistent problem, please send a mail to support@deckbox.org, I'll contact you as soon as I can.
Forgot your password? Please fill in your email and click . Or maybe you signed up and did not receive an activation mail? Then click (and don't forget to also check your spam folder).
  • Help
    • Getting started
    • Deck building
    • Trading
    • Card tooltips (for your site)
    • PhpBB forum
    • MyBB forum
    • Invisionfree forum
    • Myfreeforum forum
    • Zetaboards forum
    • Communities

Tooltips

To provide card tooltips for your site users, add the following code anywhere in your HTML:
<script src="http://deckbox.org/javascripts/bin/tooltip.js"></script>

Then all links on your pages to cards on deckbox.org will automatically get a nice tooltip like these: Nicol Bolas, Planeswalker, Saltwater Snapjaw, Clan Moulder's Elite. I would have liked the tooltips to use the card image for World of Warcraft as well, but sadly there are no official digitized decent quality images provided by the Upper Deck Company, so I have to use the text description.

Wordpress

The MtG plugin adds a button in the visual post editor. To use it, just select the text that represents a Magic the Gathering card name and click the button. The card name will be enclosed in [mtg_card][/mtg_card] tags. When viewing the post, the card name will show up as a link to the card's page on http://deckbox.org . Hovering over the link will show the card's image in a tooltip.

A similar tag can be used to quickly create deck listings: [mtg_deck][/mtg_deck]. A deck listing should contain a list of cards and categories. All cards have a number before their name. All other lines are interpreted as category names. Do *not* include card numbers on the category name lines, they will automatically be computed and displayed by the plugin. A short example follows.

    [mtg_deck title="Really Small Deck"]
        Creatures
        2 Bloodbraid Elf
        4 Grizzly Bears

        Spells
        4 Lightning Bolt

        Sideboard
        4 Cultivate
    [/mtg_deck]
The World of Warcraft plugin works the same, only the tag names use 'wow' instead of 'mtg'. Both plugins can be installed at the same time, and both are compatible with their previous versions as well.

You can download them from the wordpress plugin directory: Magic the Gathering, World of Warcraft.

Too see an example wordpress post with tooltips, check out the 60cards Magic blog.


Joomla CMS

Deckbox has its own Joomla plugin, that works across all your CMS's pages, including posts in forum extensions such as Kuena. Get the plugin here: mtgtooltip.zip

The syntax for creating a card link is:

{mtg Lightning Bolt}
This also works for multiple-line card listings such as:
{mtg
     2 Black Lotus
     2 Taiga
}


Forum plugins

The plugins all add a couple of tags that users can use when editing posts. If you use a [mtg][/mtg], [wow][/wow] or [whi][/whi] bbcode tag, the card name between then will be automatically turned into a tooltiped link (if you have many card names, each on a separate line, all of them will be turned into links).

[mtg]
Baneslayer Angel
Naturalize
Terminate
[/mtg]
[wow]Spectral Tiger[/wow]
[whi]Clan Moulder's Elite[/whi]
turns into Baneslayer Angel
Naturalize
Terminate
Spectral Tiger
Clan Moulder's Elite

PunBB

The bbcode plugin is here: pun_deckbox There's also a modified bbcode buttons plugin that adds a nice mtg and wow button on the compose post page here: pun_deckbox_bbcode

vBulletin

I have created a vBulletin plugin for Magic the Gathering that adds a [cards] tag and a mtg "cards" icon on the edit post page. You can see how the tooltips work on the mtgthesource.com forums. Get the xml plugin file here: download linky.

PhpBB, MyBB, Invisionfree, Myfreeforum

PhpBB forums, as well as the free forum hosting services of http://www.invisionfree.com and http://www.myfreeforum.org do not support full plugins or extensions, so we have to come up with some workarounds :). I have put together visual how-tos for enabling card tooltip links, and easy deck listings for each of them:

  • PhpBB
  • MyBB
  • Invisionfree
  • Myfreeforum
  • Zetaboards

Others

If you are using a different forum software and you want to include the tooltips, please send me an email at admin@deckbox.org, I'll help you integrate it.

© 2009-2012 deckbox.org. Images, logos, and product names are © and ™ by their respective owners (Blizzard, The Upper Deck Company, Wizards of the Coast, Fantasy Flight Games)