Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
World of Warcraft Wowhead Item tooltips for vBulletin Details »»
World of Warcraft Wowhead Item tooltips for vBulletin
Version: 000, by sweede sweede is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.x Rating:
Released: 06-19-2008 Last Update: 04-05-2010 Installs: 136
DB Changes Uses Plugins Template Edits Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

** Discontinued thread !
See https://vborg.vbsupport.ru/showthread.php?t=239911 for current thread in 3.8 modification areas.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #102  
Old 11-23-2008, 10:38 PM
OblivionMage OblivionMage is offline
 
Join Date: Aug 2008
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does using <item=(ID)></item> make it any more efficient?
Reply With Quote
  #103  
Old 11-24-2008, 06:21 PM
retrofade retrofade is offline
 
Join Date: Feb 2003
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any solutions for those of us who are running older versions of PHP?

Nevermind, just read the stupid "upgrade" comment from the developer.
Reply With Quote
  #104  
Old 11-24-2008, 09:05 PM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by OblivionMage View Post
Does using <item=(ID)></item> make it any more efficient?

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.
Reply With Quote
  #105  
Old 11-30-2008, 10:14 AM
Noxious Noxious is offline
 
Join Date: Jun 2005
Location: England
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just an idea, but could you add something like [spell] tags so it does the same thing with spells as it does with items?
Reply With Quote
  #106  
Old 12-05-2008, 06:11 PM
smokejax smokejax is offline
 
Join Date: Jun 2007
Location: JAX, FL
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

removed - just noticed the post above mine..

^^^ SEE ABOVE ^^^

Reply With Quote
  #107  
Old 12-08-2008, 01:37 AM
OblivionMage OblivionMage is offline
 
Join Date: Aug 2008
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
just an idea, but could you add something like [spell] tags so it does the same thing with spells as it does with items?
WoWHead doesn't have spell tags, but if you link the text to the URL of the spell, it should come up as a tooltip (for example: http://guidewiki.com/forums/world-wa...ide-wotlk.html). If you want it to look just like an item link, just add font/color tags inside of the URL tag.
Reply With Quote
  #108  
Old 12-10-2008, 11:01 PM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by OblivionMage View Post
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.


WoWHead doesn't have spell tags, but if you link the text to the URL of the spell, it should come up as a tooltip (for example: http://guidewiki.com/forums/world-wa...ide-wotlk.html). If you want it to look just like an item link, just add font/color tags inside of the URL tag.
The tooltip display and information is pulled from wowhead servers in real time. the only overhead it adds to your rendered page is changing Runic Mana Potion to <a href="wowheadlink" style=whatever>runic mana potion</a>

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).
Reply With Quote
  #109  
Old 12-12-2008, 01:00 PM
smokejax smokejax is offline
 
Join Date: Jun 2007
Location: JAX, FL
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Isn't this the xml feed information?
http://www.wowhead.com/?powered
Reply With Quote
  #110  
Old 02-04-2009, 07:44 PM
HolyKiller HolyKiller is offline
 
Join Date: Dec 2006
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #111  
Old 02-04-2009, 08:38 PM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HolyKiller View Post
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

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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:42 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.04605 seconds
  • Memory Usage 2,306KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete