![]() |
GItemStats WoWHead Support
gItemStats is a modification for vBulletin which allows you to display popup World of Warcraft item information on your fourms. This is an Update on Gryphon's Code which adds WoWHead Support. Please Follow All Instructions in the rar/zip file. Also adds support for automatic icon downloading if you follow the included instrutions or refer to http://forums.eqdkp.com/index.php?showtopic=9342 for instrutions on using automatic download support.
If you use this mod, please Mark as Installed, and if you really enjoy this mod, please Nominate for MOTM, and if you really really enjoy this mod, feel free to Support Developer! Thank you! Support __________________________________________________ _____________________________________ I use my released mods daily, if I find an issue with them or add features for myself I will release updates. If there are significant bugs or simple feature requests I will do my best to release fixes. Some of my mods rely on fetching data from 3rd party websites, due to the unreliable results, my mods will require users to troubleshoot for themselves if they find the addon is not working for them specifically. I am offering my personal mods that work ok for me for you to use, I am sorry I do not have time to troubleshoot many user specific issues. Thank you for your understanding. Features __________________________________________________ _____________________________________
Installation __________________________________________________ _____________________________________
Changes __________________________________________________ _____________________________________ v1.09 - Eliminated need for class_bbcode_alt.php while still making WYSIWYG edit compatible. v1.08 - Eliminated need for class_bbcode.php and vbulletin_config_itemstats.php files to be included with package v1.07 - Fixed Item Images not showing up and set up automatic downloading of icons upon product install v1.06 - Added button to WYSIWYG and normal editor v1.05 - Fixed WYSIWYG post editor problem. Added WoWHead support. v1.04 - Install product with overwrite enabled Maintenance release for vBulletin 3.7 v1.03 - Install product with overwrite enabled, upload functions_gitemstats.php Update for Arcade compatibility. v1.02 - Install product with overwrite enabled Update to prevent errors if files are removed before product is uninstalled. v1.01 - Install product with overwrite enabled and then upload includes/functions_gitemstats.php Changed things around a bit to ensure settings work. v1.00 - Upload all files import product. Initial Release Copyright __________________________________________________ _____________________________________ Original Core Product Copyright ? Ryan Snook (www.gryphonllc.com) Itemstats Copyright ? Yahourt (itemstats.free.fr) WoWHead Support Added to GItemStats by TUAGuild WoWhead Support Code By Fenuz |
Any questions about gitemstats come here. and ask me. Also Will Work on a version that uses MMODB support. It will be posted on a different thread.
|
what are the differences between your and THIS hack?
|
Quote:
|
Quote:
|
They do the same thing but the tooltip popup is different and slightly transparent and also it parses a differant site for item cacheing plus it is easier to use with more features
Both parse wowhead but instead of parsing every time a page loads it saves the item info to the db and loads that item from there then on |
Quote:
PS. the other creates a new button into the editor ... can you provide us the same thing? :) |
ok let me look into the code and i will post an update
Yes i gotta look at the code and i will add a button also the pictures not showing up go to your vb options and make sure the images are coming from wowhead.com if it doesnt work i will change the code to use an icon pack i provide with the product. |
thx mate ... also can you provide something for the editor? (i mean a button)
|
working on that this is my first vb product so i am not really sure how to add a button to the WYSIWYG editor cause i havent ever done it i will do some research and get it done for you guys
Also if it says in vboptions it is getting the pics from wowhead and it still isnt working try reuploading all the files and reinstalling the product that is sometimes caused by ftp depreciation |
fixed problem with icon images not showing up by enableing auto downloading of icons and using the cache set up on your server. Also Added a button to the editor toolbar you must change the permissions for itemstats/wowhead_icons/ to chmod 777 so it will save the icons to the server
|
While this does basicly nothing that different (except add a lot of additional files + waste to your vbulletin directory) , why are you replacing the default class_bbcode.php and class_bbcode_alt.php files ? That's just a bad idea to begin with.
Besides after looking through the code, your vbulletin_config.php file adds a define for the path to the itemstats folder (which should be in the init_start hook), and your other include , the vbulletin_itemstats.php file is completly empty (0-byte file). Anyways, for the question above as to what the difference between gItemStats and my product? Using wowheads powered by javascript does not add additional code to your site. the ItemStats mod adds a table to each for each item link that is created embeded into the item's A HREF tag. If you have a rather large item list (such as say your guild bank listing or even your own characters listing), you could increase the size of your page download by quite a bit. Also, editing a post with an item in it using the WYSIWYG editor clobbers the item link. |
if you use the provided class_bbcode.php and class_bbcode_alt.php it doesnt using those files fixes the editor problem with gitemstats and i prefer my code and the differance in speed is negligable plus i am more for guild sites that do not use a guild bank on the site plus yours has to use an outside js in order to show the tooltip mine is internal and if you require a large item cache it is much faster to use your own database for the files than to rely on wowhead every time it parses also i am working on an integration of wowroster from wowroster.net with vbulletin and that requires the original itemstats code
|
after looking into sweede's post I eliminated need for the vbulletin_config_itemstats.php and class_bbcode.php files. I also want to explain how i fixed the WYSIWYG editor problem. If you open your class_bbcode_alt.php file you find a line
Code:
class vB_BbCodeParser_Wysiwyg extends vB_BbCodeParser 'item', right above thread. so it should look like this Code:
class vB_BbCodeParser_Wysiwyg extends vB_BbCodeParser |
nothing against any user, but eliminate the need to edit files.
look at my products wysiwyg_start hook for the right way to fix wysiwyg support |
so basically add the edit to the product which in turn makes it in the templates instead of having it for people to manually edit
|
i'm interested in this hack, but i think it needs more development ... :)
|
Quote:
WowRoster is obsoleted with the Warcraft Armory and gryphons gWowRoster product and it is almost always in best practices to use one, centralized source for data than copying it all over, even if it is a cache (how do you update the cache?) Not trying to say no no no ! to you about what your trying to do, only that before you go and do it, save yourself the time and energy and see if these things already exist first so you don't repeat the work over and over. Before i put together the wowhead item code product, i had written an entirely new ItemStats type product that worked with vBulletin used wowhead's XML files and everything. Then someone in the original gItemStats plugin posted a link to wowhead's powered.js information and i was like " whats the point? this single javascript file did the work of a dozen or so php functions and several hundred lines of code". The only thing i need to do to my product now is to add wowheads new multilingual support |
WoWRoster has alot more features than gryphon's mod and alot of addons for it and whatever your idea is i hope it works out well for ya and if i can help let me know. You can update WoWRoster's Cache of characters with a plugin called armorysync but you have to manually do it i am working on an offshoot of that plugin for WoWRoster that automatically does that using CRON and i want to get a working vbulletin WoWRoster product that fully integrates it and it uses all vb funtions and the admincp control. Also, yes the wowhead js file does do the work of all that stuff but what happens if i have stuff already parsed and wowhead's site is down (GOD FORBID THAT HAPPEN LOL) The wowhead js file will be unaccessable and my items on my site will not show up. I like the itemstats code and i was just trying to find an easy way to learn some coding for vb so i can make more mods for my guild. I think your mod is awesome but i prefer my mod and i do want to find out more info about the coding and eliminating the need for vb code changes. I would like to know what kind of code i would place in the product xml that fixes the editor error. If you can help please do so i am new to vb coding and would like all the help i can get :)
|
I fixed the need for adding the class_bbcode_alt.php file in the mod so it is all internally done.
|
First of all, thanks for the mod!
I got the mod 50% working at here The images are not displaying. Code:
define('ICON_STORE_LOCATION', 'http://www.mmohawk.com/forums/itemstats/wowhead_icons/'); I've also tried http://www.mmohawk.com/forums/itemstats/view_cache.php which shows a french character I can't read. I've set the "wowhead_icons" folder to 777 What's the problem here? Please help me get this work, Thank you. Ren |
Not that i'm being helpful, but in your example post any reason why you picked that peticular ownage oomkin for the example?
|
Quote:
|
mmotp the file is ready to use from the box. you do not have to edit anything anymore i made it that way.
|
its not working for me :-(
only the message after click: Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'dbhost' (1) in /var/www/web14/html/itemstats/includes/sqlhelper.php on line 30 string(37) "Unable to connect to SQL host: dbhost" |
hummm that shouldnt happen you didnt alter any of the files did you
|
Chase just wondering, what are the differences between yours and the new Sweede's add-on? thx
|
1) The way that the tooltips are displayed are different. I use wowheads tooltip library exclusivly.
2) this mod uses the ItemStats from http://itemstats.free.fr/ to do the brunt of its work. I wrote my own retrieval, cache and http processing code. because of this my entire mod takes up less than 30k of code. the mod in this thread is a 1.5 meg download i believe? 3) This mod may be (for the moment) better suited for those people who run things such as EqDKP 4) This mod caches everything locally. Good if Wowhead ever goes down, this is good becuase you've cached any of your existing items and icons. It does use your own bandwidth/server resources to serve data that wowhead.com is allowing anyone to stream from their web services for no cost at all. |
ah ... OK thx Sweede ;)
|
The images are not displaying in the tooltip for me. I see people have mentioned this, but there have been no responses on how to fix this. They are downloading to that icon directory though. Just not displaying on the tooltip.
|
another issue i'm running into is that no matter what color i change item colors to in the itemstats.css it is not changing the color when posting on the site.
|
go into the vboptions and make sure the icon store path is correct if you have your vb installation in forum root it will work if not it will not so make sure you have it set up correctly in the vboptions under gitemstats also it isnt going to because itemstats.css is not used try editing wowhead.css
|
Quote:
|
acctually i tried it your way and it didnt work i had to find another mod that used a bbcode parser and look at its plugins to find the right way of doing it that fixed it
|
any update to have this working with http://aoc.mmodb.com/
|
Not sure its been pointed out but the wowhead url for the icon is wrong.
Therefore people who are having the problem of the icon(s) not showing up when you rollover an item, then change the url to; http://static.wowhead.com/images/icons/medium/ Click save and reload your forum and the icons will now show up. Enjoy |
well i thought i had the package set up to automatically download icons but i guess they changed the settings or something it should be a install and use package just upload and then import the product and it should do it on its own.
Also i have not gotten this working for mmodb yet i havent had time to work with it enough to do so. |
Quote:
|
you have blank space before <?php in your config_itemstats.php file.
edit that file with notepad (not word wordpad or any thing like that) and remove any whitespace before the <?php |
@sweede: No there's no space before <?php in my config_itemstats.php or config.php
Any idea else? |
All times are GMT. The time now is 05:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|