News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

WoW Itemstats

Started by DarkCloud14, December 26, 2005, 08:58:53 PM

Previous topic - Next topic

yutt

Quote from: JoeHonkie on September 21, 2006, 08:53:36 AM
Well, keep waiting until he has time to release it, then.
Thanks for the insight.

Golin

I'm porting my forum from phpbb to SMF. In phpBB the code for items was: [item]Name of Object[/item]. Is there a way to change WoW Itemstats so it will also use this bb-code instead of [wowitem]?

JoeHonkie

Quote from: Golin on October 04, 2006, 07:28:58 AM
I'm porting my forum from phpbb to SMF. In phpBB the code for items was: [item]Name of Object[/item]. Is there a way to change WoW Itemstats so it will also use this bb-code instead of [wowitem]?
You should be able to unzip the package and just do a find/replace on all the files.  But test it first.

Giddeaon

First - great mod and much easier to install than it was for my other forum (phpbb).

My question is, I am getting this error spammed in my forum's error log.

8: Undefined property: DEBUG
File: /mysiteinfogoeshere/itemstats/includes/sqlhelper.php
Line: 69

Line 69 is:             if ( $this->DEBUG == 2 )

I have hundreds of these in my error log (it's my only error, so I'm hoping we can fix it!).

Any thoughts or help would be greatly appreciated.

DarkCloud14

@Giddeaon:

open sqlhelper.php and add the following line
    var $DEBUG       = 0;

after

  var $db;
    var $query_id    = 0;                   // Query ID                 @var query_id
    var $record      = array();             // Record                   @var record
    var $record_set  = array();             // Record set               @var record_set
    var $query_count = 0;                   // Query count              @var query_count
    var $queries     = array();             // Queries                  @var queries


That should fix the spam...

Giddeaon

Thanks, Darkcloud - that fixed it!

yutt

#186
Hello Darkcloud, I was wondering if you would mind if I released a slightly modified version of this mod publicly?

The primary difference it it uses the official overLIB library, rather than overlibmws currently being used. I've also fixed a couple display issues I've noticed, and removed all icon support.

The reason I want to release this is that I have a WoW SMF mod that I would like to release, but it isn't compatible with your item links mod due to the different overLIB libraries.

I would of course give you credit for creating the mod.

Thanks. :)

DarkCloud14

hi yutt whats the difference between your version and my version?
Maybe we can work together or you tell me what you're missing..

I'm using overlibmws because it's more up to date.
The only thing you've to change to get official overLib working is the js script include..


Oh anyway a new version is out..

yutt

Quote from: DarkCloud14 on October 15, 2006, 10:00:17 PM
hi yutt whats the difference between your version and my version?
Honestly mine was mostly edited to suit my guild website. I mostly gutted anything related to icons, German and blasc.de. ;)

I wasn't aware overlibmws is the more current version. I think I will just switch my module to use that, so no public fork would be necessary. Thanks for the response. :)

One bug I've noticed is items with a right-justified span at the bottom render with the span outside of the tooltip. I'm not sure what is causing this, but it occurs in FF, IE and even Opera. I've played with the styling trying to find something that will resolve it, but haven't had any luck.

Kamakaze

Admin Page-->Configuration-->Current Theme =
Fatal error: Call to undefined function: itemstats_parse() in /home/deviant4/public_html/deviance/Sources/Subs.php(1635) : runtime-created function on line 11

DarkCloud14

 >:( Damn that's the only case where it doesn't work and which I didn't test.
Sorry next time I'll really test every little thing. At the moment I'm at work
so I can't post a workaround sorry

MoreBloodWine

#191
I just redid my entire forum after takin a while off from it and when I installed the mod I'm getting some errors... I believe whatever modifications you made to the zip yesterday are whats causing it as I never ran into any of this until now... any ideas on what to do bec I cant even get into the current theme settings... the first pic is what I get when I click current theme... any and all help to get this resolved is appreciated... I'm using SMF 1.1 RC3 if it matters and if you'd like a link to the forum itself its http://www.choice-online-gaming.com

When I click curent theme under configuration in admin I get this...


Line 38 -        // ok the item cache table already exists
Line 39 -        // now check if the new fields already exists maybe it's an old one...
Line 40 -        $result = db_query("SHOW COLUMNS FROM " . $settings['wowitem_cache_table'], __FILE__, __LINE__);

When I click the forum error log in admin under maintenance I get these...


Line 38 -        // ok the item cache table already exists
Line 39 -        // now check if the new fields already exists maybe it's an old one...
Line 40 -        $result = db_query("SHOW COLUMNS FROM " . $settings['wowitem_cache_table'], __FILE__, __LINE__);



Line 27 -   `item_icon` varchar(50) NOT NULL default '',
Line 28 -   `item_html` text NOT NULL,
Line 29 -   `item_id` varchar(100) default NULL,




Line 17 -      $table_exists = false;
Line 18 -      $checkTable = db_query("CHECK TABLE {$settings['wowitem_cache_table']} FAST QUICK", __FILE__, __LINE__);
Line 19 -      $checkResult = mysql_fetch_row($checkTable);            if(!strstr($checkResult[3],"doesn't exist"))      {        $table_exists = true;      }




Line 81 -    {
Line 82 -      if ($settings['wowshared_itemcache_table'] == '1')
Line 83 -      {




Line 3139 -   {
Line 3140 -      if (!$settings['include_itemstats'])
Line 3141 -      {   
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


tz8

Itemstats is not showing anything, not even the grey link (to update the item), when the item has a german umlaut in it and Buffed.de [nofollow] is being used as source.

you need [wowitem]21805[/wowitem] to get "Polierte Obsidianschulterstücke"

you can check it at http://www.metagilde.de [nofollow] - Guests have the right to post in the 'Öffentliche Diskussionen' Area... feel free to test there, i'll delete all your test posts afterwards...


Nicc

Love this mod! Flawless install on my RC3-board, and works great. :)

However, I have one wish:
Is it possible to add support for enchants, showing the required materials? Currently I'm using the name of the formula ("Formula: Enchant Bracer - Greater Stamina"), but it only shows what the enchant does.

Thanks for your work :)

aandreil

Hello!

I don't think I'm being able to install this on the new "Final" Release 1.1

Will it be supported soon? :D

dabuddha

I had the old version of this plugin and an older version of SMF and decided to upgrade both today :)

I upgraded my current SMF version to:
Version Information:
Forum version: SMF 1.1
Current SMF version: SMF 1.1

And downloaded smf_itemstats_v_1_25_1.zip

When I try to upload the package, it uploads fine:
Package has been downloaded successfully

WoW-Itemstats 1.25.1    [ Apply Mod ] [ List Files ]

And when I try to click Apply mod, I get the following error:
Install Actions
Installations actions for "WoW-Itemstats 1.25.1":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

I know I had this problem last time (a long while back when I last did it :) ) and I can't remember what I did to fix it.  I checked the zip file and it isn't empty at all.

Any information would be greatly appreciated :)


Zyph101

It didn't work for me. I'm getting the same error message, even with the change you suggested.

I'll wait for the new version. :)

dreadk

Quote from: Zyph101 on December 06, 2006, 01:19:04 PM
It didn't work for me. I'm getting the same error message, even with the change you suggested.

I'll wait for the new version. :)

That fix should be all that is required to make it compatible with 1.1. The other alternative is the following

Upload the file through package manager (do not install)

Upload the itemstats unzipped directory manually to the Packages directory  (e.g it would look like SMF/Packages/itemstats)

Delete the .zip file in the Packages directory.

Install the add-on through package manager

I've tried both and they both work :)

Advertisement: