News:

Wondering if this will always be free?  See why free is better.

Main Menu

WoW - World of Warcraft Tooltips

Started by Garou, March 28, 2009, 04:31:05 AM

Previous topic - Next topic

Aoife

Love the addon, Garou. Just a slight problem when trying to use the [wow][/wow] tag - no tooltip shows and i get [an error occurred while processing this directive] when I click on the link.  entering the url with either

http://www.wowhead.com/?item=30987

or

Lightbringer Faceguard

works fine.

any ideas?

Garou

The update this morning was supposed to fix that. You enter either
[wow]Lightbringer Faceguard[/wow]
or
[wow]30987[/wow]

The result should be a tool tip with the name of the item using the items quality color (purple in this case) linking to
http://www.wowhead.com/item=30987

Note that due to a change Wowhead has made, it should say item= and not ?item= now.

Aoife

Quote from: Garou on April 18, 2010, 11:27:32 AM
The update this morning was supposed to fix that. You enter either
[wow]Lightbringer Faceguard[/wow]
or
[wow]30987[/wow]

The result should be a tool tip with the name of the item using the items quality color (purple in this case) linking to
http://www.wowhead.com/item=30987

Note that due to a change Wowhead has made, it should say item= and not ?item= now.


neither of these work while the other methods posted do. i have the latest version and there is no ? in the code in wowhead_wrapper.php.  note that the tooltips work as I posted them and both have the ? in it.  go figure.  maybe i need to add the ? back to the wowhead_wrapper.php line?


EDIT:  nope, that didn't work either.


Garou

Did you have this mod working before todays update? There are other know possible issues that are dependant on server settings some of which you may need to contact your host about. These are listed on ther front page of this thread, the download page for the mod, and the readme file in the mod package.

Also a link to the site would help as there are few things I might be able to spot by looking at the site.

Aoife

Quote from: Garou on April 18, 2010, 03:32:49 PM
Did you have this mod working before todays update? There are other know possible issues that are dependant on server settings some of which you may need to contact your host about. These are listed on ther front page of this thread, the download page for the mod, and the readme file in the mod package.

Also a link to the site would help as there are few things I might be able to spot by looking at the site.

i just installed it today. i'll take a look again at what you have as possible causes. and our forums are at http://www.divinealliance.org/forums if you want to take a look.

again, the tooltips work as they should when written like this:

http://www.wowhead.com/?item=30987

and like this

Lightbringer Faceguard

but not with the BBC [wow]item number[/wow] or [wow]item name[/wow]

i'm using the default theme in 2.0 RC3

if the BBC doesn't work, it's no big deal because the other methods do - just a little more time consuming

thanks for your help with this!


Garou

Try putting a copy of the wow folder in the root directory of the site. The script calls for the wow folder to be at yoursite/wow instead of yoursite/forums/wow however SMF lacks a way for me to add the folder outside of the forum directory. Sometimes changing the index.template.php

<script src="wow/jquery-1.3.2.min.js"></script>
<script src="wow/wowhead_linker.js"></script>

to the full path your site uses helps as well. ie...

http://yoursite/wow...

Try alternate file permission settings for the files in the wow folder. Make sure your site is capable of using fopen and or curl, you may have to contact your host to take care of that. If your host is using mod_security then you'll have to have them whitelist the files in the wow folder.

Aoife

ok, I tried everything you suggested and still doesn't work. Since the other two methods work as intended, I'm not going to worry about it any more.

Thanks for your time and help!

;D


Aoife

Just for kicks I changed the permissions settings in all the files in the wow folder to 0755.

This is what I get when I click on the link that is created using [wow]item number[/wow] or [wow]item name[/wow]:

QuoteThis XML file does not appear to have any style information associated with it. The document tree is shown below.
     

<wowhead>

<item id="30987">
<name>Lightbringer Faceguard</name>
<level>146</level>
<gearScore>105.667</gearScore>
<quality id="4">Epic</quality>
<class id="4">Armor</class>
<subclass id="4">Plate Armor</subclass>
<icon displayId="45684">INV_Helmet_96</icon>
<inventorySlot id="1">Head</inventorySlot>

