FF Item Links

MyCode plugin for MyBB forum software

(See also: WoW Item Links)

This plugin allows posts to contain MyCode that will automatically query and link to Final Fantasy Online items and more, complete with mouseover tooltips. Posts may specify by object # or name and they will be transformed into links that are properly formatted and coloured.

Currently the plugin itself is English-only, but there is a language setting for which language you wish your results to be in.

Posts containing [item]Bronze Dagger[/item] would render it as Bronze Dagger. This could also be inserted by [item]4030101[/item] which is useful when items with similar names but different stats are needing to be linked.

There are MyCodes to support items and more, the full list is: item, recipe, skill, npc, quest, guildleve. (FFXI only supports item.) These can be customized if needed in the source function ffitem_parse.

Downloads

Requirements

Installation

  1. Upload ffitem.php to the inc/plugins directory of your MyBB installation.
  2. From the Admin panel, go to Configuration and then Plugins.
  3. Install and Activate the plugin.

Configuration

The settings for the plugin can be found in the Board Settings group FF Item Links.

Item Database
Choose a provider for item data. Currently supports Yellow Gremlin FFXI and FFXIV.
Enable Cache
Allows you to store the data needed to generate the links in your forum database. If the provider goes down, your links will not be affected.
Language
The language that will be queried for, names and tooltips will be in this.
Display Style
Links can be displayed as regular or include an icon. Optionally, the link can be only the icon.
Cache Refresh
After this many minutes the cached data will be considered stale and the plugin will query the provider again. If set to 0 then the cached items will not be queried for again.

Further modifications (such as changing the MyCode tags that are parsed) can be done in the PHP code directly.

Distribution

FF Item Links is Copyright © 2009 Daniel Major and is distributed under the zlib license.

You are free to use and modify this software but if you make changes please let me know so that I may consider including them in the official release. Please do not redistribute your own version of this plugin, help the official one to improve instead.