vBulletin
Update: January 8th, 2010
Many thanks go out to Rob for allowing me to use his vBulletin install
- Download the latest version here.
- Unzip the contents and edit config.php to your liking. Ensure that the MySQL settings are correct so that create_table.php will finish successfully.
- Upload the wowhead directory to the base directory of your vBulletin installation, being sure to keep the directory structure intact.
- Upload wowhead.css and armory.css to the directory of your theme.
- Open includes/class_bbcode.php located relative to your vBulletin base directory.
- Find:
/** * BB code parser's start state. Looking for the next tag to start. */ define('BB_PARSER_START', 1);Immediately BEFORE add:/** * Wowhead Tooltips */ include_once(DIR . '/wowhead/parse.php');
- Then Find (somewhere around line 671):
/** * Parse an input string with BB code to a final output string of HTML * * @param string Input Text (BB code) * @param bool Whether to parse smilies * @param bool Whether to allow HTML (for smilies) * * @return string Ouput Text (HTML) */ function parse_bbcode($input_text, $do_smilies, $do_html = false) { return $this->parse_array($this->fix_tags($this->build_parse_array($input_text)), $do_smilies, $do_html); }Immediately BEFORE:return $this->parse_array($this->fix_tags($this->build_parse_array($input_text)), $do_smilies, $do_html);
Add:$input_text = whp_parse($input_text);
Save includes/class_bbcode.php and reupload to your site.
- Find:
- Add the calls to wowhead.css, armory.css, armory.js.php, and http://www.wowhead.com/widgets/power.js to the <head></head> section of your theme’s header. More detailed instructions coming soon.
- Enjoy all the hard work you’ve done.





















































