Ive been looking for wowhead support for itemstats ever since allakhazam support stopped working for our guild site. This mod will allow your itemstats to create tooltips using wowhead that look like wowhead tooltips. Currently the mod has the following features:
- Create tooltips using wowhead as the data source.
- Tooltips resemble wowhead.com's tooltips.
- Automatic downloading of icon images when creating tooltips.
You can see it in action on our forum and 25 man dkp pages: http://www.sinisters-guild.net and http://www.sinisters-guild.net/dkp25/
Current Version
The latest version of this mod is 0.3.10, this mod is still BETA.
Version History
0.3.10 (19/04/2008)
- updated the wowhead icon location.
0.3.9 (04/09/2007)
- fixed a bug occuring on incorrect item names.
0.3.8 (03/09/2007)
- fixed a bug which incorrectly displayed tooltips which had tooltips in them.
0.3.7 (02/09/2007)
- updated compatibility with the wowhead search engine.
0.3.6 (23/08/2007)
- fixed a bug in the wowhead.css, causing tooltips aligning to the right.
- fixed the wowhead icon bug with the suggestion of mikeycanuck.
0.3.5 (12/06/2007)
- fixed tooltip templates
0.3.4 (11/06/2007)
- improved compatability with other theme's
- added transparent tooltips
- improved vBulletin support
0.3.3 (05/06/2007)
- right aligning fixed (Thanks to Nadas)
0.3.2 (05/06/2007)
- autodownloading files now uses cURL, fopen or fsockopen.
- some css fixes for conflicting theme css files
0.3.1 (05/06/2007)
- some css fixes for conflicting theme css files
0.3.0 (05/06/2007)
- automatic icon downloading
- support for requests by item id
0.2.1 (04/06/2007)
- (hopefully) less conflicting css
0.2.0 (01/06/2007)
- custom popup template
0.1.1 (01/06/2007)
- xml parser bug in PHP4 fixed
0.1.0 (31/05/2007)
- retrieves item info from wowhead
Disclaimer:
This mod is still beta, and could have problems with your specific website. Make sure to make backups before installing just to be sure. Detailed bug reports are also greatly appreciated.
Browser support:
Tested on:
- Firefox
- Opera
- Konqueror
- Internet Explorer 6
- Internet Explorer 7
- Firefox
- Opera
- Konqueror
- Internet Explorer 7
- Internet Explorer 6
The mod was written for itemstats 1.5.5.
Known bugs/problems:
- Tooltips aren't transparent in IE6 because IE6 doesnt support transparent png.
- itemico tags do not show an icon border.
- Misplaced or oddly looking tooltips due to conflict with other css files.
When reporting bugs (in this topic or by PMing me) please add as much info about your situation as possible. Useful facts for me to know are:
- What you are using itemstats for (eqdkp/phpBB/wordpress/etc).
- In what browser the bug occures.
- PHP version.
- Webserver type (Apache/IIS/etc) and version.
- Itemstats language.
This mod does not only provide a parser so you can use wowhead as an info site. It also provides tooltips that look like the tooltips wowhead uses. You can decide to not use wowhead as the info site, but still generate tooltips that look like wowhead tooltips.
Using multiple info sites:
While you can generate tooltips that look like wowhead tooltips using other info sites, you cannot use the wowhead info site together with another info site (ie. Thottbot). The reason why the tooltips generated by the wowhead info site don't mix with tooltips generated by other info sites is simple: wowhead uses different filenames for its icons than thottbot and allakhazam. Therefor it will be hard to mix the tooltips using the same icon store location. Until there is an easy way to download the icons wowhead uses (ie. like the allakhazam icon pack) it will be hard to mix info sites.
Languages:
This mod only creates english tooltips.
Installation:
Follow these steps to setup wowhead support for your itemstats installation:
- Backup your itemstats files.
- Backup your item_cache table.
- Copy the files in the itemstats_wowhead/itemstats/ folder to your itemstats root folder.
- Your config_itemstats.php file has been changed, check if its settings are still correct. Note that wowhead support mod can only create english tooltips.
- Change your ICON_STORE_LOCATION and ICON_EXTENSION definitions in your itemstats/config.php. The wowhead ICON_STORE_LOCATION url is 'http://www.wowhead.com/images/icons/medium/' and the ICON_EXTENSION is '.jpg'.
- Make sure wowhead.css is included in all your template headers.
- If you want old non transparent tooltips in IE6 you need to add the following lines to all your template header files, below the inclusion of the wowhead.css file. If you do not add these lines the tooltip background will be a slightly less dark but non transparent blue in IE6.
Lines to add:
<!--[if IE 6]> <link rel="stylesheet" href="http://www.yoursite.com/pathtoitemstats/templates/wowhead_ie6.css" type="text/css"> <![endif]-->
- If you upgraded an older version of this mod, make sure to run the updateallitems script.
Setting up local hosting of icon images:
This mod can download the wowhead icons to your own host. To setup the wowhead support mod to automaticly download image icons to your own host follow these steps:
- After installing wowhead support open itemstats/config_wowhead.php, setting the DOWNLOAD_ICONS definition to true will enable automatic downloading of icon images.
- Set the local path to store your icons with the LOCAL_ICON_STORE_PATH definition. The default path is itemstats/wowhead_icons/, and requires a ICON_STORE_LOCATION that resembles 'http://www.yoursite.com/your/path/to/itemstats/wowhead_icons/'. Remember when changing this setting that LOCAL_ICON_STORE_PATH is not the url to your icon directory, it is the local path to your icon directory (ie I use '/var/www/html/wowhead_icons/').
- Adjust you ICON_STORE_LOCATION in your itemstats/config.php.
Converting old tooltips:
All the item tooltips created before installing the Wowhead Support will still look like they used to. In order to update all your tooltips to use wowhead you need to run the updateallitems script. You can get this script here.
Download:
Latest Version:
- Wowhead Support for Itemstats - Version 0.3.10
Older Versions:
- Wowhead Support for Itemstats - Version 0.3.9
- Wowhead Support for Itemstats - Version 0.3.8
- Wowhead Support for Itemstats - Version 0.3.7
- Wowhead Support for Itemstats - Version 0.3.6
- Wowhead Support for Itemstats - Version 0.3.5
- Wowhead Support for Itemstats - Version 0.3.4
- Wowhead Support for Itemstats - Version 0.3.3
- Wowhead Support for Itemstats - Version 0.3.2
- Wowhead Support for Itemstats - Version 0.3.1
- Wowhead Support for Itemstats - Version 0.3.0


Sign In
Register
Help

Back to top
MultiQuote
