Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #42  
Old 07-01-2008, 12:07 PM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dsru123 View Post
worked great, but WoWhead JS script you have to add to headinclude in all styles you use was causing login error. After login you would get a blank screen untill you opened up same page in browser again. Been looking for a fix, but after some checking its the js script thats causing the login blank screen.

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.
Reply With Quote
  #43  
Old 07-01-2008, 12:38 PM
tuaguild's Avatar
tuaguild tuaguild is offline
 
Join Date: Dec 2007
Location: Memphis TN
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah he is right the javascript is there just to produce the tooltip
Reply With Quote
  #44  
Old 07-01-2008, 08:15 PM
Dsru123 Dsru123 is offline
 
Join Date: Apr 2004
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #45  
Old 07-21-2008, 03:59 PM
Slaxi Slaxi is offline
 
Join Date: Aug 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this mod. Works fine.
Reply With Quote
  #46  
Old 07-22-2008, 07:57 PM
Asgorath Asgorath is offline
 
Join Date: Feb 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Database error in vBulletin 3.7.2:



Invalid SQL:

INSERT INTO itemstat_cache

( `id` ,`name` ,`quality` ,`icon` ,`lang` ,`htmlTooltip` )

VALUES (

'32837',

'Warglaive of Azzinoth',

'5',

'INV\_Weapon\_Glave\_01',

'www',

'<table><tr><td><b class=\"q5\">Warglaive of Azzinoth</b><br />Binds when picked up<br />Unique<table width=\"100\%\"><tr><td>Main Hand</td><th>Sword</th></tr></table><table width=\"100\%\"><tr><td>214 - 398 Damage</td><th>Speed 2.80</th></tr></table>(109.3 damage per second)<br />+22 Agility<br />+29 Stamina<!--e--><br />Durability 125 / 125<br />Classes: Warrior, Rogue<br />Requires Level 70</td></tr></table><table><tr><td><span class=\"q2\">Equip: Improves hit rating by 21&nbsp;<small>(1.33\%&nbsp;@&nbsp;L70)</small>.</span><br /><span class=\"q2\">Equip: Increases attack power by 44.</span><br /><br /><span class=\"q\">The Twin Blades of Azzinoth (0/2)</span><div class=\"q0 indent\"><span><!--si32838-->Warglaive of Azzinoth</span><br /><span><!--si32837-->Warglaive of Azzinoth</span></div><br /><span class=\"q0\"><span>(2) Set: Your melee attacks have a chance to increase your haste rating by 450 for 10 sec.</span><br /><span>(2) Set: Increases attack power by 200 when fighting Demons.</span></span></td></tr></table>' );;



MySQL Error : MySQL server has gone away
The thing is, that particular item is definitely in the database (there's a link on the front page, and I've manually inspected the table to confirm), so I'm not sure why the plugin is trying to insert the data again.

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/
Reply With Quote
  #47  
Old 07-30-2008, 01:39 PM
Kinneas's Avatar
Kinneas Kinneas is offline
 
Join Date: Dec 2005
Location: Nottingham, UK
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #48  
Old 07-30-2008, 01:51 PM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What it does is the following..
  • Parse BBCode item tag
  • Query database for existing Item name or Item ID (depending on the bbcode tag, i.e.: [item]Some Item[/item] will search by item name, [item=1234]Some Item[/item] will search by number.
  • If item is found
    • Return proper HTML replacement code
  • If item NOT found in database
    • Query wowhead.com/?item=Some+Item&xml
    • process XML and save quality information, complete Item name, raw XML data and item id.
    • Returns proper HTML replacement code

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.
Reply With Quote
  #49  
Old 07-30-2008, 02:10 PM
Kinneas's Avatar
Kinneas Kinneas is offline
 
Join Date: Dec 2005
Location: Nottingham, UK
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Page generated in 60.50909 seconds with 282 queries
Then I reloaded the page. It was quicker, but it still took a considerably longer amount of time with a lot of queries:

Quote:
Page generated in 14.04858 seconds with 130 queries
Would you consider this normal behaviour?
Reply With Quote
  #50  
Old 07-30-2008, 02:25 PM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #51  
Old 07-30-2008, 02:30 PM
Kinneas's Avatar
Kinneas Kinneas is offline
 
Join Date: Dec 2005
Location: Nottingham, UK
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


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 03:53 AM.


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.04348 seconds
  • Memory Usage 2,312KB
  • 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
  • (1)pagenav_pagelinkrel
  • (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