Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
GItemStats WoWHead Support Details »»
GItemStats WoWHead Support
Version: 1.09, by tuaguild tuaguild is offline
Developer Last Online: Oct 2020 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.0 Rating:
Released: 06-09-2008 Last Update: 06-10-2008 Installs: 36
DB Changes Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

gItemStats is a modification for vBulletin which allows you to display popup World of Warcraft item information on your fourms. This is an Update on Gryphon's Code which adds WoWHead Support. Please Follow All Instructions in the rar/zip file. Also adds support for automatic icon downloading if you follow the included instrutions or refer to http://forums.eqdkp.com/index.php?showtopic=9342 for instrutions on using automatic download support.

If you use this mod, please Mark as Installed, and if you really enjoy this mod, please Nominate for MOTM, and if you really really enjoy this mod, feel free to Support Developer! Thank you!

Support

__________________________________________________ _____________________________________

I use my released mods daily, if I find an issue with them or add features for myself I will release updates. If there are significant bugs or simple feature requests I will do my best to release fixes. Some of my mods rely on fetching data from 3rd party websites, due to the unreliable results, my mods will require users to troubleshoot for themselves if they find the addon is not working for them specifically. I am offering my personal mods that work ok for me for you to use, I am sorry I do not have time to troubleshoot many user specific issues. Thank you for your understanding.

Features
__________________________________________________ _____________________________________
  • Includes Itemstats v1.5.5
  • Requires some file edits, config done by vBulletin options
  • WoWHead Support WILL NOT PARSE ALAKAHZHAM
  • Fixed Problem with WYSIWYG post Editor

Installation
__________________________________________________ _____________________________________
  1. Download the latest version and upload all files.
  2. Install the product.
  3. That is all, instruct people to use [item]Item Name[/item].

Changes

__________________________________________________ _____________________________________

v1.09 - Eliminated need for class_bbcode_alt.php while still making WYSIWYG edit compatible.

v1.08 - Eliminated need for class_bbcode.php and vbulletin_config_itemstats.php files to be included with package

v1.07 - Fixed Item Images not showing up and set up automatic downloading of icons upon product install

v1.06 - Added button to WYSIWYG and normal editor

v1.05 - Fixed WYSIWYG post editor problem. Added WoWHead support.

v1.04 - Install product with overwrite enabled
Maintenance release for vBulletin 3.7

v1.03 - Install product with overwrite enabled, upload functions_gitemstats.php
Update for Arcade compatibility.

v1.02 - Install product with overwrite enabled
Update to prevent errors if files are removed before product is uninstalled.

v1.01 - Install product with overwrite enabled and then upload includes/functions_gitemstats.php
Changed things around a bit to ensure settings work.

v1.00 - Upload all files import product.
Initial Release

Copyright
__________________________________________________ _____________________________________
Original Core Product Copyright ? Ryan Snook (www.gryphonllc.com)
Itemstats Copyright ? Yahourt (itemstats.free.fr)
WoWHead Support Added to GItemStats by TUAGuild
WoWhead Support Code By Fenuz

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 06-10-2008, 07:43 PM
tuaguild's Avatar
tuaguild tuaguild is offline
 
Join Date: Dec 2007
Location: Memphis TN
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

fixed problem with icon images not showing up by enableing auto downloading of icons and using the cache set up on your server. Also Added a button to the editor toolbar you must change the permissions for itemstats/wowhead_icons/ to chmod 777 so it will save the icons to the server
Reply With Quote
  #13  
Old 06-10-2008, 09:15 PM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

While this does basicly nothing that different (except add a lot of additional files + waste to your vbulletin directory) , why are you replacing the default class_bbcode.php and class_bbcode_alt.php files ? That's just a bad idea to begin with.

Besides after looking through the code, your vbulletin_config.php file adds a define for the path to the itemstats folder (which should be in the init_start hook), and your other include , the vbulletin_itemstats.php file is completly empty (0-byte file).

Anyways, for the question above as to what the difference between gItemStats and my product?

Using wowheads powered by javascript does not add additional code to your site. the ItemStats mod adds a table to each for each item link that is created embeded into the item's A HREF tag. If you have a rather large item list (such as say your guild bank listing or even your own characters listing), you could increase the size of your page download by quite a bit.

Also, editing a post with an item in it using the WYSIWYG editor clobbers the item link.
Reply With Quote
  #14  
Old 06-10-2008, 09:21 PM
tuaguild's Avatar
tuaguild tuaguild is offline
 
Join Date: Dec 2007
Location: Memphis TN
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you use the provided class_bbcode.php and class_bbcode_alt.php it doesnt using those files fixes the editor problem with gitemstats and i prefer my code and the differance in speed is negligable plus i am more for guild sites that do not use a guild bank on the site plus yours has to use an outside js in order to show the tooltip mine is internal and if you require a large item cache it is much faster to use your own database for the files than to rely on wowhead every time it parses also i am working on an integration of wowroster from wowroster.net with vbulletin and that requires the original itemstats code
Reply With Quote
  #15  
