![]() |
Quote:
|
First off, thanks for the addon, it works great for just about everything.
The one problem I am having is with an RSS feed import. Pulling from wowinsider, they have had lots of items pulled from wotlk.wowhead.com Whenever these items are parsed, it comes back Item #XXXXX not found! (XXXXX replaced for item number). Is there any way to correct this behaviour? It seems it is trying to find the item at www.wowhead.com instead of the correct wotlk.wowhead.com. http://www.wowinsider.com/2008/09/28...ar-and-emotes/ Above is an example of one of the stories I recently imported. The link for the Mammoth was incorrectly replaced. Thanks |
i have a feeling that it will be fixed when wowhead moves the wotlk db to the main db
|
So if I simply just paste a WH link, ie http://www.wowhead.com/?item=37828
The site breaks, but if i use item tags and the name it works. I had your old version installed, then removed it and installed this one. |
Right now, as the mod sits,
http://wotlk.wowhead.com/?item=16243 will not work (it shouldn't break the site though). Instead it -should- default to http://www.wowhead.com/?item=16243 (notice the sub-domain prefix change). If you posted an item that doesnt exist in live, you should get an item not found message instead. So, nothing really should "break". I do however, have a temporary hack fix (hax!) in mind, but i won't be able to write and test it until tomorrow morning (working 12hrs/day sucks!). I need to sleep sometime :) Also, "the site breaks", tells me nothing about your problem. A link to the actual post, a php error message or something would give me an idea of whats going on. |
Here is how the site 'breaks'.
From Quick Reply or from the Reply page, i type the following. http://www.wowhead.com/?item=31051 Submit the form It just takes me to a white page. If I use the item tags and the item name, it works fine. I even updated my power.js and updated the md5sum also also tried using the external power.js too Things seem really strange with your install file now. Post the old version please, that one worked, or add it back in the old post. This one has two database tables added, wowitemstats and itemstat_cache, nothing is in the former and the later has some entries and a ton of empty entries |
It all works and dandy, but for some reason it's causing an error message when just a WoWhead URL is used on it's own.
Example [ url ] http://www.wowhead.com/?item=32325 [ /url ] works fine. http://www.wowhead.com/?item=32325 on it's own causes this error: Quote:
Any ideas? |
Quote:
Ok so I am like duh... But here is the issue I am showing 4.4.9 how do I get to 5.0 to run the hack? Or is there a version of this that will work with 4.4.9 |
Quote:
Quote:
|
Quote:
|
Quote:
for some reason i had marked the method getHTTP as a private class, meaning you can't call it directly (i.e. $obj = new wowhead_item(); $x = $obj->getHTTP() ). I thought i fixed that like.. 3 versions ago but thats what i get for working until 6am 3-4 days week :( |
Great making that method public fixed my problems!
Thanks for checking on this sweede! |
I've gotten some questions if it would be possible to get spell-id's also working as a mouseover like the item-id's
|
Any news on the Wotlk.wowhead.com haxxor ? ;p
|
hmz - I have a problem when trying to link items;
linking items with just; http://www.wowhead.com/?item=34185 for eksample works. But using [item]Sword Breaker's Bulwark[/item] Does not work; here's what a url shows when i try mouseover after posting with the [item] codes; http://www.wowhead.com/?item={option} Any idea what's wrong? (oh and if i try and edit the post - the links will not work anymore, as they stand as html in the edit window, and not as or http://www.wowhead.com/?item=34185 |
Hi Sweede, this is awesome - thank you so much! Much easier to install than itemstats and way less code. Brilliant!
|
Absolutely brilliant addon. I'm looking around for spell mouseovers atm. It would be great if we could get this addon to do it.
|
Works like a charm thanks
|
Causes:
Code:
Fatal error: Maximum execution time of 30 seconds exceeded in /home/mmoqqcom/public_html/guidewiki/forums/includes/class_core.php on line 408 Any ideas on how to optimize? |
Quote:
Each item is looked up in your local cache for the item ID (wowhead requires item ID to create the tooltip). If it is not found, it will make a request to wowhead.com (example; http://www.wowhead.com/?item=Netherweave&xml ) to get the XML data w/the item ID. I cache most of the information in the XML for future use. vbulletin then creates the item link that the wowheads power.js will process. The largest time spent is the http request to wowhead.com. if each request took just 1/10th of a second, 450 requests would still take 45s or longer, since each request is sequential. |
Does using <item=(ID)></item> make it any more efficient?
|
any solutions for those of us who are running older versions of PHP?
Nevermind, just read the stupid "upgrade" comment from the developer. |
Quote:
I beleive that right now it still looks up the name from wowhead. if you did [item=12345]Item Name[/item] , it should bypass the http get. What i have done in the past on my own server is download a list of item id -> item name from wowhead.com itself. I can do that again at regular intervals and have those available. That will prevent the http get completly. |
just an idea, but could you add something like [spell] tags so it does the same thing with spells as it does with items?
|
removed - just noticed the post above mine..
^^^ SEE ABOVE ^^^ :) |
It seems to load all of the links on loading the page.
If you go to, say: http://www.wowguideonline.com/inscription.html (This is just an example) It seems to load the item tooltips once you hover over the items, rather then do it all in advance, although I suppose this could be achived with adding the item id / link. Quote:
|
Quote:
Wowhead supports spell tooltips, the problem is that it doesnt have XML data of the spell so you would have to know the spell ID. it would be easy to do [spell]133[/spell] and have that turn into a link for wowhead (Mage fireball Rank 1) , but i don't expect everyone to know the spell ID of every spell , nor do i want to create some type of database of information linking spell names with spell IDs (since many spell IDs could have the same name). |
Isn't this the xml feed information?
http://www.wowhead.com/?powered |
I'm using this MOD on my forum, but if user use a LOT of [item] tags (one of my user wrote a nice Druid guide and use 33 tags in one post), the page get loading TOOOO SLOOOOOOOOW (more than 30sec).
What's wrong? I thing, if the items are cached in my DB, the mod should never connect to wowhead again due to collecting information about items, right? Because they are already cached in DB. BTW: After 14 days my item_cache table have about 12MB Forum is hosted on professional hosting company with excelent servers. Database is really fast and some friend using the same hosting for so HUGE database with HIGH BW and the don't have problems like i have. So, any ideas what's wrong? OR Is there any way to integrate some function for LIMINT numbers of [item] TAGs in one post? Thanks a lot for help Holy |
Quote:
I've explained in this thread what happens. when you first make a post with an item that hasnt been seen before, the product will have to hit wowhead.com for each item and the new item info (mainly the itemid). After which, it performs a rather quick and light query to get the itemid. typically, the post with an item that isnt seen yet will take a few seconds longer because of the wowhead query (which i need to capture and gracefully exit in case of a timeout). After which, responses will be far faster. For example this page. http://underthemain.net/forums/showthread.php?t=12 No items in the table and the initial post * Page Generation 1.21796 seconds * Memory Usage 5,730KB * Queries Executed 145 (?) going back to the main forums then clicking on the post i just made. * Page Generation 0.51620 seconds * Memory Usage 5,032KB * Queries Executed 11 (?) When vbulletin updates the post cache, it re-queries the database for the items but it wont (shouldnt) hit wowhead.com again, since the only thing i need is the itemID. One thing that it does do though that I will have to remove, is that it also gets the translations from wowhead.com |
There is a problem with the last object [/item] [item] version no longer works...
|
Quote:
0.5.7a wont give you a SQL error when viewing a post. |
The BBCODE tags still doesn't work...
|
Figured it out. 5-7a doesn't have the full code in the xml since its more of an update than anything.
Actually 5-7a is missing alot of code. You might want to fix that. |
Quote:
fixed for real this time i think |
Nice,
A bug still remains with the french version. When the base sql accents are properly put, but in messages the accents utf8 format dont properly display cf image https://vborg.vbsupport.ru/ |
Quote:
I don't generate tooltips with this code. the only thing I do is make the item linking look pretty, like actual wow item links. you can take a wowhead.com URL and paste it into a post, the URL that is created will be wowhead tooltip enabled. I just add the [] and change the text color to the item quality color. Sometimes i fix/correct the name but thats only on rare occasions. THe problem you're having doesnt seem to be a vublletin issue at all, but ive been wrong often in this thread ( :0 ) and i'm not ashamed to say i could be wrong here..e. |
Any chance of getting an update to this that would query spells as well? I swear ive seen this in action on the Elitist Jerks forums.
|
2 Michad: I don't know what Elitist Jerks forum is, but on my old forum based on phpBB i have mod for wowhead tooltips and users can use [item] for items, [spell] for spells or [quest] for quests.
So i thing, it IS possible to do it :) EDIT: Finally, i found homepage for that mod: HERE EDIT2: LoL, new version can link achievements, crafts, and itemsets ... So, maybe this can help you for make new version :) |
Quote:
HTML Code:
[url=http://www.wowhead.com/?spell=48782]Holy Light[/url] I'm not sure how that addon you linked gets spells (go to wowhead.com and search for holy light and look how many things it returns), but i'll look and what its doing. |
All times are GMT. The time now is 12:53 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:
|