<htmlTooltip>
<table><tr><td><b class="q4">Lightbringer Faceguard</b><br /><!--bo-->Binds when picked up<table width="100%"><tr><td>Head</td><th>Plate</th></tr></table><span>1483 Armor</span><br />+50 Strength<br />+67 Stamina<!--e--><br /><a href="http://www.wowhead.com/?items&amp;filter=cr=81;crs=3;crv=0" class="socket-yellow q0">Yellow Socket</a><br /><a href="http://www.wowhead.com/?items&amp;filter=cr=81;crs=1;crv=0" class="socket-meta q0">Meta Socket</a><!--ps--><br /><!--sb--><span class="q0">Socket Bonus: +4 Dodge Rating</span><br />Durability 100 / 100<br />Classes: <span class="c2">Paladin</span><br />Requires Level 70<br />Item Level 146</td></tr></table><table><tr><td><span class="q2">Equip: Increases defense rating by <!--rtg12-->28&nbsp;<small>(<!--rtg%12-->11.84&nbsp;@&nbsp;L<!--lvl-->70)</small>.</span><br /><span class="q2">Equip: Increases your dodge rating by <!--rtg13-->37&nbsp;<small>(<!--rtg%13-->1.96%&nbsp;@&nbsp;L<!--lvl-->70)</small>.</span><br /><br /><span class="q"><a href="http://www.wowhead.com/?itemset=679" class="q">Lightbringer Armor</a> (0/8)</span><div class="q0 indent"><span><!--si30991--><a href="http://www.wowhead.com/?item=30991">Lightbringer Chestguard</a></span><br /><span><!--si30987--><a href="http://www.wowhead.com/?item=30987">Lightbringer Faceguard</a></span><br /><span><!--si30985--><a href="http://www.wowhead.com/?item=30985">Lightbringer Handguards</a></span><br /><span><!--si30995--><a href="http://www.wowhead.com/?item=30995">Lightbringer Legguards</a></span><br /><span><!--si30998--><a href="http://www.wowhead.com/?item=30998">Lightbringer Shoulderguards</a></span><br /><span><!--si34488--><a href="http://www.wowhead.com/?item=34488">Lightbringer Waistguard</a></span><br /><span><!--si34433--><a href="http://www.wowhead.com/?item=34433">Lightbringer Wristguards</a></span><br /><span><!--si34560--><a href="http://www.wowhead.com/?item=34560">Lightbringer Stompers</a></span></div><br /><span class="q0"><span>(2) Set: <a href="http://www.wowhead.com/?spell=38421">Increases the mana gained from your Spiritual Attunement ability by 10%.</a></span><br /><span>(4) Set: <a href="http://www.wowhead.com/?spell=38422">Increases the damage dealt by your Consecration ability by 10%.</a></span></span></td></tr></table><!--?30987:1:80:70-->
</htmlTooltip>

<json>
"armor":1483,"classs":4,"displayid":45684,"id":30987,"level":146,"name":"3Lightbringer Faceguard","reqclass":2,"reqlevel":70,"slot":1,"slotbak":1,"source":[5],"sourcemore":[{"n":"Tydormu","t":1,"ti":23381,"z":3606}],"subclass":4
</json>

<jsonEquip>
"armor":1483,"classes":2,"defrtng":28,"displayid":45684,"dodgertng":37,"dura":100,"itemset":679,"nsockets":2,"reqlevel":70,"slotbak":1,"socket1":4,"socket2":1,"socketbonus":2871,"sta":67,"str":50
</jsonEquip>
<link>http://www.wowhead.com/item=30987</link>
</item>
</wowhead>







Garou

Ok that is the raw xml data for the item in question, it could be a further problem with permissions but traditionally when you get that far its a mod_security issue and your host will need to take care of that. They will need to whitelist the files in the wow folder and the info on how to do that can be found here... http://blog.modsecurity.org/2007/02/handling-false.html

Aoife

#209
Quote from: Garou on April 20, 2010, 06:23:27 AM
Ok that is the raw xml data for the item in question, it could be a further problem with permissions but traditionally when you get that far its a mod_security issue and your host will need to take care of that. They will need to whitelist the files in the wow folder and the info on how to do that can be found here... http://blog.modsecurity.org/2007/02/handling-false.html


My webhost said if I need a specific port to be opened, they can open the port but I have to get a dedicated IP address. I said no, just need the files whitelisted IF they are using ModSecurity. Waiting for a reply....


