vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - gItemStats - World of Warcraft Itemstats (https://vborg.vbsupport.ru/showthread.php?t=141177)

Gryphon 10-12-2007 11:28 PM

Quote:

Originally Posted by HunterZ (Post 1358485)
Is it possible to disable or alter the item link coloring? My forum's default style/theme has a light background and you can't see the white text used for common quality items.

Edit: My forum just choked on an incorrect tag formation. I want to post details but I don't want it to be used as an exploit to cripple forums.

Also, the itemico tag doesn't seem to work - I guess it's not supported?

Lastly, I would also like to see wowhead support.

To edit the colors, edit the css. Itemico is not currently supported in the mod.

I am currently working on re-writing this mod from the ground up and it will probably support wowhead (bleh) linking.

Elbulus 10-14-2007 02:27 PM

Quote:

Originally Posted by Gryphon (Post 1358597)
I am currently working on re-writing this mod from the ground up and it will probably support wowhead (bleh) linking.

Havent got a clue why but today one of our members made a post that linked a load of pots etc and not one of them is showing corretcly and now nothing is linking :(

Heres a link to the post :http://www.soulbound.info/Forum/showthread.php?p=625

I've uninstalled and deleted all the files associated with itemlink and reinstalled tryed again and still not getting any links for the items it's just showing a link to query it..

Any ideas ?


Also any ETA on the new version :p

Cloudrunner 10-15-2007 12:44 AM

He edited the post...

With WYSIWYG editor this does not cooperate if you edit the post. He'll need to redo the [item]<something?[/item] when editing it again...

Elbulus 10-15-2007 09:50 AM

Quote:

Originally Posted by Cloudrunner (Post 1360247)
He edited the post...

With WYSIWYG editor this does not cooperate if you edit the post. He'll need to redo the [item]<something?[/item] when editing it again...

See thats the odd thing when you goto edit there still in the [item]>NAME<[/item] Format...They just don't seem to be pulling the data when clicked :/ Have turned off the WYSIWYG editor now just trying to sort out why it aint pulling the data

christofer 10-15-2007 08:10 PM

any update on getting this working with vBadvanced?

jluerken 10-30-2007 11:18 AM

Hi Gpryhon,

if you have ipbArcade installed and activate your product, the Arcade stops working.

Error message:
Quote:

Fatal error: Cannot redeclare cleanhtml() (previously declared in /arcade.php:5415) in /includes/functions_gitemstats.php on line 742
If I disable your product the Arcade is working fine again. Can you please check this?

Gryphon 10-30-2007 03:14 PM

Hmm, I ran into that issue myself, thought I had fixed that in the release. Uploaded a fix.

jluerken 10-31-2007 05:52 PM

Hi Gryphon,

thanks for the fast update. I did not had much time to check it but the error message is gone now. THANKS!

Marcellus 11-06-2007 10:40 PM

I haven't installed this particular mod yet, but the way I fixed the WYSIWG editor problem with other itemstat mods was by making a quick and easy file edit in the class_bbcode_alt.php file.

Find:
var $unparsed_tags = array(

add under this line:

'item',

See if this fixes your WYSIWYG issues. :)

Grimbone 11-10-2007 10:02 PM

When I goto post mutiple items my page seems to hang at the posting screen. It works fine if I post 1 or 2 items but not when i post multiple.

I also get the following error sent to me via email after it hangs...

MySQL Error : MySQL server has gone away
Error Number : 2006

Any Idea on why this is happening?

Ciderhelm 11-16-2007 10:55 AM

Quote:

Originally Posted by Elbulus (Post 1359755)
Havent got a clue why but today one of our members made a post that linked a load of pots etc and not one of them is showing corretcly and now nothing is linking :(

Heres a link to the post :http://www.soulbound.info/Forum/showthread.php?p=625

I've uninstalled and deleted all the files associated with itemlink and reinstalled tryed again and still not getting any links for the items it's just showing a link to query it..

Any ideas ?


Also any ETA on the new version :p

This issue cropped right up on our forums too. It has nothing to do w/ the WYSIWYG editor. Am still looking for a fix.

yukonjak21 11-18-2007 10:01 PM

I am a total nub with vBulletin. I am trying to install this mod and it doesn't seem to work for me. I downloaded the new one (gItemStats v1.03), uploaded it to my site, and installed it via AdminCP. When I got to test it on a new forum thread (<item>Emerald Ripper</item>) it doesn't work. I don't get an error just exactly what i typed (<item>Emerald Riper</item). Did i miss a step or 2? Based on the instrucitons, i didn't have to edit/modify any files. Please help!

Elbulus 11-21-2007 09:04 PM

Quote:

Originally Posted by yukonjak21 (Post 1385208)
I am a total nub with vBulletin. I am trying to install this mod and it doesn't seem to work for me. I downloaded the new one (gItemStats v1.03), uploaded it to my site, and installed it via AdminCP. When I got to test it on a new forum thread (<item>Emerald Ripper</item>) it doesn't work. I don't get an error just exactly what i typed (<item>Emerald Riper</item). Did i miss a step or 2? Based on the instrucitons, i didn't have to edit/modify any files. Please help!

It's not <ITEM> NAME </ITEM>

It's [Item] NAME [/Item]

Robbeh 11-22-2007 01:02 AM

Please forgive my apparant newbness, I'm having a slight issue.

I've installed the mod but whenever I do [item]item name[/item] it links to http://www.mywebsite.net/forum/items....php?item=item name

Where can I set the default site used to look up the item (I'd like to use wowhead...)?

Many thanks for your help.

Newfarm 11-23-2007 09:09 PM

Works very well for me, just jumping on the bandwagon for wanting wowhead support ;)

Newfarm 11-26-2007 09:47 AM

Wowhead.com has now made a .js that'll do most of the work, I'm pondering how one could potentially integrate these two. Wowheads version requires the users to input either a link to the item or the itemid trough the vbb implementation one of their users posted on the forums.

However, mixing this hack with the .js might just solve that as the .js from wowhead generates the correct tooltip (which looks a tad smoother then the one from this hack, rounded corners and everything ;p) and doesn't really need an itemcache.

Being able to just do [item]Perdition's Blade[/item] and having that trigger the .js would be downright cool :).

Robbeh 11-26-2007 01:45 PM

Quote:

Originally Posted by Robbeh (Post 1387240)
Please forgive my apparant newbness, I'm having a slight issue.

I've installed the mod but whenever I do [item]item name[/item] it links to http://www.mywebsite.net/forum/items....php?item=item name

Where can I set the default site used to look up the item (I'd like to use wowhead...)?

Many thanks for your help.

I still can't get this to work, infact it's getting worse, I've now noticed that it's not possible to start new threads, everyone gets "This page cannot be displayed" whenever the mod is enabled and anyone tries to click "New thread".

:(

Newfarm 11-26-2007 03:06 PM

Allmost sounds as if your whole forum is sat up a bit weird, what's the url of it ?

(note that I don't actually have anything to do with this mod, I've just done my own fair share of mistakes in config :p)

DDolphins 11-26-2007 07:41 PM

I'm having a similar problem on my site now too. As listed above when the item is linked its a basic link color with the url

http://www.battlegroundwarriors.com/...Spellfire+Robe

This is happening with just about any item now originally I was able to use itemstats and everything was running fine but now it just spits back that url.

Any suggestions?

Robbeh 11-27-2007 10:31 AM

Quote:

Originally Posted by Newfarm (Post 1389703)
Allmost sounds as if your whole forum is sat up a bit weird, what's the url of it ?

(note that I don't actually have anything to do with this mod, I've just done my own fair share of mistakes in config :p)

www.visual-waste.net/caution

It's rather odd, I've found that everything works fine unless they're an [item] tag somewhere in the thread.

If there is an [item] tag then the following things occur:

1. Trying to post a quick reply fails and gives the error "The following error has occured:"

Useful huh...

2. Clicking "Post reply" or "Go advanced" spits out a "Page cannot be displayed" error.

If I remove the mod then everything's fine, quite odd :(

manub 11-27-2007 11:48 AM

Waiting for wowhead support, lots of items like the Black Temple / Mount Hyjal gems can't be linked that way :(

jaykresge 11-27-2007 05:18 PM

Well, someone got WoWhead support working with Itemstats. Please keep in mind, this is Itemstats, not the gItemStats mod on this page. I have not yet tried this. I want to see if Gryphon plans to integrate this into a gItemStats update.

http://forums.eqdkp.com/index.php?showtopic=9342

Gryphon 11-27-2007 05:54 PM

I do not plan on making any modifications to this mod any time soon, with tooltip tools available from Thottbot and [S]Wowhead[/S] it makes this mod severe overkill (not that it wasn't before the tools became available). I have barely started rewriting the mod from the ground up which will trim out much of the fat and bugs.

Newfarm 11-27-2007 07:09 PM

Actually, I don't agree with this mod's function being surplussed; it might be more then what's needed now, but for all intents and purposes it's far, far faster and more user friendly to use [item]Stoppable Force[/item] then [item=123456]Stoppable force[/item].

That alone is priceless.

Gryphon 11-27-2007 07:23 PM

That is what I will provide again in the next version, however you do not need 50 files and slow page scraping to do it as the current Itemstats method uses, it can be hugely simplified and faster and with less bugs.

Newfarm 11-27-2007 08:38 PM

Oh yeah, I see that ;). As I posted earlier, I imagine all that's needed is for the updateitem script to pull the itemid off wowhead, store that in it's database for future use (as in, just the item_id field allready in the database), let wowhead's JS do, well, all the work while having the local script automagically generate the correct urls for the JS to parse ;).

Unfortunately it's just a whee bit outside my reach when it comes to modifying code so I can't really be of any help.

Just know that your efforts are valued by a lot of people and is well worth pursuing :).

rstan 11-27-2007 11:52 PM

Worked fine for me up until last night when I upgraded to 1.03 from 1.02. Random items are not being found. Some have even went to not found that were already in the cache.

Fire-Cord of the Magus....not found
Bark-Gloves of Ancient Wisdom.....not found

Chestguard of the Vanquished Champion....updated to not not found when already in cache
i remember now i could only get tier items to show by using ala only...but now when i select ala only it cant find anything...hmmm
vb 3.6.8

rstan 11-28-2007 11:41 AM

ok there is a new ala file that is not included in this latest release...

/itemstats/includes/allakhazam.php

get from itemstats site

sweede 11-30-2007 05:12 AM

Quote:

Originally Posted by Gryphon (Post 1390548)
That is what I will provide again in the next version, however you do not need 50 files and slow page scraping to do it as the current Itemstats method uses, it can be hugely simplified and faster and with less bugs.


I don't know how you missed it, but the package you install and upload doesnt require most of the php code from the /itemstats/ folder. Only the templates, some of the include files, js and css files.

I have already re-written the gItemStats to be far more "lean" to use than what is downloaded currently. I could probably get rid of a few more files if i had to and make them part of the functions_gitemstats.php file or even a vbulletin plugin.

Also, using the wowhead provided .js in your website doesnt let you cache the item code to your server making repeat visits MUCH MUCH faster.

(g)ItemStats isnt going to be replaced by any means.

sweede 11-30-2007 05:19 AM

Quote:

Originally Posted by Newfarm (Post 1390595)
Oh yeah, I see that ;). As I posted earlier, I imagine all that's needed is for the updateitem script to pull the itemid off wowhead, store that in it's database for future use (as in, just the item_id field allready in the database), let wowhead's JS do, well, all the work while having the local script automagically generate the correct urls for the JS to parse ;).

Unfortunately it's just a whee bit outside my reach when it comes to modifying code so I can't really be of any help.

Just know that your efforts are valued by a lot of people and is well worth pursuing :).


i could probably whip this up in like, 20 minutes...

it'll give me something to do tomorrow for sure.

sweede 11-30-2007 01:44 PM

I have the parser working as it should be,
http://dramaloot.com/test2.php
what happens is you do the normal [item]whatever[/item] , and it goes off to grab the xml from wowhead (it needs to get the item id). after parsing the XML, it writes a URL link in the proper format
HTML Code:

<a class="q4" href="http://www.wowhead.com/?item=32239">[Slippers of the Seacaller]</a>
So now, I need to implement caching, because having to hit wowhead each page refresh is pretty inefficent.

I don't think i'll be able to have the entire thing as a plugin w/no external files to upload, but i dont think that will be a problem.

The cache will use the existing gItemStats tables because it stores the two things you need, the item id and the item name.

Newfarm 11-30-2007 02:23 PM

Awesome, that's really, really cool! Keep it up :)

sweede 11-30-2007 03:41 PM

My own release.
While i could be a jerk and post as my own plugin, i wouldnt have made this if it wasnt for Gryphon anyways.

This replaced gItemStats mod all together

install the attached XML file

then un-install the gItemStats

after that, you can delete the itemstats folder and the /includes/functions_gitemstats.php file

My plugin creates a new database table and copies the needed data (item name, item id and item quality) from your existing gitemstats table.

I don't see it being a challege to modify it so that it would either use thottbot or wowhead, but i prefer wowhead so i'm not changing it :)

actually, hold on a few. i used to use the itemstats_parse() function in other areas, so im going to replace that in my addon.

sweede 11-30-2007 04:03 PM

Since the main functions load up in global_start , you can use itemstats_parse("item name"); in things like custom pages and VBAdvanced modules.

I already had two custom modules written that used the gItemStats method itemstats_parse("[item]Guild Tabard[/item]");

so i adapted it to work with that also.

Gryphon 11-30-2007 04:06 PM

My originial intention with gItemStats was just make ItemStats a simple upload and configure via vB options.

It appears you are doing exactly what I am working on for my revamp of the code. I never suggested there would be no caching.

*Edit, posted while I was posting. Any reason you include xml parser code when vBulletin already has it's own class?

Ninok 11-30-2007 04:50 PM

Quote:

Originally Posted by sweede (Post 1392408)
Since the main functions load up in global_start , you can use itemstats_parse("item name"); in things like custom pages and VBAdvanced modules.

I already had two custom modules written that used the gItemStats method itemstats_parse("[item]Guild Tabard[/item]");

so i adapted it to work with that also.

I imported this into my board and it works, but for some reason the "A class=q4" is no where to be found. So the links are showing up incorrectly. I will wait for Gryphon to release his update and see if he allows wowhead and whatnot.

sweede 11-30-2007 06:04 PM

go to any page in your browser and view source

Look for

HTML Code:

<!-- WoWHead Mouseover-Tooltips -->
<script src="http://www.wowhead.com/widgets/power.js" type="text/javascript"></script>
<!-- /WoWHead Mouseover-Tooltips -->

somewhere in your header (the template is wowhead_headerinclude)

Ninok 11-30-2007 06:15 PM

Quote:

Originally Posted by sweede (Post 1392472)
go to any page in your browser and view source

Look for

HTML Code:

<!-- WoWHead Mouseover-Tooltips -->
<script src="http://www.wowhead.com/widgets/power.js" type="text/javascript"></script>
<!-- /WoWHead Mouseover-Tooltips -->

somewhere in your header (the template is wowhead_headerinclude)

I looked for sometype of include, and it didn't exist.
I had to manually add that line to the header of the style, and now it works. With is was Bold like iteam stats though. That really made it stand out against darkers styles.

sweede 11-30-2007 06:17 PM

odd.

create a new template named
wowhead_headerinclude

put the
HTML Code:

<!-- WoWHead Mouseover-Tooltips -->
<script src="http://www.wowhead.com/widgets/power.js" type="text/javascript"></script>
<!-- /WoWHead Mouseover-Tooltips -->

in it and that should fix it.

Gryphon 11-30-2007 06:32 PM

You didn't include any templates in your product, that is why it is missing.


All times are GMT. The time now is 08:28 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.01414 seconds
  • Memory Usage 1,847KB
  • 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
  • (4)bbcode_html_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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