WikkaWiki

Update: December 24th, 2009
  1. Download the latest version here.
  2. 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.
  3. Upload the wowhead directory to the base directory of your WikkaWiki installation.
  4. Upload wowhead.css and armory.css to the css directory of your installation.
  5. Open libs/Wakka.class.php
    • Find:
      $content_body = $this->Method($this->method);
      print($this->Header().$content_body.$this->Footer());
      				
    • After:
      $content_body = $this->Method($this->method);
      				
    • Add:
      if ($this->method != 'edit')
      {
      	require_once('wowhead/parse.php');
      	$content_body = whp_parse($content_body);
      }
      				
    • Save and close Wakka.class.php and reupload to your site.
  6. Open templates/header.php
    • Find:
      <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
      				
    • Immediately after add:
      <!-- Wowhead Item Links -->
      <link href="css/wowhead.css" rel="stylesheet" type="text/css" />
      <script src="http://www.wowhead.com/widgets/power.js"></script>
      <link href="css/armory.css" rel="stylesheet" type="text/css" />
      <script src="./wowhead/js/armory.js.php" type="text/javascript"></script>
      				
    • Save and close header.php and reupload to your site.
  7. That’s it, you’re done!
TOP