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)

Deepdog009 05-04-2008 12:08 AM

Here are some minor adjustments that i've been playing around with...

unzip and view
testertips1.html

I tested with Sweede's mod and it works Ok...

ssslippy 05-04-2008 05:54 PM

The wowwiki relocated the image. You should not be using others bandwith to host any image. This package should be updated to include the image if u are allowed to, and then the code be updated to point to that.

KURTZ 05-04-2008 09:19 PM

i put mine onto my ftp ... :)

sweede 05-04-2008 10:03 PM

Wowwiki merged with wikia as it's primary wiki backend / host

the new URL is
http://images.wikia.com/wowwiki/imag...head-22x22.png

Plugins & Products -> Plugin Manager

Search for "WoWhead - Adds Icon to toolbar" and edit

the 3rd line in the plugin, change to
Code:

$wowhead_itemcode[buttonimage] = "http://images.wikia.com/wowwiki/images/6/6e/Icon-wowhead-22x22.png";

Danoxth 05-05-2008 01:57 PM

Problem solved, thanks!

Like KURTZ I just popped it on my server :)

sweede 05-05-2008 11:08 PM

Quote:

Originally Posted by Deepdog009 (Post 1507500)
Here are some minor adjustments that i've been playing around with...

unzip and view
testertips1.html

I tested with Sweede's mod and it works Ok...

Thats an interesting use. I'm not sure what practicale uses it would have ;) but i can see people wanting to use it for spoiler text or something like that

Kinneas 05-08-2008 11:37 AM

Thanks for this :)

Sadly Gryphon's version stopped working for me all of a sudden and I haven't been able to fix it. This works just fine though.

sweede 05-17-2008 07:28 PM

Ive updated this mod to include a fix for editing a post with an item link and having the WYSIWYG editor enabled.

The item links are still represented by "html" links in the editor, but when the post is saved, the item links retain their item color information.

djbass 05-18-2008 01:32 AM

Quote:

Originally Posted by sweede (Post 1522863)
The item links are still represented by "html" links in the editor, but when the post is saved, the item links retain their item color information.

They can be easily edited in their "html" form anyway by using the toggle button for the WYSIWYG editor.

Attachment 80844

With the update they will seamlessly change between the two formats.

sweede 05-18-2008 01:59 AM

Quote:

Originally Posted by djbass (Post 1523035)
They can be easily edited in their "html" form anyway by using the toggle button for the WYSIWYG editor.

Attachment 80844

With the update they will seamlessly change between the two formats.

Editing the HTML in the WYSIWYG mode could remove the class tag and cause the old behavior.

I do have an update that should fix that though.

ssslippy 05-18-2008 03:22 AM

What happened to the EQDKP intergration?

quarum 05-19-2008 08:18 PM

I noticed today that my RSS feeds had not imported for a couple days. So I ran them manually. WHen I ran them I got this error:

Code:

Fatal error: Cannot redeclare parse_wysiwyg_item() (previously declared
 
in /home/content/html/vb/includes/functions_wysiwyg.php(115) : eval()'d code:3)
 
in /home/content/html/vb/includes/functions_wysiwyg.php(115) : eval()'d code on line 21

I posted on the vB main site and they said disable plugins. I started disabling them one at a time, ran the RSS and my RSS feeds started again when I disabled all the WoW Head ItemStats Plugins.

I am guessing that it has something to do with the WoWHead WYSIWYG parser.

vB 3.70. I pull down 4 RSS feeds from different WoW sites. Let me know if you need more info.

Thanks

sweede 05-19-2008 08:31 PM

This should be fixed in teh 0.4.5a version

quarum 05-19-2008 09:48 PM

Quote:

Originally Posted by sweede (Post 1525092)
This should be fixed in teh 0.4.5a version

I uninstalled the mod - then reinstalled the 45a. Added a new RSS feed, ran the RSS task and got this error:

Code:

Fatal error: Call to undefined function parse_wysiwyg_item() in /home/content/html/vb/includes/functions_wysiwyg.php on line 622
I disabled WoWHead WYSIWYG parser and the RSS feed imported.

freebase69 05-20-2008 08:06 AM

Your fix didn't fix it. I'm getting the wysiwyg error as well. I did the upgrade, even though it was still working fine, and when I tried to post a new thread I got an error. I disabled this hack a viola, issue gone.

Take another peek at the code please. I'd hate to have to pull the plug on this one.

sweede 05-20-2008 10:51 AM

I added a new RSS feed and ran the task and got the same errors. I fixed a few things, ran the task again and it completed as expected.

0.4.5B

Btw, a new version will be out soon that will support pasting of wowhead URLS for Spells and Quests to link in the forums. More info on that later.

quarum 05-20-2008 11:29 AM

Quote:

Originally Posted by sweede (Post 1525624)
I added a new RSS feed and ran the task and got the same errors. I fixed a few things, ran the task again and it completed as expected.

0.4.5B

Btw, a new version will be out soon that will support pasting of wowhead URLS for Spells and Quests to link in the forums. More info on that later.

Just updated to 0.4.5B and RSS working again - thank you so much for the fast reply.

Looking forward to that next addition you are working on - thanks again!

Enjoy your day!

freebase69 05-25-2008 11:59 PM

Well it seems to be working again. Thanks for the update Sweede.

ssslippy 06-13-2008 12:04 AM

I had someone post 35 item links and gave me a 500 error. Any idea on how I can avoid this?

sweede 06-13-2008 12:18 AM

we'll, seeing as how i'm not psycic or whatever, i havent any clue what caused the 500 error. it could have been an apache crash , php crash, permission error, corrupted data sent to my product or an error that isnt caught and is causing output buffering to fail.

It may not even be my product but some other product but because you're using [item] tag you assume it's my product.

In otherwords, Need more Info.

Kinneas 06-16-2008 09:07 AM

Quote:

Originally Posted by sweede (Post 1525624)
Btw, a new version will be out soon that will support pasting of wowhead URLS for Spells and Quests to link in the forums. More info on that later.

Sounds awesome. Can't wait for this :D

KURTZ 06-16-2008 09:18 AM

Sweede, i'm wondering: why you don't release this for 3.7.x?

Kinneas 06-16-2008 10:49 AM

Far as I can see this still works perfectly on 3.7.x :)

sweede 06-17-2008 11:59 AM

Quote:

Originally Posted by KURTZ (Post 1550654)
Sweede, i'm wondering: why you don't release this for 3.7.x?

It will work without issues on 3.7. Although it's probably a mistake on my part, i don't feel the need to make a new post with the exact same information in another forum just yet.

Luxus 06-18-2008 02:55 AM

does it works with de.wowhead.com (german version of wowhead?) i see a smf script that works with all languages!

sweede 06-18-2008 10:30 AM

The next release will have the language support, but between work, setting up my 125 gallon fish tank in our apartment, leveling my hottie paladin and drinking, getting time to code the update ( it's quite a large re-write btw ) is hard to find.

I do work on it peice by peice and i will have one released soon (can't tm it cause it's tm'd by blizzard blue posters).

Caerydd 06-18-2008 12:30 PM

Erm, we have just started using eqdkp, is there any way to apply these to an eqdkp installation that is separate to vbulletin? Also, the download for the eqdkp thing seems to be missing, unless I'm seeing things.

I really don't trust the old itemstats plugin, as it is no longer officially supported and is hacked to get wowhead.com tooltips >> If there is no way to use your script, Sweede, I'll just go with that but I thought I'd ask first.

sweede 06-18-2008 12:52 PM

Here's a list of things on my todo.. list..

Create a Drop-In Replacement for ItemStats. I have installed EqDKP Plus and have been reverse.. "including", trying to find the key file that needs to be replaced and how to best code the replacement. This is the easy one and requires really only minor code changes to my current plugin.

Update with wowheads supplied Langauge Support. To understand my problem with this one, you have to understand how i search for the item and return the itemID into the URL.

When you post [item]Foo[/item] , it auto-creates a URL, http://www.wowhead.com/?item=Foo&xml and this returns the XML of the item. the XML contains the ItemID which i then use to create the URL back to wowhead. The problem now is that with special characters (non-english, such as ? in Agon?a sin l?mites ), i can't just simply create http://es.wowhead.com/?item=Agon?a+sin+l?mites&xml however, http://es.wowhead.com/?item=Agonia+sin+limites&xml gives the correct response.

Notice the change from ? to i. i'm not sure that there is an easy and quick way to make this translation in PHP. Some other characters such as the german ? symbol, i can't seem to get working via URL ( http://de.wowhead.com/?item=Magierkl...marschalls&xml )

The best way seems to enforce posting English Names only to which then i can get the translated name and display that. However what i would have to do here is hit wowhead.com for the Item Name to ItemID , then hit wowhead.com with the ItemID in whatever langauge selected (i.e. http://es.wowhead.com/?item=12345& would return the XML in spanish). I would rather not have 2 requests to wowhead when a new item is posted (itemID's are cached with their name, so you only need to do the lookup during the initial post).

The other option is of course, posting the complete wowhead URL for non-english URLs. Posting http://de.wowhead.com/?item=30901 will return the item name in german.

sweede 06-18-2008 12:54 PM

Quote:

Originally Posted by Caerydd (Post 1552530)
Erm, we have just started using eqdkp, is there any way to apply these to an eqdkp installation that is separate to vbulletin? Also, the download for the eqdkp thing seems to be missing, unless I'm seeing things.

1) There will be, but you will have to supply the path to your vbulletin installation.
2) No your not seeing things, it is missing and soon to be replaced :)
3) I havent forgotten about your crafting database mod, i just havent really had much time to re-work it.

Deepdog009 06-18-2008 10:25 PM

Doing a awesome job Sweede...

Keep the ball ROLLING......>>>:up:

sweede 06-20-2008 08:39 AM

Please see https://vborg.vbsupport.ru/showthread.php?t=183035 for 3.7 version


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.01529 seconds
  • Memory Usage 1,809KB
  • 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
  • (3)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (31)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