Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
World of Warcraft [item]-bbcode. Details »»
World of Warcraft [item]-bbcode.
Version: 1.00, by Sparkz Sparkz is offline
Developer Last Online: Oct 2013 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 11-21-2005 Last Update: Never Installs: 113
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

This is in reply to this thread.

Download the product-itemstats.xml, vb_itemstats.php and 'itemstats_1.2.zip'.
Unzip itemstats_1.2.zip to your forum-root (ie http://your.site.tld/forum/itemstats), and follow the basic setup instructions in doc/config.txt.

Copy vb_itemstats.php into your itemstats-folder.

Paste the following two lines into the bottom of your headinclude-template

HTML Code:
<link rel="stylesheet" href="itemstats/templates/itemstats.css" type="text/css">
<script type="text/javascript" src="itemstats/overlib/overlib.js"><!-- overLIB (c) Erik Bosrup --></script>
Lastly, upload the product-itemstats.xml into your product manager, and you should be all set.

Link items with [item]Item name[/item].
The first time the item is loaded might take some time, as it fetches info from allakhazam.com. From then on it will be cached in the database, and should load instantly.

Supporters / CoAuthors

    Show Your Support

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

    Comments
      #132  
    Old 07-11-2006, 01:22 AM
    Zigidias Zigidias is offline
     
    Join Date: Apr 2005
    Posts: 2
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by lanc3lot
    Is this fix, a way to add the Item code, on the editor??

    If not, anyone who managed to do it?
    uh a fix? such as where it leaves the [item] [/item] bbcode intact
    Reply With Quote
      #133  
    Old 07-11-2006, 04:32 PM
    aholtzmann aholtzmann is offline
     
    Join Date: Feb 2006
    Posts: 12
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by Borgs8472
    I must have missed something because I don't have a item_cache_table anywhere. Have uninstalled and reinstalled the xml file several times.

    What could I have missed? :/
    Sadly, nothing. The table must be created manually. I suggest getting the 1.3.1 Update for ItemStats and use it's documentation (which includes the SQL commands to create the table correctly) to update your installation.
    Reply With Quote
      #134  
    Old 07-12-2006, 11:01 AM
    Borgs8472 Borgs8472 is offline
     
    Join Date: Apr 2004
    Posts: 924
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    ^ ^
    ah cool. I'll give it another go with that in mind then
    Reply With Quote
      #135  
    Old 07-19-2006, 03:32 AM
    y2krazy y2krazy is offline
     
    Join Date: Jun 2003
    Location: Houston, Texas
    Posts: 318
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Is there a way to use this for other RPGs, such as Guild Wars? Ty.
    Reply With Quote
      #136  
    Old 07-21-2006, 08:30 PM
    mosummers mosummers is offline
     
    Join Date: Jul 2006
    Posts: 6
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Can someone help me with an issue? I seem to have itemstats working fine.... the only issue is the image is not showing up.... I modified the config.php in the itemstats dir to read:

    define('ICON_STORE_LOCATION_HTTP', 'http://www.servername.com/halcyonguild/eqdkp/icons/');
    define('ICON_EXTENSION', '.png');

    This is the location of my icons. Any idea why it is not showing up? Just get the red x in IE, and get nothing in firefox.

    ---

    Another very interesting thing. If I have more than one item listed:

    i.e.

    [item]Item name 1[/item]
    [item]Item name 2[/item]

    Then only item name 2 shows up - and item name 1 doesn't hover...

    If I add below it:

    [item]Item name 3[/item]

    Then item name 3 hovers ok (without the pic) and itemname 1 and 2 lose their hovers.

    Please see pic for example. As you can see the hover works fine, but only for the last item. All prior items have lost their color and the hover. If I add a new item via edit, then the working hover goes away and it works then on the newest item only.

    I am running Itemstats 1.3.1

    Thank you!

    -----------------

    *EDIT: I fixed the problem with the picture not showing up. The file itemcache.php had in its first line:

    include_once(dirname(__FILE__) . '/../config.php');

    This needed to be changed to:

    include_once(dirname(__FILE__) . '/config.php');

    The problem with it erasing the prior item's hoverability howver persists. The last one entered is the only one that works.

    Edit #2:

    Resolved. Needed to add 'item' to the var $unparsed_tags in class_bbcode_alt.php
    Reply With Quote
      #137  
    Old 07-23-2006, 10:56 AM
    Htd Htd is offline
     
    Join Date: Jul 2006
    Posts: 2
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    After searching through these threads I think I have a new one here. I've installed the original 1.2, then 1.31 on top of that (replacing all old files). I've got my config.php set to a working database, and the table created. After following all the instructions I can get vBulletin (3.5) to recognize the bbcode (it puts it as a link) but there is no popup and the link is incorrect. Attached is a screenshot of the link, then code used to make the link, and the URL the link points to (the mouse is hovering over the link). Any ideas?
    Reply With Quote
      #138  
    Old 07-24-2006, 11:29 AM
    aholtzmann aholtzmann is offline
     
    Join Date: Feb 2006
    Posts: 12
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    It sounds like you forgot to add the Overlib script line to the headinclude of your style/theme. Or perhaps your Z-Layer is off for some reason.
    Reply With Quote
      #139  
    Old 07-24-2006, 04:31 PM
    Htd Htd is offline
     
    Join Date: Jul 2006
    Posts: 2
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by aholtzmann
    It sounds like you forgot to add the Overlib script line to the headinclude of your style/theme. Or perhaps your Z-Layer is off for some reason.
    hmm, no the overlib stuff is there ok. I see that one problem is that the onmouseover does not seem to be doing anything at all, whereas the onclick is linking to the updateitem.php (this seems wrong to me). Doesn't the onclick link to allakhazam and the onmouseover run the .js to popup the stats?
    Reply With Quote
      #140  
    Old 07-25-2006, 02:41 PM
    aholtzmann aholtzmann is offline
     
    Join Date: Feb 2006
    Posts: 12
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by Htd
    hmm, no the overlib stuff is there ok. I see that one problem is that the onmouseover does not seem to be doing anything at all, whereas the onclick is linking to the updateitem.php (this seems wrong to me). Doesn't the onclick link to allakhazam and the onmouseover run the .js to popup the stats?
    The update link is by design, it allows the code to try to update the database if an item isn't found on a previous pass. Usually the mouseover on an uncached item shows an "Item not found" hover but it might not if it cannot access the database at all.

    Make sure the code can connent to your DB server and that your item_cache table uses this structure;

    CREATE TABLE IF NOT EXISTS `item_cache` (
    `item_name` varchar(100) NOT NULL default '',
    `item_link` varchar(100) default NULL,
    `item_color` varchar(20) NOT NULL default '',
    `item_icon` varchar(50) NOT NULL default '',
    `item_html` text NOT NULL,
    UNIQUE KEY `name` (`item_name`),
    FULLTEXT KEY `data` (`item_html`)
    )

    Good luck.
    Reply With Quote
      #141  
    Old 07-28-2006, 10:27 PM
    arachaic arachaic is offline
     
    Join Date: Jul 2006
    Posts: 1
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I've updated to v1.3.1, and made the necessary changes by uploading the folder and overwriting the 1.2 files in the itemstats folder.

    Everything is working fine, but the mouseover produces this effect (see attached pic).

    Using: vB 3.5.4

    Anything I can do to perfect this?

    Thanks.
    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 01:00 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.08769 seconds
    • Memory Usage 2,313KB
    • 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
    • (1)bbcode_html
    • (4)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
    • (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