TooltipsTo 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. WordpressThe 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.
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 CMSDeckbox 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}{mtgForum pluginsThe 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).
PunBBThe 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 PhpBB, MyBB, Invisionfree, MyfreeforumPhpBB 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: OthersIf 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. |