This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Powered Tooltips Guide
Post Reply
Return to board index
Post by
Eneswar
Hello, has anyone got this working in Joomla?
Post by
1987
This post was from a user who has deleted their account.
Post by
SnowBlood
confirm Tsigo's error.
on my forum it only happens in IE8 in compatability.
on dkpsystem.com it's happening in IE8 without compatability going. odd.
works fine on both in FF.
Post by
437492
This post was from a user who has deleted their account.
Post by
Caldar
Same error on my site.
Message: Expected identifier, string or number
Line: 1
Char: 3310
Code: 0
URI:
http://www.wowhead.com/widgets/power.js
Hopefully this can get fixed soonish.
Post by
marmal
Same error on my site.
Message: Expected identifier, string or numberLine: 1Char: 3310Code: 0URI:
http://www.wowhead.com/widgets/power.js
Hopefully this can get fixed soonish.
Post by
437492
This post was from a user who has deleted their account.
Post by
Lockslap
thx,works perfect, but i have one more question, where can i find link for each spells and items,.. like as in your code
http://static.wowhead.com/images/icons/tiny/spell_arcane_starfire.gif
must for all spells and items manualy write link to each tiny picture ?
Hmm. In one word: Yes.
But you can try to download all pictures or better, write a small script for your message board that downloads the needed icons and cache them on your webspace. That requieres some php and programming knowledge.
On wowhead, you can double-click the icon on every item/spell-page to view a small pop-up where you can copy&paste the name of that icon.
I'm planing to do that :)
Write a small script that downloads the needed icons and cache them, but there is one problem, I'll try to explain, sorry my english.
My script will scan links on the page and for each wowhead link it must download icon and save it to my server. Next time script will check first if this icon already cached, and display it from the cache.
The problem is that each link contain an item/spell id, but there is no way to get icon by id.
Ok, for items it is possible to extract icon name from item xml (like
http://ru.wowhead.com/?item=41853&xml
), but there is no xml for spells ( like
http://ru.wowhead.com/?spell=62662
)
And i have no idea how to get spell icon name by spell id :/
I know it is possible, because power.js do that somehow, but it is compressed and it is impossible to investigate how it works.
I think power.js source file can be helpful, but where to get it? :/
Please help me, thank you.
The icon is from adding "&power" to the end of the spell's url. For example
http://ru.wowhead.com/?spell=62662&power
gives:
$WowheadPower.registerSpell(62662, 7, {
name_ruru: 'Ðаплыв Тьмы',
icon: 'Spell_Shadow_ShadowPower',
tooltip_ruru: '<table><tr><td><b>Ðаплыв Тьмы</b><br />Применение: 3 Ñек.</td></tr></table><table><tr><td><span class="q">ÐаделÑет Ð·Ð°ÐºÐ»Ð¸Ð½Ð°Ñ‚ÐµÐ»Ñ Ñ‚ÐµÐ¼Ð½Ð¾Ð¹ Ñилой, повышающей физичеÑкий урон на 100%, но Ð¿Ð¾Ð½Ð¸Ð¶Ð°Ñ ÑкороÑÑ‚ÑŒ Ð¿ÐµÑ€ÐµÐ´Ð²Ð¸Ð¶ÐµÐ½Ð¸Ñ Ð½Ð° 55% в течение 10 Ñек.</span></td></tr></table>',
buff_ruru: '<table><tr><td><b class="q">Ðаплыв Тьмы</b></td></tr></table><table><tr><td>ФизичеÑкий урон повышен на 100%.<br />СкороÑÑ‚ÑŒ Ð¿ÐµÑ€ÐµÐ´Ð²Ð¸Ð¶ÐµÐ½Ð¸Ñ Ñокращена на 55%.<br /><span class="q">10 Ñекунды оÑталоÑÑŒ</span></td></tr></table>'
});
Use some regular expressions to get the icon and there ya go. This is how my script (see my signature) does it, it is quite effective.
To the best of my knowledge this is how power.js gets all of the information it needs to display its tooltip (for items, spells, quests, achievements, etc.).
Post by
435471
This post was from a user who has deleted their account.
Post by
Salixzs
To all guild web masters that use e107!
I made plugin for
e107
, that automatically installs tooltip javascript and also adds new BB code button and code to all input fields, that uses BB codes. Plugin is available for free and on your own risk at
e107 Plugins
web site under
Games and Entertainment
category by name "WowHead".
If you do AFK - do it properly!
Post by
Draewind
I have a website and using HEP values, I want to create a "Best in Slot" list. When changing a list of many items and names, is there any way to have the link created from the item number?
In other words, if I change the item number of a link, how do I get the link to fill in the item name between brakets , and color it with the proper item color.
So far, I see how to create a link with the popup, but changing item names, numbers, and colors is time consuming. Can I have an example that will take the popup tooltip "item name" and "color" (quality) and automatically apply it to the link?
Eventually, I might be able to write a script table to automatically take a list of numbers and create a list of links.
Post by
454199
This post was from a user who has deleted their account.
Post by
CherryPah
hi
how to include wowhead into the ipb 3.x?
Post by
stormdruid
Hi,
I have powered by wowhead working fine on my site except for achievements...
cant work out why the other things link but the achievements dont... Any thoughts?
PHPBb3 forums in use btw ^^
Post by
shexna
was wondering if it would be possible to turn the link into the item name?
we use php-fusion, and when i copy a wowhead link, like
http://www.wowhead.com/?item=34231
it will turn it into a link
http://www.wowhead
...34231, what i want it to show is the item name instead.
atm i have to make the link my self, like
ITEM NAME
, would it be possible for it to that on its own?.
Post by
464554
This post was from a user who has deleted their account.
Post by
Ghiacciolo
Hi there!
whit the helpfull resource on this thread i managed to get those links going on joomla, but only in joomla contents, not in the forum page. Still, in the forum page there is the joomla template, and in effects the wowhead script is loaded cheking the source code.
I use jooBB...still beta so i bet nobody knows it..anyway: someone knows how to make the thing work also on my forum?
More generic question, also: creating a custom BB code for the boards is a step required or is ok just to post in the forum something like my item ?
Post by
148723
This post was from a user who has deleted their account.
Post by
464554
This post was from a user who has deleted their account.
Post by
Malkom
Hi,
I've put the script on my guild's forum but this forum is encoding in windows-1252 so when I saw the tooltip from Wowhead the french character wuth accent are unreadable
Can I encode the script en UTF-8 ?
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.