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)

Kinneas 07-30-2008 04:12 PM

This is very odd. On a fresh install on my test board it does what it's supposed to do.

Kinneas 07-31-2008 06:53 AM

And it's all working okay on my Live site now. How bizarre lol.

I re-uploaded the files and reinstalled the product from scratch just in case, but the problem was still happening. For some reason it isn't anymore.

Sorry for wasting your time mate :P

Asgorath 07-31-2008 02:54 PM

Quote:

Originally Posted by Kinneas (Post 1587459)
Edit:

Okay, well I just did a test. I emptied the itemstat_cache table and loaded the page again. The first time it took (understandably) a very long time to load, finishing with the following stats:



Then I reloaded the page. It was quicker, but it still took a considerably longer amount of time with a lot of queries:



Would you consider this normal behaviour?

How are you generating those stats? I'd like to run some tests on my site as well.

sweede 07-31-2008 03:41 PM

you enable debugging mode.

add something like $config['misc']['debug'] = true; , i think.

there are also products that do close to the same thing.

Asgorath 07-31-2008 03:59 PM

Nevermind, this was a configuration error on my part. I'd disabled post caching to get the original ItemStats working (the one where you had to manually click on a link to fetch the item information), and had forgotten to re-enable it after switching to this plugin. Sorry for the confusion!

LittleB@ 08-11-2008 04:07 PM

I just installed this and ran into problems while previewing/editing using advanced WYSIWYG editor, came back here to see if anyone had the same problem and noticed that this was supposed to be sorted in:

0.4.5
* Fixed issue with WYSIWYG editor loosing item links when editing a post

Any idea why I'm still getting this? :erm:

Guest210212002 08-13-2008 07:54 PM

Any chance of a php4 version of this?

Cloudrunner 08-25-2008 01:19 AM

So I uploaded the files, uploaded the product xml and fired it up.

What I ended up with when I tried to drop an [item]something[/item] in a new thread is this:
Code:

Fatal error:  Class 'wowhead' not found in /home/jabouty/public_html/forums/includes/functions_wysiwyg.php(115) : eval()'d code on line 28
Any thoughts?

I ran through the code and found a wowhead_item class, but not a wowhead class. So i changed the call for the new wowhead class in the Wowhead WYSIWYG parser plugin to wowhead_item and got the following:
Code:

Fatal error:  Call to undefined method wowhead_item::wowhead_http_get() in /home/jabouty/public_html/forums/includes/functions_wysiwyg.php(115) : eval()'d code on line 30
so obviously that doesn't work...Stuck now...but I'm probably just blind as to the fix.

edit: Interesting. If I copy paste from a previously linked code, ie copy paste a link off this: http://www.wowhead.com/?items=2.10#0-2-3+1 which alot of my users will do, and I get the crash error when using wysiwyg. Kill the wysiwyg formatting by removing the link and the coloring and it works. So copy pasting off a linked name causes issues. Thoughts from here?

edit2: perhaps cleaning anything within container of all links and formatting prior to parsing it will help...just a thought...

sweede 08-25-2008 07:20 AM

Quote:

Originally Posted by Chris-777 (Post 1598004)
Any chance of a php4 version of this?

I hate to say this, because it's awefully.... a jackass of me, but PHP 5 was released more than 4 years ago. If your host hasnt updated or wont update you to php5 , it's time to get a new host.

sweede 08-25-2008 07:23 AM

Quote:

Originally Posted by Cloudrunner (Post 1606190)

What I ended up with when I tried to drop an [item]something[/item] in a new thread is this:
Code:

Fatal error:  Class 'wowhead' not found in /home/jabouty/public_html/forums/includes/functions_wysiwyg.php(115) : eval()'d code on line 28
Any thoughts?

you were right, change the line $o = new wowhead(); in the wysiwyg plugin to wowhead_item();

go down to the next line, change
$xmlfile = $o->wowhead_http_get($url, 8192);
to
$xmlfile = $o->getHTTP($url);


Also, to give a little background information. When I wrote the last update, i pretty much re-coded every line because I found a product release tool on the german vbb site. without going into to much detail, the test site that i dev on runs the exact same code that the XML product file contains.

However, why it works on my test server, I don't know, because it shouldnt. The wowhead class shouldnt exist on my test server.

The zip file has been updated (0.5.5 now)


All times are GMT. The time now is 11:03 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.01204 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)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