vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - World of Warcraft Wowhead Item tooltips for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=183035)

sweede 10-01-2008 05:40 PM

Quote:

Originally Posted by Danoxth (Post 1634851)
I've just double checked and it's definitely the 0.5.6 version I'm using =/

it should be fixed for real this time :)

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 :(

CtrlAltDel 10-01-2008 06:50 PM

Great making that method public fixed my problems!

Thanks for checking on this sweede!

istvan 10-08-2008 08:54 AM

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

Elbulus 10-14-2008 11:06 AM

Any news on the Wotlk.wowhead.com haxxor ? ;p

DeathSoul 10-15-2008 01:06 PM

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

squidsoup 10-30-2008 06:25 AM

Hi Sweede, this is awesome - thank you so much! Much easier to install than itemstats and way less code. Brilliant!

Rhyseh 11-17-2008 10:42 PM

Absolutely brilliant addon. I'm looking around for spell mouseovers atm. It would be great if we could get this addon to do it.

forumrunt 11-19-2008 12:30 AM

Works like a charm thanks

OblivionMage 11-23-2008 12:49 AM

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
In pages with a lot of <item></item> links (takes longer the more there are until it gives that error). I tried about 450-500 tags to get that error.


Any ideas on how to optimize?

sweede 11-23-2008 10:42 AM

Quote:

Originally Posted by OblivionMage (Post 1670926)
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
In pages with a lot of <item></item> links (takes longer the more there are until it gives that error). I tried about 450-500 tags to get that error.


Any ideas on how to optimize?

umm.. don't make a single post with 450-500 items ?

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.


All times are GMT. The time now is 12:20 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
  • Page Generation 0.01696 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete