![]() |
Quote:
what ? your post makes absolutly no sense at all. You should not have to edit any files, templates, anything, to use this product. you do not need to upload any files or change any configuration settings if you do not want to, its totally plug and play. |
yeah he is right the javascript is there just to produce the tooltip
|
Yep, your right. I thought you had to do the WoWhead steps from there "vB how to" forum post, then instal your plugin. I was adding the Wowhead script to my styles headinclude, hence having the problem. After I reverted back to my orginal styles and just used your plugin, it works great.
I feel so cheap and used! I will go stand in corner now and review how read install instructions correctly! |
thanks for this mod. Works fine.
|
I'm having some pretty bad performance problems since upgrading to the 3.7 version of this plugin. From looking at the SQL error messages as pages time out, it appears as if the caching isn't working or something.
This is a common error, for example: Quote:
Has anyone else experienced this? I've uninstalled and re-downloaded/reinstalled the plugin several times now, to no avail. Our website is here, for reference: http://www.wastedepicsguild.com/ |
Sweede, just for clarification, is this mod supposed to run a query every time a page with these items on loads? Or is it supposed to be a one time query to populate a database table?
I only ask because I notice a significant delay when viewing one particular thread on my Guild forum where we list all the rare crafts our members have. The page can take up to a minute to load with 120+ queries being made. This happens every time the page is loaded. |
What it does is the following..
It does this for each item in the database. The only time you *should* have any "lag" in page view is when the post is first made and it has to query each item. Of course, your posts should also be cached as already parsed templates, which the bbcode replacement wouldnt be done. |
Edit:
Okay, well I just did a test. I emptied the itemstat_cache table and loaded the page again. The first time it took (understandably) a very long time to load, finishing with the following stats: Quote:
Quote:
|
Whoa.
Unless you're using ipowerweb (a friend of mine runs a guild site on this host and its horrible), that does seem a little long. Is this a vbulletin thread/post or other ? I wonder if there is a way i can code around this though... If the page is a normal vbb post, the post is usually cached already processed. If the page isn't though, there is no caching done (for example, a custom vba bbcode page). |
I'm not using ipowerweb. Other aspects of the forum load quickly and without issue.
It is a fairly standard vBulletin thread. Would you like me to PM you the current list in the thread for testing? |
This is very odd. On a fresh install on my test board it does what it's supposed to do.
|
And it's all working okay on my Live site now. How bizarre lol.
I re-uploaded the files and reinstalled the product from scratch just in case, but the problem was still happening. For some reason it isn't anymore. Sorry for wasting your time mate :P |
Quote:
|
you enable debugging mode.
add something like $config['misc']['debug'] = true; , i think. there are also products that do close to the same thing. |
Nevermind, this was a configuration error on my part. I'd disabled post caching to get the original ItemStats working (the one where you had to manually click on a link to fetch the item information), and had forgotten to re-enable it after switching to this plugin. Sorry for the confusion!
|
I just installed this and ran into problems while previewing/editing using advanced WYSIWYG editor, came back here to see if anyone had the same problem and noticed that this was supposed to be sorted in:
0.4.5 * Fixed issue with WYSIWYG editor loosing item links when editing a post Any idea why I'm still getting this? :erm: |
Any chance of a php4 version of this?
|
So I uploaded the files, uploaded the product xml and fired it up.
What I ended up with when I tried to drop an [item]something[/item] in a new thread is this: Code:
Fatal error: Class 'wowhead' not found in /home/jabouty/public_html/forums/includes/functions_wysiwyg.php(115) : eval()'d code on line 28 I ran through the code and found a wowhead_item class, but not a wowhead class. So i changed the call for the new wowhead class in the Wowhead WYSIWYG parser plugin to wowhead_item and got the following: Code:
Fatal error: Call to undefined method wowhead_item::wowhead_http_get() in /home/jabouty/public_html/forums/includes/functions_wysiwyg.php(115) : eval()'d code on line 30 edit: Interesting. If I copy paste from a previously linked code, ie copy paste a link off this: http://www.wowhead.com/?items=2.10#0-2-3+1 which alot of my users will do, and I get the crash error when using wysiwyg. Kill the wysiwyg formatting by removing the link and the coloring and it works. So copy pasting off a linked name causes issues. Thoughts from here? edit2: perhaps cleaning anything within container of all links and formatting prior to parsing it will help...just a thought... |
Quote:
|
Quote:
go down to the next line, change $xmlfile = $o->wowhead_http_get($url, 8192); to $xmlfile = $o->getHTTP($url); Also, to give a little background information. When I wrote the last update, i pretty much re-coded every line because I found a product release tool on the german vbb site. without going into to much detail, the test site that i dev on runs the exact same code that the XML product file contains. However, why it works on my test server, I don't know, because it shouldnt. The wowhead class shouldnt exist on my test server. The zip file has been updated (0.5.5 now) |
Bingo!
Testing as we speak. If anyone can break it my users will find a way lol. Great job thus far. |
Ok, so i tried to use a test item the Thunderfury. See what happens... the wowhead is psychic :P so it finds and returns the data even when you don't enter the complete correct item name. For example try 'Thunderfury' instead of 'Thunderfury, Blessed Blade of the Windseeker'.
But the initial select sql command you run to check if it's been cached doesn't work that way. It checks for the exact name, so it tries to re-cache it. BOOM error. I'm probably wrong on the reason there is the error but something is wrong. EDIT: For now i added a condition before saving the item that checks the name to be the exact. But look into it sweede. Great job! Initial post: [s]Even though i see the item on the database it tries to add it again. Seems like the caching doesn't work for me. I made 'id' the primary key because i only care about one language (english) and that should make things easier.[/s] |
Quote:
It may be possible to create something like a "also known as" field and do a quick look there also, but that may cause way more problems than it will solve. i'll sleep on it and see if i cant think of a better method, or if anyone has one to suggest. |
Hi,
i installed the 0-5-5 Version ... unfortunately it doesn't works ... It shows only the BBCode button and the tags [item], but after Post it shows only [] Any Ideas? |
you need to tell me way more information than that..
the URL to the post, the item name you tried to use (i.e. [item]My Item[/item] ) , etc. |
I re-uploaded the files and reinstalled the product.
Now it works. What is the table name of the stored items? I found only itemstats_cache but there are no entries. I created the table wowitemstats manually: CREATE TABLE wowitemstats ( item_name varchar(100) NOT NULL default '', item_id varchar(100) default '0', item_color varchar(20) NOT NULL default '', UNIQUE KEY item_name (item_name) ); Hope this will help to cache the items. |
The error still there
I tried it with following item: [item]Verm?chtnis[/item] http://www.communitas-draconis.de/fo...ead.php?t=5883 It shows only golden [] and the itemstats_cache table fills with empty (zero) entries... |
My product does not create a table called "itemstats_cache"
You probably had another itemstat like product that obviously is conflicting with mine. However, since your URL you linked seems to work fine, i will assume that there is no issue? |
Hello,
i have first uninstalled your mod and the table itemstats_chache was dropped, after i reinstall your mod the table was created. Please follow my link, i use item "Phönixring der Wiedergeburt" and the same error happen again, only golden [] are shown. |
Update to the latest, 0.5.6.
when linking an item, you would use something like [item=debug]Ph?nixring der Wiedergeburt[/item] It will produce something similar to Code:
17:09:02 called in wowhead_item::__construct:70 Version:0.5.6 |
Quote:
some characters (especialy german) don't translate to URL syntax. I build a URL by adding the name to the URL. ?item=My+Item Some special characters (such as ?) don't have a compatible URL code. basicly, if you can make http://de.wowhead.com/?item=Ph?nixring+der+Wiedergeburt work, let me know. |
"Ph?nixring+der+Wiedergeburt" did not work :(
Any other ideas? Code:
10:09:39 called in wowhead_item::__construct:68 Array |
the ? is causing your problem.
I do see other problems though not related to yours. Lets see if wowhead can be of any help http://www.wowhead.com/?forums&topic=41052&p=394948 |
Maf, until wowhead and i figure out a solution, the best work around will be to use the english name when making a post. the product will cache all languages of the item (which btw, is a workaround for the problem and won't be needed once the problem is fixed).
later when you post the german translated item, it will work. |
The non-english character issues have been corrected on Wowheads site.
http://de.wowhead.com/?item=Ph?nixri...edergeburt&xml or http://de.wowhead.com/?item=Gew?nder+der+M??igung&xml will work correctly now. I still will need to update my product to remove a few hacks. |
Has something changed with wowhead? Item stats now has a expected identifier error and mouseover no longer displays the item.
|
Quote:
|
Quote:
|
I swapped to the local power.js and it works fine. Guess I'll just have to keep it updated.
Great mod btw :) |
Quote:
<a href="http://www.wowhead.com/widgets/power.js>Download</a> right clicked on the text and did a save as and replaced my power.js file in the root of my forums directory and that fixed it for me |
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:
|