Old 06-10-2008, 10:30 PM
tuaguild's Avatar
tuaguild tuaguild is offline
 
Join Date: Dec 2007
Location: Memphis TN
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

after looking into sweede's post I eliminated need for the vbulletin_config_itemstats.php and class_bbcode.php files. I also want to explain how i fixed the WYSIWYG editor problem. If you open your class_bbcode_alt.php file you find a line
Code:
class vB_BbCodeParser_Wysiwyg extends vB_BbCodeParser
{
	/**
	* List of tags the WYSIWYG BB code parser should not parse.
	*
	* @var	array
	*/
	var $unparsed_tags = array(
		'thread',
		'post',
		'quote',
		'highlight',
		'noparse',
after the var $unparsed_tags = array( line you just have to add
'item', right above thread. so it should look like this
Code:
class vB_BbCodeParser_Wysiwyg extends vB_BbCodeParser
{
	/**
	* List of tags the WYSIWYG BB code parser should not parse.
	*
	* @var	array
	*/
	var $unparsed_tags = array(
		'item',
		'thread',
		'post',
		'quote',
		'highlight',
		'noparse',
Reply With Quote
  #16  
Old 06-11-2008, 12:38 AM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nothing against any user, but eliminate the need to edit files.

look at my products wysiwyg_start hook for the right way to fix wysiwyg support
Reply With Quote
  #17  
Old 06-11-2008, 12:48 AM
tuaguild's Avatar
tuaguild tuaguild is offline
 
Join Date: Dec 2007
Location: Memphis TN
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so basically add the edit to the product which in turn makes it in the templates instead of having it for people to manually edit
Reply With Quote
  #18  
Old 06-11-2008, 05:32 AM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'm interested in this hack, but i think it needs more development ...
Reply With Quote
  #19  
Old 06-11-2008, 11:10 AM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tuaguild View Post
if you use the provided class_bbcode.php and class_bbcode_alt.php it doesnt using those files fixes the editor problem with gitemstats and i prefer my code and the differance in speed is negligable plus i am more for guild sites that do not use a guild bank on the site plus yours has to use an outside js in order to show the tooltip mine is internal and if you require a large item cache it is much faster to use your own database for the files than to rely on wowhead every time it parses also i am working on an integration of wowroster from wowroster.net with vbulletin and that requires the original itemstats code
Nothing really requires the itemstats code. ItemStats was written because wowhead.com didnt exist. Intergration into any code base that said it needs ItemStats can be fixed by creating a function called ItemStats() that accepts a single input (the item string including the [item] bbcode) and returns a wowhead URL or whatever. (hey.. that gives me an idea )

WowRoster is obsoleted with the Warcraft Armory and gryphons gWowRoster product and it is almost always in best practices to use one, centralized source for data than copying it all over, even if it is a cache (how do you update the cache?)


Not trying to say no no no ! to you about what your trying to do, only that before you go and do it, save yourself the time and energy and see if these things already exist first so you don't repeat the work over and over.

Before i put together the wowhead item code product, i had written an entirely new ItemStats type product that worked with vBulletin used wowhead's XML files and everything. Then someone in the original gItemStats plugin posted a link to wowhead's powered.js information and i was like " whats the point? this single javascript file did the work of a dozen or so php functions and several hundred lines of code".

The only thing i need to do to my product now is to add wowheads new multilingual support
Reply With Quote
  #20  
Old 06-11-2008, 07:49 PM
tuaguild's Avatar
tuaguild tuaguild is offline
 
Join Date: Dec 2007
Location: Memphis TN
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WoWRoster has alot more features than gryphon's mod and alot of addons for it and whatever your idea is i hope it works out well for ya and if i can help let me know. You can update WoWRoster's Cache of characters with a plugin called armorysync but you have to manually do it i am working on an offshoot of that plugin for WoWRoster that automatically does that using CRON and i want to get a working vbulletin WoWRoster product that fully integrates it and it uses all vb funtions and the admincp control. Also, yes the wowhead js file does do the work of all that stuff but what happens if i have stuff already parsed and wowhead's site is down (GOD FORBID THAT HAPPEN LOL) The wowhead js file will be unaccessable and my items on my site will not show up. I like the itemstats code and i was just trying to find an easy way to learn some coding for vb so i can make more mods for my guild. I think your mod is awesome but i prefer my mod and i do want to find out more info about the coding and eliminating the need for vb code changes. I would like to know what kind of code i would place in the product xml that fixes the editor error. If you can help please do so i am new to vb coding and would like all the help i can get
Reply With Quote
  #21  
Old 06-11-2008, 09:12 PM
tuaguild's Avatar
tuaguild tuaguild is offline
 
Join Date: Dec 2007
Location: Memphis TN
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I fixed the need for adding the class_bbcode_alt.php file in the mod so it is all internally done.
Reply With Quote
Reply

Thread Tools

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 06:03 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.06164 seconds
  • Memory Usage 2,320KB
  • 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_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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