vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - World of Warcraft Wowhead Item tooltips for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=183035)

sweede 09-14-2008 10:01 PM

Quote:

Originally Posted by maf1973 (Post 1621871)
Hello,
i have first uninstalled your mod and the table itemstats_chache was dropped, after i reinstall your mod the table was created.

Please follow my link, i use item "Ph?nixring der Wiedergeburt" and the same error happen again, only golden [] are shown.

Oh wait a second.

some characters (especialy german) don't translate to URL syntax.

I build a URL by adding the name to the URL. ?item=My+Item

Some special characters (such as ?) don't have a compatible URL code.

basicly, if you can make
http://de.wowhead.com/?item=Ph?nixring+der+Wiedergeburt work,

let me know.

maf1973 09-15-2008 07:38 AM

"Ph?nixring+der+Wiedergeburt" did not work :(
Any other ideas?

Code:

10:09:39 called in wowhead_item::__construct:68 Array
(
    [0] =>
    [1] => wowhead_power_js => (1)
    [2] => wowhead_language => (de)
    [3] => wowhead_debug => (0)
    [4] => wowhead_itemstats_q8 => (#ffff98)
    [5] => wowhead_itemstats_q7 => (#ff0000)
    [6] => wowhead_itemstats_q5 => (#ff8000)
    [7] => wowhead_itemstats_q6 => (#e5cc80)
    [8] => wowhead_itemstats_q4 => (#a335ee)
    [9] => wowhead_itemstats_q3 => (#0070dd)
    [10] => wowhead_itemstats_q2 => (#1eff00)
    [11] => wowhead_itemstats_q1 => (#ffffff)
    [12] => wowhead_itemstats_q0 => (#9d9d9d)
    [13] => wowhead_itemstats_q => (#ffd100)
    [14] => wowhead_itemstats_newwindow => (1)
    [15] => wowhead_itemstats_underline => (1)
    [16] => wowhead_itemstats_bold => (1)
)

10:09:39 called in wowhead_item::__construct:70
<Table name="itemstat_cache">
        <Field name="id" type="int(7)" null="NO" key="MUL" default="" autoincrement="false"/>
        <Field name="name" type="varchar(70)" null="NO" key="" default="" autoincrement="false"/>
        <Field name="quality" type="int(1)" null="NO" key="" default="" autoincrement="false"/>
        <Field name="icon" type="varchar(60)" null="NO" key="" default="" autoincrement="false"/>
        <Field name="lang" type="varchar(5)" null="NO" key="" default="" autoincrement="false"/>
        <Field name="htmlTooltip" type="longtext" null="NO" key="" default="" autoincrement="false"/>
</Table>
Number of Rows:368
10:09:39 called in wowhead_item::start:266 de
10:09:39 called in wowhead_item::start:292  SELECT * FROM itemstat_cache WHERE name like 'Ph?nixring+der+Wiedergeburt'
10:09:39 called in wowhead_item::start:305 Getting New Item
10:09:39 called in wowhead_item::getHTTP:154 http://de.wowhead.com/?item=ph?nixri...edergeburt&xml
10:09:39 called in wowhead_item::getHTTP:171 <?xml version="1.0" encoding="UTF-8"?><wowhead><error><![CDATA[Item 'ph?nixring der wiedergeburt' not found!]]></error></wowhead>
10:09:39 called in wowhead_item::start:332 Array
(
    [xml] => <?xml version="1.0" encoding="UTF-8"?><wowhead><error><![CDATA[Item 'ph?nixring der wiedergeburt' not found!]]></error></wowhead>
    [id] =>
    [name] =>
    [icon] =>
    [htmlTooltip] =>
    [quality] =>
    [lang] => de
)

10:09:39 called in wowhead_item::SaveItem:209 INSERT INTO itemstat_cache
                            ( `id` ,`name` ,`quality` ,`icon` ,`lang` ,`htmlTooltip` )
                            VALUES (
                            '',
                            '',
                            '',
                            '',
                            'de',
                            '' );
10:09:39 called in wowhead_item::getHTTP:154 http://www.wowhead.com/?item=&xml
10:09:39 called in wowhead_item::getHTTP:171 <?xml version="1.0" encoding="UTF-8"?><wowhead><error>Item not found!</error></wowhead>
10:09:39 called in wowhead_item::SaveItem:248 INSERT INTO itemstat_cache
                                    ( `id` ,`name` ,`quality` ,`icon` ,`lang` ,`htmlTooltip` )
                                    VALUES (
                                    '',
                                    '',
                                    '',
                                    '',
                                    'www',
                                    '' );
10:09:39 called in wowhead_item::getHTTP:154 http://fr.wowhead.com/?item=&xml
10:09:40 called in wowhead_item::getHTTP:171 <?xml version="1.0" encoding="UTF-8"?><wowhead><error>Item not found!</error></wowhead>
10:09:40 called in wowhead_item::SaveItem:248 INSERT INTO itemstat_cache
                                    ( `id` ,`name` ,`quality` ,`icon` ,`lang` ,`htmlTooltip` )
                                    VALUES (
                                    '',
                                    '',
                                    '',
                                    '',
                                    'fr',
                                    '' );
10:09:40 called in wowhead_item::getHTTP:154 http://es.wowhead.com/?item=&xml
10:09:40 called in wowhead_item::getHTTP:171 <?xml version="1.0" encoding="UTF-8"?><wowhead><error>Item not found!</error></wowhead>
10:09:40 called in wowhead_item::SaveItem:248 INSERT INTO itemstat_cache
                                    ( `id` ,`name` ,`quality` ,`icon` ,`lang` ,`htmlTooltip` )
                                    VALUES (
                                    '',
                                    '',
                                    '',
                                    '',
                                    'es',
                                    '' );
10:09:40 called in wowhead_item::printItemURL:373 <a id="itemlink" class="q" style="text-decoration: none; font-weight: bold;" href="http://de.wowhead.com/?item=" target="_blank">[]</a>


sweede 09-15-2008 08:16 AM

the ? is causing your problem.

I do see other problems though not related to yours.

Lets see if wowhead can be of any help
http://www.wowhead.com/?forums&topic=41052&p=394948

sweede 09-15-2008 07:48 PM

Maf, until wowhead and i figure out a solution, the best work around will be to use the english name when making a post. the product will cache all languages of the item (which btw, is a workaround for the problem and won't be needed once the problem is fixed).

later when you post the german translated item, it will work.

sweede 09-16-2008 08:49 PM

The non-english character issues have been corrected on Wowheads site.

http://de.wowhead.com/?item=Ph?nixri...edergeburt&xml or http://de.wowhead.com/?item=Gew?nder+der+M??igung&xml

will work correctly now.

I still will need to update my product to remove a few hacks.

civy 09-26-2008 10:30 AM

Has something changed with wowhead? Item stats now has a expected identifier error and mouseover no longer displays the item.

sweede 09-26-2008 11:01 AM

Quote:

Originally Posted by civy (Post 1630794)
Has something changed with wowhead? Item stats now has a expected identifier error and mouseover no longer displays the item.

to make matters worse, it's only an IE bug. Firefox appears to work fine

civy 09-26-2008 11:02 AM

Quote:

Originally Posted by sweede (Post 1630806)
to make matters worse, it's only an IE bug. Firefox appears to work fine

Glad its not just me:). Been making alot of changes to the forum and thought i'd broke it:)

civy 09-26-2008 01:25 PM

I swapped to the local power.js and it works fine. Guess I'll just have to keep it updated.

Great mod btw :)

nazguluk 09-26-2008 08:42 PM

Quote:

Originally Posted by civy (Post 1630919)
I swapped to the local power.js and it works fine. Guess I'll just have to keep it updated.

Great mod btw :)

Nice... thanks for the tip. I created a basic html page

<a href="http://www.wowhead.com/widgets/power.js>Download</a>

right clicked on the text and did a save as and replaced my power.js file in the root of my forums directory and that fixed it for me


All times are GMT. The time now is 10:22 AM.

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.01518 seconds
  • Memory Usage 1,763KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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