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)

Wayne Luke 01-03-2008 03:28 PM

This causes an Operation Aborted error in Internet Explorer 7 if you mouse over the link before the entire page (including images) is finished loading. Any way to prevent the tooltip from popping up if the page is still loading?

At first I thought it was because I was using an older version of 0.29 but I just upgraded to 0.35a and it still occurs.

sweede 01-03-2008 08:39 PM

I don't think there would be anything you could do. It sounds like it may be a problem with either loading the script from another website and the browser security settings. But im no java expert by anymeans.

I also can't reproduce this on my site in any way.

Maybe have the javascript included after the page footer?

BlackRabbit1971 01-11-2008 10:51 PM

Anychance of having an option setting to set link clicks to open a new page or have the same page change, please?

sweede 01-11-2008 11:02 PM

you know, i never really click those links, so i never thought of doing that.

i don't have time to add that in today , but i'll get it tomorrow.

BlackRabbit1971 01-12-2008 11:29 PM

Thanks man :)

sweede 01-15-2008 02:10 PM

Quote:

Originally Posted by BlackRabbit1971 (Post 1420423)
Thanks man :)

Updated. Default is to open in new window, uses the target="_blank" method , which i dont think is xhtml proper. i'm to lazy to look up how to do it XHTML proper :p

BlackRabbit1971 01-15-2008 05:23 PM

Yeah ya right, hmmm just not doing it on mines... I'll look for the xhtml for it see if I can play with it.. bit weird though..

sweede 01-15-2008 06:22 PM

Quote:

Originally Posted by BlackRabbit1971 (Post 1422002)
Yeah ya right, hmmm just not doing it on mines... I'll look for the xhtml for it see if I can play with it.. bit weird though..

clear your post cache so that it rebuilds posts.

BlackRabbit1971 01-17-2008 04:52 PM

I take it you mean me to "Rebuild Post Cache" from the Maintenance>>Update Counters section? If you did, that didn't work either, very weird.

Mother_Dee 01-21-2008 02:36 AM

My issue appears to be only when I'm trying to post a new thread with a WoWhead link (not using BBcode):

Code:

PHP Fatal error:  Call to undefined function print_log() in /forum/includes/functions_newpost.php(175) : eval()'d code on line 64
and I seem to have narrowed the issue down to the "Wowhead URL TO Item code" which takes its code from another hack that seems to conflict with other functions on occasion (Ajax chatboxes being one.) I'll look at it more after some much needed sleep.

