PHP Fusion

Update: January 8th, 2010
  1. Download the latest version here.
  2. Unzip contents and edit config.php to your liking. Ensure that the MySQL settings are correct so that create_table.php will finish successfully.
  3. Upload the wowhead directory to the base directory of your PHP-Fusion installation.
  4. Upload wowhead.css to ./themes// where is the name of your theme.
  5. Open ./themes/templates/header.php and find
    echo "\n\n";
    		
    Immediately before add:
    echo "<!-- Wowhead Item Links -->\n";
    echo "<link href=\"" . THEME . "wowhead.css\" rel=\"stylesheet\" type=\"text/css\" />\n";
    echo "<script src=\"http://www.wowhead.com/widgets/power.js\"></script>\n";
    echo "<link href=\"" . THEME . "armory.css\" rel=\"stylesheet\" type=\"text/css\" />\n";
    echo "<script src=\"./wowhead/js/armory.js.php\" type=\"text/javascript\"></script>\n";
    		
    Save and close header.php and reupload to your site.
  6. Open ./includes/output_handling_include.php
    • Find:
      $fusion_page_replacements = "";
      Immediately before add
      include_once(BASEDIR . 'wowhead/parse.php');
    • Next find (should be the end of the file):
      return $output;
      }
      				
      Immediately before add:
      $output = whp_parse($output);
      				
    • Save and close output_handling_include.php and reupload to your site as necessary.
  7. You’re done, good job! =D
TOP