UPDATE: Webhost said 'no, we won't whitelist anything.'  So end of story.



Garou

Time to find a new host. They are sopposed to work for you and if they wont then its time to dump them.

I recomend www.blutoshosting.com The Little Bluto is perfect for a guild site and only costs $4.50 a month.

Aoife

Quote from: Garou on April 22, 2010, 08:16:43 PM
Time to find a new host. They are sopposed to work for you and if they wont then its time to dump them.

I recomend www.blutoshosting.com The Little Bluto is perfect for a guild site and only costs $4.50 a month.

Oh that will not be happening. I have several domains hosted there, along with the associated websites, and I've been with them for almost 10 years. I won't dump them over one relatively small issue like this. The tooltips work for the most part, just the WoW button doesn't. I can live with that and so can the members of the forums.

Thanks for your help.

Arantor

mod_security actually causes a large number of issues and over time you may find other random things get broken by it. Any host that thinks mod_security actually helps with security without understanding its consequences is probably best to be avoided on general lack of competence grounds.

Wolfchylde

#213
God, I really really REALLY wish I wasn't having the same problem as everyone else.

Anyhow, here it goes: 
We're in the middle of a website swap and moving over to SMF2 RC3 currently.

Godaddy's the host, already asked and they aren't running any security software that would block a php script, so I have no bloody idea what I'm doing wrong here.

I can get a link to you for my site to check for yourself, we're using a theme, but even on the default theme it behaves the same way.

I BELIEVE the test post is available to a public user, if not feel free to make an account and (hopefully nothing breaks *crosses fingers*) be able to see.

anytime I wrap an item using the BBCode the link comes up like this: http://www.orderoftheclaw.com.previewdns.com/forum/wow/wowhead_wrapper.php?item=The%20Unstoppable%20Force

However, a link formatted like this: http://www.wowhead.com/?item=30987 brings up the popup (even though the link color remains normal).

trying to wrap or use a wowhead link will change the formatting of the text to some degree, but there's no link.

Suggestions?  I really appreciate all the (probably hair-tearingly frustrating) help you've been offering!

