vb.org Archive

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

sweede 04-26-2008 08:33 PM

You didnt install the new XML file

TruthElixirX 04-27-2008 01:31 AM

Quote:

Originally Posted by sweede (Post 1500089)
You didnt install the new XML file

>.>
<.<

D'oh.


It appears to be working now. Thanks!

comicus 04-29-2008 04:58 PM

Hey there. I've been a big fan of this mod for awhile now!

does this work with 3.7? Thanks!

sweede 04-29-2008 05:01 PM

Yes, Now that 3.7 is out i will most likely create a new project thread in the 3.7 section also.

comicus 04-30-2008 02:36 AM

faaantastic! thanks. =)

BlackRabbit1971 05-01-2008 11:12 AM

Sweede, the .js has been updated and a forced reload of it by the end user is required before your addon will work again..

I'd sugest a change in your xml...

PHP Code:

<template name="wowhead_headerinclude" templatetype="template" date="1207639601" username="sweede" version="0.4.1"><![CDATA[<!-- WoWHead Mouseover-Tooltips -->
<
script src="http://www.wowhead.com/widgets/power.js" 

To:

PHP Code:

<template name="wowhead_headerinclude" templatetype="template" date="1207639601" username="sweede" version="0.4.1"><![CDATA[<!-- WoWHead Mouseover-Tooltips -->
<
script src="http://www.wowhead.com/widgets/power.js?lol" 

Can you think of a way to set something in Admin to force an update? rather than an xml update in future?



Anyone wanting to quick fix..

Under "Styles & Templates" go to the (WoW Head ItemStats Templates >> wowhead_headerinclude template and find

PHP Code:

<script src="http://www.wowhead.com/widgets/power.js" type="text/javascript"></script

Replace with:

PHP Code:

<script src="http://www.wowhead.com/widgets/power.js?lol" type="text/javascript"></script

(please note that you'll have to repeat this for each template you use)

I hope this helps... and thanks again Sweede for such a cool addon.

sweede 05-01-2008 01:05 PM

This isn't something that most people should ever have to do.

The browser cache should keep the power.js file up to date since the request for the file (should) always be http:://www.wowhead.com/widget/power.js . you can view your own browsers file cache and see that there (should) is only one copy of the above file and view it's last modified (downloaded) time.

Now, im not saying dont do this or you're wrong to do this, it's just that this isnt a reason to update the plugins XML file.

I also cannot find anywhere on the wowhead.com site that describes anything that wowinsider claims.

BlackRabbit1971 05-01-2008 03:01 PM

After taking a closer look, its true that the .js file will get renewed when it times out/ your browser fetches the new version. This can take time and if you have a user base that likes everything working and not have to wait then this is a quick fix and does work.. I do agree it isn't worth updating the xml.

The older cached js file won't break anything on your boards but it will not show any hover information either, stating that the item can't be found. :(

So, you have 2 options really, you can wait and eventually the .js file will be fetched by your users browsers and start working again YAY! or you can temp change the template and force your users browsers to download the new js file. I guess it all depends on what your users are like and how much they whine at you. lol

Deepdog009 05-03-2008 12:49 PM

Sweede I've been looking at the WOWhead javascript and I have a few ideas...

Let me test them and then I will post my findings here... L8ter;)

Danoxth 05-03-2008 10:49 PM

Just put this over to my 3.7 board and works a treat, however I do have one issue.

On the posting box the button which brings up instant Item tags does not have an image.

It appears as if its pointing to WoW Wiki, more specificly to "http://www.wowwiki.com/images/6/6e/I...head-22x22.png"

How would I go about editing this so I can have it pointing to an image on my own server?

Thanks for any help in advance!


All times are GMT. The time now is 10:51 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.01319 seconds
  • Memory Usage 1,749KB
  • 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
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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