Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
gItemStats - World of Warcraft Itemstats Details »»
gItemStats - World of Warcraft Itemstats
Version: 9.9.9.9.9, by Gryphon Gryphon is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.8 Rating:
Released: 03-04-2007 Last Update: 01-24-2008 Installs: 160
DB Changes Uses Plugins Template Edits Auto-Templates
Additional Files  
No support by the author.

What is it?
[hr]-[/hr]gItemStats is a modification for vBulletin which allows you to display popup World of Warcraft item information on your fourms.

See this thread for the continuation of this modification.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 03-18-2007, 11:41 AM
Kimimaru Kimimaru is offline
 
Join Date: May 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

have you an example for this problem? a link?
Reply With Quote
  #43  
Old 03-18-2007, 04:16 PM
mdroschak mdroschak is offline
 
Join Date: Mar 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kimimaru View Post
have you an example for this problem? a link?
Here are two pictures attached.

The first one is when itemstats is set to pull for Thottbot. As you can see everything looks ok but the colors are orange. Even the socket images show up fine, although in my example this paticular item does not have sockets.

In the 2nd picture that is when itemstats pulls from allakazham as you can see the colors are correct but the socket images show up as Red X's... I'm assuming it has to do with the websites but im sure there has to be a way to fix it, maybe a change with the code or an adjustment that has to be made.
Reply With Quote
  #44  
Old 03-18-2007, 07:27 PM
Kimimaru Kimimaru is offline
 
Join Date: May 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
The first one is when itemstats is set to pull for Thottbot. As you can see everything looks ok but the colors are orange. Even the socket images show up fine, although in my example this paticular item does not have sockets.
I have the same problem by that item. By other items the tooltip is green.

Quote:
In the 2nd picture that is when itemstats pulls from allakazham as you can see the colors are correct but the socket images show up as Red X's... I'm assuming it has to do with the websites but im sure there has to be a way to fix it, maybe a change with the code or an adjustment that has to be made.
i have copy the socket images on my server. (allakhazam).

example: http://www.dragonhearts-guild.de/images/redsocket.png

Thottbot:
http://your_website.com/en/Interface...Socket-Red.gif
Reply With Quote
  #45  
Old 03-18-2007, 07:34 PM
mdroschak mdroschak is offline
 
Join Date: Mar 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do the itemstats pull the socket images much like they pull the item image? I run all my images locally and believe i have the most updated set of images on my server. Even if i change it to pull from Alla it still comes up with red X's..

My guess is that they havent update their socket images yet or something.

Can you zip up all your socket images and put them up here so i can download them? I copied that socket image you posted and put it into my images, cleared my item_cache and it still does not find the redsocket.png.. Is there an other file that controls the socket images?

BTW how did you make those modules show up the item stats "last 5 loot" on the left of your page? Does that pull from EQDKP?
Reply With Quote
  #46  
Old 03-18-2007, 07:53 PM
mdroschak mdroschak is offline
 
Join Date: Mar 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, I got it.

Here is the fix for Allakazham.

The problem is in how ItemStats parses data from Allakhazam. It seems Allakhazam changed its design slightly after the parser was written. I fixed it like so...

open includes/allakhazam.php

Go to line 105

PHP Code:
if (preg_match_all('#<img class="esock" src="/images/(.*?)\.png".*?/>#s'$item['html'], $matches_sockets))                {                    foreach ($matches_sockets[0] as $key_socket => $match_socket)                        $item['html'] = str_replace($matches_sockets[0][$key_socket], '<img src="' $path_images_sockets $matches_sockets[1][$key_socket] . '.png" alt="' $matches_sockets[1][$key_socket] . '"/>'$item['html']);                } 
Replace with


PHP Code:
if (preg_match_all('#<span class="esock"><img src="/images/(.*?)\.png".*?/>#s'$item['html'], $matches_sockets))                {                    foreach ($matches_sockets[0] as $key_socket => $match_socket)                        $item['html'] = str_replace($matches_sockets[0][$key_socket], '<span class="esock"><img src="' $path_images_sockets $matches_sockets[1][$key_socket] . '.png" alt="' $matches_sockets[1][$key_socket] . '"/>'$item['html']);                } 
Clear your item_cache information and thats it.

Fixed it for me


EDIT: The only socket Image I have problems with is the Meta Socket. Everything else shows up perfect. Anyone have the .png file for that?
Reply With Quote
  #47  
Old 03-18-2007, 08:04 PM
Kimimaru Kimimaru is offline
 
Join Date: May 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Allakhazam:

Red
Blue
Yellow
Meta

Thottbot:

Red
Blue
Yellow
Meta
Reply With Quote
  #48  
Old 03-18-2007, 08:21 PM
mdroschak mdroschak is offline
 
Join Date: Mar 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool thanks!

I downloaded all the images but still have problems with the meta socket image.

I tried changing the socket image location in my allazahzam.php file to be local but that didn't work.

Which file did you change for your local socket images?
Reply With Quote
  #49  
Old 03-20-2007, 10:52 AM
Crapforum Crapforum is offline
 
Join Date: Jan 2002
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod.

[s]Too bad it doesnt work okay on my site.
The popup works in the preview but doesn't popup when i actually post it.

http://www.crapforum.nl/showthread.php?t=30423

The posted url looks like this: http://www.mydomain.nl/\'http://www.thottbot.com/?i=Destroyer Chestguard\'


any help appriciated.[/s]

never mind, this mod rocks....had a conflict with a badly written replacement mod.
Reply With Quote
  #50  
Old 03-21-2007, 05:14 AM
phace phace is offline
 
Join Date: Apr 2003
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was wondering if it's at all possible to change the color of an item when using itemstats. The one I would like to change in particular is the 'quality1' items that appear as white links which blend in almost entirely with the light backgrounds in vBulletin.

Any ideas?
Reply With Quote
  #51  
Old 03-21-2007, 02:16 PM
Crapforum Crapforum is offline
 
Join Date: Jan 2002
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by phace View Post
I was wondering if it's at all possible to change the color of an item when using itemstats. The one I would like to change in particular is the 'quality1' items that appear as white links which blend in almost entirely with the light backgrounds in vBulletin.

Any ideas?

I had the same problem, fixed it with a background color.

you can change the colors in: .\itemstats\templates\itemstats.css

.whitename, .quality1 { background-color: #000000; color: #FFFFFF; font-weight: bold; }
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:36 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07369 seconds
  • Memory Usage 2,325KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete