Extension:FanBoxes

FanBoxes extension adds a new way of creating and using userboxes, based on special pages. When installed, three new special pages will be added: Special:UserBoxes (to create new userboxes), Special:TopUserBoxes (to view most popular ones) and Special:ViewUserBoxes (to view all userboxes). It also adds &lt;userboxes&gt; and &lt;fan&gt; parser hooks (TODO: document). Both of these parser hooks disable parser cache.

FanBoxes requires SocialProfile extension and YUI (YUI is used only for the color picker feature on Special:UserBoxes; the YUI files are loaded from Yahoo!'s servers).

Dependencies

 * SocialProfile extension
 * YUI
 * New database tables: fantag and user_fantag

Installation

 * 1) Dump the files into $IP/extensions/FanBoxes
 * 2) Create the three required database tables (see fantag.sql for the schemas); the best way to do this is to re-run the MediaWiki updater script, update.php, via command line
 * 3) Add require_once("$IP/extensions/FanBoxes/FanBox.php"); into the wiki's LocalSettings.php
 * 4) Installation can now be verified through the wiki's Special:Version

Parameters

 * $wgFanBoxDirectory &mdash; path to extension files. Defaults to "$IP/extensions/FanBoxes".
 * $wgFanBoxScripts &mdash; web-readable path to FanBox files (used to fetch CSS & JS). Defaults to $wgScriptPath . '/extensions/FanBoxes'.
 * $wgFanBoxPageDisplay['comments'] &mdash; should we display comments on FanBox pages? Defaults to true</tt> (for now, anyway). Requires Extension:Comments.

TODO list

 * 1) Should be rewritten to use jQuery color picker one day
 * 2) .imageUpload-frame { height: 70px; }</tt> in FanBoxes.css is bad when $wgAllowCopyUploads = true;