Enables card images to show on mouseover for Magic the Gathering cards.
deckbox.org provides a javascript utility that enables links to its Magic the Gathering card pages to automatically show card image tooltips on hover. For more information see the tooltips integration page.
This IPBoard plugin provides the bbcode tag [cards] that turns a simple card list
into links to card pages.
This branch works on ipboard versions newer than 3.4. For older versions please check the instructions in the branch ipboard_before_3.4.
-
Download the zipfile distribution of this addon.
-
In your IPBoard admin panel go to
Look and Feel -> Post Content -> BBCode Management. At the bottom of the page in theImport new BBCodessection upload thebbcode.xmlfrom the zipfile. -
Upload the file
mtg_tooltips.phpto your forum installation in the folderadmin/sources/classes/text/parser/bbcode/. -
Go to
Look and Feel -> Manage Skin sets and Templates. Edit the fileGlobal Templates / includeJSand paste the following code at the bottom of it:<script src="http://deckbox.org/javascripts/bin/tooltip.js"></script> -
There is no step 5! After installing, use the
[cards]bbcode to surround MtG card names or deck lists in your posts. The tags[c]and[card]are valid aliases and work the same as[cards].
Follow these steps if you already have this plugin installed and you want to upgrade to a newer version:
-
Download the new zipfile from the link at Installation / Step 1.
-
In
Look and Feel -> Post Content -> BBCode Managementdelete the BBCode calledMagic the gathering Cardsand re-upload the new bbcode.xml file. -
Re-upload
mtg_tooltips.phpas explained in Installation / Step 3.
If you run into problems installing or using the plugin, please contact support@deckbox.org.
If you would like to contribute, I will gladly accept pull requests. I spent some time trying to figure out how to package this as an uploadable plugin / application for IPBoard but i have not managed to find a proper documentation for it. If anyone would like to try their hand at it, I'll be glad to repackage.