(Edit: At this point just disabling that plugin portion seems to do the trick. I'd still rather find the conflict and resolve but at this point not having a whitepage when someone tries to post a WoWHead hyperlink will have to do. ^.^)

sweede 01-21-2008 02:44 AM

Quote:

Originally Posted by Mother_Dee (Post 1425573)
My issue appears to be only when I'm trying to post a new thread with a WoWhead link (not using BBcode):

Code:

PHP Fatal error:  Call to undefined function print_log() in /forum/includes/functions_newpost.php(175) : eval()'d code on line 64
and I seem to have narrowed the issue down to the "Wowhead URL TO Item code" which takes its code from another hack that seems to conflict with other functions on occasion (Ajax chatboxes being one.) I'll look at it more after some much needed sleep.

(Edit: At this point just disabling that plugin portion seems to do the trick. I'd still rather find the conflict and resolve but at this point not having a whitepage when someone tries to post a WoWHead hyperlink will have to do. ^.^)


Fixed, use the 0.3.6a file.

mikeylikesitz 01-21-2008 06:19 PM

I am also having members get the IE aborted error with this plug in, one was trying to look at a specific thread that was not in the wow section that had the tool tips, the other was trying to view the forum main page. I have only installed the .36a version, im going to try and troubleshoot to see where things go wrong.

sweede 01-21-2008 06:29 PM

Quote:

Originally Posted by mikeylikesitz (Post 1426045)
I am also having members get the IE aborted error with this plug in, one was trying to look at a specific thread that was not in the wow section that had the tool tips, the other was trying to view the forum main page. I have only installed the .36a version, im going to try and troubleshoot to see where things go wrong.

http://www.wowhead.com/?forums&topic=7708&p=80943

I include the wowhead.js script at the end of the </head> tag.

try this,
In your Admin CP, go to Plugins & Products -> Plugin Manager -> find "Wowhead setup" and edit that.

The 2nd line

Code:

$vbulletin->templatecache["headinclude"] = $vbulletin->templatecache["headinclude"].$vbulletin->templatecache["wowhead_headerinclude"];
Change that too
Code:

$vbulletin->templatecache["headinclude"] = $vbulletin->templatecache["wowhead_headerinclude"].$vbulletin->templatecache["headinclude"];

mikeylikesitz 01-21-2008 09:18 PM

ok thank you. I will try it and see if the members report anything.

mikeylikesitz 01-21-2008 11:33 PM

ok i edited and had the same issue. I started to troubleshoot some and came a little further. As that posting you listed, the forum home doesnt have the "<base href=" in it yet the forums themseves do which causes the issue not to pop up on loading the forum page but it does pop up when someone goes into a forum to read a thread. Not sure how to move the code so that the js script is loaded before that line in the forums themselves.

nkodengar 01-22-2008 12:51 PM

Great mod, is it possible to change the colour of item links so common items will be readable on the default vB style?

sweede 01-22-2008 04:04 PM

Quote:

Originally Posted by mikeylikesitz (Post 1426269)
ok i edited and had the same issue. I started to troubleshoot some and came a little further. As that posting you listed, the forum home doesnt have the "<base href=" in it yet the forums themseves do which causes the issue not to pop up on loading the forum page but it does pop up when someone goes into a forum to read a thread. Not sure how to move the code so that the js script is loaded before that line in the forums themselves.

PM me a link to your forums so i can see where you're talking bout?

sweede 01-22-2008 04:06 PM

Quote:

Originally Posted by nkodengar (Post 1426619)
Great mod, is it possible to change the colour of item links so common items will be readable on the default vB style?


The style comes from wowhead.com , but you can override it by adding a CSS style after the javascript include. I'm upgrading my forums atm but when i am finished i'll poke around and add a way to override the default colors.

sweede 01-23-2008 04:54 PM

Quote:

Originally Posted by nkodengar (Post 1426619)
Great mod, is it possible to change the colour of item links so common items will be readable on the default vB style?

See attached Image

Caerydd 01-24-2008 11:38 AM

Just a quick notification that this version of item tooltips (I have also installed gItemstats in the past) works perfectly with vbadvanced.

sweede 01-24-2008 01:18 PM

Sorry guys, seems i left the debuging functions in there yet again, please use the 0.3.7a version.

Caerydd 01-24-2008 03:15 PM

Your changelog says 0.3.6a , fyi. And thanks for the quick fix :)

sweede 01-24-2008 04:00 PM

ya, quick edit too :p

I noticed an issue with the Warglaives of Azzinoth (we had the off hand drop last night w00t1). since there are two different items but they both have the same name, you can't link both the Mainhand and Offhand

you either have to use item IDs
[item]31323[/item] or the URL link. To use the wowhead URL link, you have to change 1 line of code.

In the "Wowhead URL TO Item code" Plugin, find the line
Code:

$name = $xmlobj->parseddata[item][name];
and change it to
Code:

$name = $xmlobj->parseddata[item][id];

Caerydd 01-24-2008 04:55 PM

Not really an issue for my guild yet >> Still on t4/t5 stuff, but thanks for the info and congratulations! ^^ I'm sure there's others out there using this that will

nkodengar 01-25-2008 12:09 PM

Awesome, thanks :)

BennehSmK 01-26-2008 06:01 PM

Alright,

I have just installed AME and when updating the posts to convert to ame it appears to have disabled all the wowhead links, the text now just reads [item]Name of Item[/item].

If I edit and save the post the wowhead links start to work again.

