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)

quarum 04-22-2008 11:21 PM

Okay - its working - but I have noticed that when you edit the post - that seems to be when it stops working.

Any thoughts?

Basically the first time I post - it is fine - if I go back and edit the post - then it seems to be defaulting back to the standard text colors of the theme. The only way to get it back is to delete the post and make a totally new post. Something in the formatting of the post when it gets edited might the culprit?

sweede 04-22-2008 11:53 PM

Please re-read the mod description. i added a note about your issue.

quarum 04-23-2008 11:03 AM

Perfect - thanks for everything!!!!!!!!!

TruthElixirX 04-23-2008 11:34 AM

Quote:

Originally Posted by sweede (Post 1496892)
Sorry but that has nothing to do with my plugin.

It does though, from your readme.html:


common.code
add
Code:
Code:

        include_once( $eqdkp_root_path . "vbulletin_wowhead.code");
after
Code:
Code:

        setcookie('herefirst', 'yes');


And the error is saying

Code:

Warning: include_once(./vbulletin_wowhead.code) [function.include-once]: failed to open stream: No such file or directory in /home2/berserk/public_html/wow/tier6dkp/common.php on line 20
Which means it cannot locate the file for some reason, and when I add the full path of the file it starts telling me it cannot redeclare functions. This is from the EQdkp add on.

sweede 04-23-2008 12:23 PM

wtf?

in the entire readme.html file, every instance of the characters php was changed to code :|

TruthElixirX 04-23-2008 01:34 PM

Quote:

Originally Posted by sweede (Post 1497210)
wtf?

in the entire readme.html file, every instance of the characters php was changed to code :|

Yeah...

I'm acrtually installing this on a EQdkp set up for someone else. I thought maybe there were different versions of EQdkp (as in perl, php, coldfusion, asp, etc ) and that the .code thing meant EQdkp would automaticlly replace it.

So, uh, should I uninstall it from the EQdkp setup?

sweede 04-23-2008 01:50 PM

change all references of .code to .php and it may work. you may have to do some additional work though depending on your specific eqdkp setup.

TruthElixirX 04-24-2008 10:54 PM

I'm now getting this error:

Code:


Fatal error: Cannot redeclare itemstats_parse() (previously declared in /home2/berserk/public_html/wow/tier6dkp/vbulletin_wowhead.php:139) in /home2/berserk/public_html/forums/includes/init.php(329) : eval()'d code on line 37


sweede 04-25-2008 12:38 PM

hmm.. i wrote the vbulletin_wowhead.php file quite some time ago, before i re-worked the item stats plugin.

I updated the plugin and the zip file, please try those.

TruthElixirX 04-26-2008 05:39 PM

New problem:

Code:

Parse error: syntax error, unexpected ')' in /home2/berserk/public_html/wow/tier6dkp/vbulletin_wowhead.php on line 38

Line 34-39:

Code:

function itemstats_parse($item)
{
        $o = new wowhead();
        $o->debug($item_name,"itemstats_parse");
        return $o->wowhead_parse($item));
}

I believe wowhead_parse($item)); needs to be wowhead_parse($item);.

I took out the extra ) and it now does this:

Code:


Fatal error: Cannot redeclare itemstats_parse() (previously declared in /home2/berserk/public_html/wow/tier6dkp/vbulletin_wowhead.php:34) in /home2/berserk/public_html/forums/includes/init.php(329) : eval()'d code on line 37



All times are GMT. The time now is 09: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.01239 seconds
  • Memory Usage 1,740KB
  • 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
  • (7)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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