This site makes extensive use of JavaScript.
Please
enable JavaScript
in your browser.
Live
PTR
Beta
Classic
TBC
Classic Theme
Thottbot Theme
Powered Tooltips Guide
Post Reply
Return to board index
Post by
154204
This post was from a user who has deleted their account.
Post by
Lockslap
Hi im using invisionfree forums. I've tried to put <!-- WoWHead MouseOver-Tooltip -->
<script src="
http://www.wowhead.com/widgets/power.js"
type="text/javascript"></script>
<!-- /WoWHead MouseOver-Tooltip -->
Into the jacascript box but its not working. any help would be helpful
If you intend on wanting to use BBCode (i.e. ) tags to make it work then you need a script in order to parse out those tags and replace them with the formatted link. I would happily write one, but I do not have access to an Invision powered forum.
Post by
154204
This post was from a user who has deleted their account.
Post by
Leonti
Since Wowhead is now available in different languages ( thanks for this great feature! ), is there a way to us the widget feature in different languages? I tried using de.wowhead.com as URL in the script code, but this didn't work. Any tips? Thanks!
Greets Leonti!
Post by
marcimi
Since Wowhead is now available in different languages ( thanks for this great feature! ), is there a way to us the widget feature in different languages? I tried using de.wowhead.com as URL in the script code, but this didn't work. Any tips? Thanks!
Greets Leonti!
Let's wait for an official statement about this.
@Officials: Is there any need to translate the guides into german? I would translate mine (and the others, of course) into german. Just drop a line here or write an email.
How to do with this forum?
http://avengedninefold.in-goo.net/index.htm
It's an phpbb forum. Try the
phpbb guide's
.
Post by
Coyl
Does it work for DHTML?
I would like to create a web page which loads more data as user clicks on "how do I get this item" or "What quests does this npc offer" links. An AJAX query will be sent and result is returned by server. The page script will add some more tags into DOM.The question is - will the newly created links have wowhead-powered tooltips? looks like they will not, since noone sets onmouserover handler for them after power.js has been executed.
So, dear Wowhead team, would you be so kind to add a function or tell which of those obfustacted AD.AB() should one call to remove event-handlers for already-non-existent links and add for all new ones...
Post by
155731
This post was from a user who has deleted their account.
Post by
trombi
Hi there,
First of all: thanks for bringing the wisdom of wowhead over to germany, guildmates really love it and i don't have to translate stuff form them anymore /cheers. Yet somehow, german umlauts (ä, ö, ü, ß) won't work correctly when I include the power.js in a html-file of my own.
For example: I made a file contianing a link to Grom'tor's Charge (
http://de.wowhead.com/?item=31071
). When I mouse-over the link umlauts are displayd incorrect. When I now click the link umlauts are fine, both in the general item information and in the tooltip that shows when hovering over Grom'tor's Charge in the "Rewards From" - Area.
Tested on Firefox 2 and IE 6
Any Suggestions?
edit: nvm, works fine when using UTF-8... :)
Post by
marcimi
Since Wowhead is now available in different languages ( thanks for this great feature! ), is there a way to us the widget feature in different languages?
Just check out the
demo page
. It's too easy.
Wowhead-Tooltips in your language!
The only thing you have to do is: Link to the localized version of your item/spell. Sound's easy? Check out the examples:
Wand of the Cleansing Light
(Englisch, default)
Zauberstab des reinigenden Lichtes
(German)
Baguette de lumière purificatrice
(French)
Varita de luz purificadora
(Spanish)
Maybe you want this to work with your BBCode aswell. Just change prefix in the URL to wowhead. Without a prefix wowhead will return the english version of the item.
de.
wowhead.com: German
fr.
wowhead.com: French
es.
wowhead.com: Spanish
Post by
Leonti
Cool! Thanks!
Post by
DSitC
I'm posting a small an painless guide to enable wowhead item/spell/quest links in the
UNB (Unclassified NewsBoard)
. It's a rather unknown but very powerful bb system. My guild site is running it, if you want to
take a look
.
All you need to do is to write a plugin for the board. The plugin consists of a core file and one additional file per language you wish to support.
The main plugin file:
abbc_wowhead.php
<?php
if (!defined('UNB_RUNNING')) die('Not a UNB environment in ' . basename(__FILE__));
// Define plug-in meta-data
UnbPluginMeta('Adds the abbc codes "name" and "name" that provide hover tooltips for wowhead links.');
UnbPluginMeta('Martin Gelder <darkspotinthecorner@gmail.com>', 'author');
UnbPluginMeta('de en', 'lang');
UnbPluginMeta('unb.stable.1.6 unb.stable.1.6.99', 'version');
UnbPluginMeta('unb.testing.1.6.rc.2', 'version');
UnbPluginMeta('unb.devel.20051012', 'version');
if (!UnbPluginEnabled()) return;
// Hook function to add the tags
//
function UnbHookWowheadAbbc(&$data) {
global $ABBC;
$ABBC = array(
'htmlopen1' => "~'<a class=\"opennew\" target=\"_blank\" href=\"'.UteTranslate(\"wowhead.link.base\").'?item='.intval('$1').'\" title=\"'.t2i(abbcs('$2')).'\">'.",
'htmlcont1' => "abbcs('$2').",
'htmlclose1' => "'</a>'",
'textcont1' => '$2 ',
'htmlblock' => false,
'minparam' => 1,
'maxparam' => 1,
'openclose' => true,
'nocase' => true,
'nested' => false,
'proccont' => true,
'omitempty' => true,
'subset' => ABBC_URL
);
$ABBC = array(
'htmlopen1' => "~'<a class=\"opennew\" target=\"_blank\" href=\"'.UteTranslate(\"wowhead.link.base\").'?spell='.intval('$1').'\" title=\"'.t2i(abbcs('$2')).'\">'.",
'htmlcont1' => "abbcs('$2').",
'htmlclose1' => "'</a>'",
'textcont1' => '$2 ',
'htmlblock' => false,
'minparam' => 1,
'maxparam' => 1,
'openclose' => true,
'nocase' => true,
'nested' => false,
'proccont' => true,
'omitempty' => true,
'subset' => ABBC_URL
);
$ABBC = array(
'htmlopen1' => "~'<a class=\"opennew\" target=\"_blank\" href=\"'.UteTranslate(\"wowhead.link.base\").'?quest='.intval('$1').'\" title=\"'.t2i(abbcs('$2')).'\">'.",
'htmlcont1' => "abbcs('$2').",
'htmlclose1' => "'</a>'",
'textcont1' => '$2 ',
'htmlblock' => false,
'minparam' => 1,
'maxparam' => 1,
'openclose' => true,
'nocase' => true,
'nested' => false,
'proccont' => true,
'omitempty' => true,
'subset' => ABBC_URL
);
return true;
}
function UnbHookWowheadJavascript(&$data) {
global $UNB;
$data .= '<script src="
http://www.wowhead.com/widgets/power.js"></script>'
."\n";
return true;
}
// Register hook functions
UnbRegisterHook('abbc.userconfig', 'UnbHookWowheadAbbc');
UnbRegisterHook('page.htmlhead', 'UnbHookWowheadJavascript');
?>
The english language file:
abbc_wowhead.en.php
<?php
// Language : English (en)
// Encoding : UTF-8 (without BOM) (auto-detect: °°°°°)
// Reference: none (primary translation)
//
// See this web page for information on how to edit this file:
//
http://newsboard.unclassified.de/devel/docs/translating
// Base
$UNB_T = '
http://www.wowhead.com/';
?>
The german language file:
abbc_wowhead.de.php
<?php
// Language : German (de)
// Encoding : UTF-8 (without BOM) (auto-detect: °°°°°)
// Reference: none (primary translation)
//
// See this web page for information on how to edit this file:
//
http://newsboard.unclassified.de/devel/docs/translating
// Base
$UNB_T = '
http://de.wowhead.com/';
?>
That's it. Just place those 3 (or more, if you have additional translations) files inside your
<UNB-Root>/unb_lib/plugins
directory and you are good to go. ;-)
Post by
156469
This post was from a user who has deleted their account.
Post by
155731
This post was from a user who has deleted their account.
Post by
33829
This post was from a user who has deleted their account.
Post by
marcimi
anyone solved the forumotion phpbb2 / 3 issue? online template´s crap
It's not possible to use wowhead-tooltips on forumotion-boards because you can not edit the source of a template. I tried the "Other Meta-Tags"-Box to place the power.js in it but the software has filtered the script.
Maybe you can ask the Forumotion-Administration to place the script in your board/template.
Post by
33829
This post was from a user who has deleted their account.
Post by
157396
This post was from a user who has deleted their account.
Post by
155731
This post was from a user who has deleted their account.
Post by
cwpc
Has anyone gotten this to work with php-fusion based sites?
Post by
timtheenchantor
Looking to add this to Portal XL 4.0, PHPBB3. Anyone been able to do this successfully?
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.
© 2021 Fanbyte