Is tehre a quick way of going through all posts and edit then save them, if I have to go through by hand it will take me ages :(

I used Rebuild Post cache after manually correcting a few (edit/save) and it set those back to :(

CremeEgg 01-29-2008 06:27 PM

A couple of quick questions:

1. Why does rebuilding the post cache break all the item links?
2. Would it be possible to add the [item] tags to the editor? I saw a bit about it on the wowhead forums page you linked, but didn't want to add it incase it conflicted with this mod.

sweede 01-29-2008 06:35 PM

Quote:

Originally Posted by CremeEgg (Post 1431931)
A couple of quick questions:

1. Why does rebuilding the post cache break all the item links?
2. Would it be possible to add the [item] tags to the editor? I saw a bit about it on the wowhead forums page you linked, but didn't want to add it incase it conflicted with this mod.

I'm going to have to do some good testing to see why rebuilding post cache removes item links and i don't have a test board setup atm, but i'll get that done today.

As for the item tag to the editor, that'll be added shortly. i'll have to stea.. i mean, borrow a wowhead icon for it. The main reason i havent done this in the past is because I didnt want to have to add any additional files. Just a simple XML upload and that was it.

CremeEgg 01-29-2008 08:11 PM

Quote:

Originally Posted by sweede (Post 1431938)
I'm going to have to do some good testing to see why rebuilding post cache removes item links and i don't have a test board setup atm, but i'll get that done today.

As for the item tag to the editor, that'll be added shortly. i'll have to stea.. i mean, borrow a wowhead icon for it. The main reason i havent done this in the past is because I didnt want to have to add any additional files. Just a simple XML upload and that was it.

Cool stuff!

I really have to thank you for doing this, I've been pulling my hair out for a couple of weeks with the old generic ItemStats 1.5.5 and a wowhead update I found on the eqdkp forums. Not a single item would work correctly or add to the db and images wouldn't show, it was just a mess.

Removed all that crap, uploaded this and ta-da, all working again! So major Kudos to you dude. I'm sure people won't mind uploading just one image, and its a nice touch for the not so savvy users on our forums.

sweede 01-29-2008 08:22 PM

Quote:

Originally Posted by CremeEgg (Post 1431996)
Cool stuff!
I'm sure people won't mind uploading just one image

It wasnt as hard as i thought, but i'm sure that if one of the vbb guys looks at my plugin they'd be like "OMG This is how you do it!!!" and then write like, a single line that takes care of what it took me 40 lines.

Anyways, expect an update later today or early tomorrow.

mikeylikesitz 01-29-2008 08:29 PM

any word on the IE issue, i wasnt too worried about it at first but i ended up with 25-30 members complaining at me about not being able to get to the site because of the operation aborted error. I really like this mod and want to use it but i cant until i get it figured out.

sweede 01-29-2008 08:42 PM

Quote:

Originally Posted by mikeylikesitz (Post 1432007)
any word on the IE issue, i wasnt too worried about it at first but i ended up with 25-30 members complaining at me about not being able to get to the site because of the operation aborted error. I really like this mod and want to use it but i cant until i get it figured out.

I had made a post ealier about what i found on wowhead.com

Looking at the code on your site, http://www.gamersvault.net , I noticed that you have
HTML Code:

<base href="http://www.gamersvault.net/forum/" />
Immediatly after the opening <head> tag.

Downloaded the latest version 0.3.7a , install it and then check the source code for your site. It should look like
HTML Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" lang="en">
<head>
<!-- WoWHead Mouseover-Tooltips -->
<script src="http://www.wowhead.com/widgets/power.js" type="text/javascript"></script>
<!-- /WoWHead Mouseover-Tooltips -->
.. bunch of other stuff ...
<base href="http://www.gamersvault.net/forum/" />
.....


mikeylikesitz 01-29-2008 11:14 PM

Ill try the new version and report back. As a note, i havent had an issue with my IE 7 on vista. I would rather they all use firefox but i cant make them change.

sweede 01-30-2008 12:40 AM

When i view your source (visiting your testing item links page), i see
HTML Code:

<head>
<base href="http://www.gamersvault.net/forum/" />
        <!-- WoWHead Mouseover-Tooltips -->
<script src="http://www.wowhead.com/widgets/power.js" type="text/javascript"></script>

When i visit a thread w/ on my forum
HTML Code:

<head>
        <!-- WoWHead Mouseover-Tooltips -->
<script src="http://www.wowhead.com/widgets/power.js" type="text/javascript"></script>
<!-- /WoWHead Mouseover-Tooltips -->


I think the template is SHOWTHREAD,

for example, my template is
HTML Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>

        $headinclude
...............

you have the base tag before the headerinclude, which is causing the problem.

sweede 01-30-2008 12:48 AM

I plan on adding support for spells ( http://www.wowhead.com/?spell=20201 ) tomorrow
[spell] Arcanite Rod[/spell], etc

mikeylikesitz 01-30-2008 04:37 AM

i think i narrowed it down, it seems to be a vbSEO confliction


HTML Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" lang="en">
<head>
    <!-- WoWHead Mouseover-Tooltips -->
<script src="http://www.wowhead.com/widgets/power.js" type="text/javascript"></script>
<!-- /WoWHead Mouseover-Tooltips -->

is with the vbSEO product disabled


HTML Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" lang="en">
<head>
<base href="http://www.gamersvault.net/forum/" />
    <!-- WoWHead Mouseover-Tooltips -->
<script src="http://www.wowhead.com/widgets/power.js" type="text/javascript"></script>
<!-- /WoWHead Mouseover-Tooltips -->

is with the vbSEO product enabled.

Both were taken from the same thread as i noticed it wasnt an issue on my dev server which does not have vbseo enabled.

Caerydd 01-30-2008 07:45 AM

Spell support :O Genius!

CremeEgg 01-30-2008 09:56 AM

Quote:

Originally Posted by sweede (Post 1432147)
I plan on adding support for spells ( http://www.wowhead.com/?spell=20201 ) tomorrow
[spell] Arcanite Rod[/spell], etc

Sounds ace, I noticed that it already works with http links to spells, but yeah would be great to see it with spell tags too.

Don't forget to add it to the editor :p

Evolution06 01-30-2008 07:43 PM

How come I get this error code while uploading the product to 3.6.8?

Code:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/rdarena/public_html/forums/admincp/plugin.php(1970) : eval()'d code on line 4

sweede 01-30-2008 11:24 PM

Quote:

Originally Posted by Evolution06 (Post 1432676)
How come I get this error code while uploading the product to 3.6.8?

Code:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/rdarena/public_html/forums/admincp/plugin.php(1970) : eval()'d code on line 4

hmm..

It's to bad that it couldnt give me more information about whats going on here but i think i have an idea.

Expect a minor update tonight.


All times are GMT. The time now is 01:37 PM.

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.01535 seconds
  • Memory Usage 1,850KB
  • 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
  • (8)bbcode_code_printable
  • (7)bbcode_html_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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