(I'm also in the middle of packing to move, as my other half and I just bought a house, NORMALLY I'd just keep hacking away at it until my brain melted out my ears, but I just figured I'd cry 'uncle' and ask for help :D)

we're using PHP 5.2.5, I can attach whatever files are needed if you want to inspect them.  I've been at this all day with limited success.

Edit - NVM, I dunno WHAT I did but it's working now *shrug* YAY?

Bassline

Hey, Thanks for taking your time on this mod. I am having some problems tho.

When using the [wow][/wow] tag the link doesnt work, I get the incorrect item color and no tooltip, How ever the text is clickable so when i click i get this on a new page.

This XML file does not appear to have any style information associated with it. The document tree is shown below.
     


And then i get this
<wowhead>

<item id="50379">
<name>Battered Hilt</name>
<level>1</level>
<gearScore>0</gearScore>
<quality id="4">Epic</quality>
<class id="12">Quest</class>
<subclass id="0"></subclass>
<icon displayId="63120">inv_qiraj_hiltornate</icon>
<inventorySlot id="0"/>

<htmlTooltip>
<table><tr><td><b class="q4">Battered Hilt</b><br /><a href="http://www.wowhead.com/?quest=14443" class="q1">This Item Begins a Quest</a><br />Races: <a href="http://www.wowhead.com/race=1" class="q1">Human</a>, <a href="http://www.wowhead.com/race=3" class="q1">Dwarf</a>, <a href="http://www.wowhead.com/race=4" class="q1">Night Elf</a>, <a href="http://www.wowhead.com/race=7" class="q1">Gnome</a>, <a href="http://www.wowhead.com/race=11" class="q1">Draenei</a><br />Requires Level 80<br />Item Level 1</td></tr></table><table><tr><td><span class="q">&quot;This scratched and dented hilt once belonged to an ancient sword.&quot;</span></td></tr></table>
</htmlTooltip>

<json>
"classs":12,"id":50379,"level":1,"name":"3Battered Hilt","reqlevel":80,"reqrace":2098253,"side":1,"slot":0,"source":[2],"subclass":0
</json>

<jsonEquip>
"avgbuyout":100000000,"races":2098253,"reqlevel":80
</jsonEquip>
<link>http://www.wowhead.com/item=50379</link>
</item>
</wowhead>


underneath, I have done everything needed to install or atleast im hoping i have, i have tried installing cURL on my site which says installed correctly however im un sure if it has.

i am using SMF 1.1.11 and the wow-dk theme.

Any help appreciated thank you :D

tanyril

Hey Garou, Just FYI I'm getting the
"This XML file does not appear to have any style information associated with it. The document tree is shown below." error as well. Nothing has changed on my server as far as configuration goes. When I link things using the wowhead power.js method it works perfectly.
     

mursalat

#216
hi,
i just set up the system on wow-freaks.com [nofollow] and i get a "[an error occurred while processing this directive] "
if you want to see it, u can go to:
http://www.wow-freaks.com/general-discussion/welcome-to-smf!/ [nofollow]

and on clicking the link i get it:
http://www.wow-freaks.com/wow/wowhead_wrapper.php?item=Lightbringer%20Faceguard [nofollow]

other mods i got are:
Pretty URLs
SA Facebook Connect
And This one..

so wats the prob? any idea?

stfox100

Quote from: Arantor on April 23, 2010, 11:48:06 AM
mod_security actually causes a large number of issues and over time you may find other random things get broken by it. Any host that thinks mod_security actually helps with security without understanding its consequences is probably best to be avoided on general lack of competence grounds.

Nice....Good blanket statement which will cause the general public to believe mod_security is a bad thing.. It happened to be one update in particular that started causing problems. Most hosts use an automatic software update system, instead of checking every server for updates. mod_security actually saved many hosts the headache of security holes left in their configuration, and software with security holes in it. Hosts who recognize that certain rules can be changed to fit certain needs have no issue.
You just scared off anyone who may have wanted to host with someone who uses it. It has been clearly outlined in this thread how the issue with this mod can be fixed.
The hole that the mod_security fixed was closed with the update, and it was and is a possible security nightmare. I won't say what it is exactly, but the hackers know already.
I have servers that use it, and servers that don't, and both work fine and have their uses. I suggest that clients check with their current, or possible future host to see if it will effect them. There is no way for the average user to know what any host is using for security measures.
Throwing out a statement like that is just reckless in my opinion. And has the possibility of turning clients away from a host, when this mod would work fine on their servers with mod_security.

Aoife

 :o

I posted my issues here previously.

Yesterday a new guildie posted and included some items with the [wow] tags and the mouseovers worked for me. And then I replied to her post and the mouseovers quit working again.  So this has me a bit confused now (more so than usual).

On a whim I tried the mouseovers in Firefox 4.0 beta, and they still didn't work.  So I tried the mouseovers in IE and guess what?  They worked. Until I posted a reply again and they quit working in IE too.

So anybody have any ideas?




bigguy_132

Having a few problems that I have not been able to solve once upgrading to 1.4. The first issue I am having is that the [wow][/wow] tags working in only certain cases. When inserting the code as shown [wow]Quel'Delar, Cunning of the Shadows[/wow] The link that is show when hovering over it is http://thecursedmalygos.com/forum/wow/wowhead_wrapper.php?item=Quel%27Delar,%20Cunning%20of%20the%20Shadows [nofollow] with no tool tip. But when I have [wow]http://www.wowhead.com/item=50046 [nofollow][/wow] the tool tip shows just fine and I am able to see it. I am using a custom theme but have made all the changes as reported in the first topic. I had no problems in 1.1 but once upgraded to 1.4 the problems stated. I have the wow folder in my main SMF folder it is located at www.thecursedmalygos.com/forum/wow [nofollow] with permissions 644.

Second problem. Although the [wow]http://www.wowhead.com/item=50046 [nofollow][/wow] works the link does not take me to wowhead instead has the url of my forum in there as well. Example: http://thecursedmalygos.com/forum/wow/wowhead_wrapper.php?item=http://www.wowhead.com/item=50046 [nofollow] I am not sure what is causing the issue but it is frustrating me. Any advice is welcome. Thanks in advance.

Example: http://thecursedmalygos.com/forum/index.php?topic=10.msg13#msg13 [nofollow]

Advertisement: