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

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
      #72  
    Old 02-02-2006, 09:14 PM
    Grant Grant is offline
     
    Join Date: Jan 2006
    Posts: 14
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I tried doing that .. still doesnt work .. when I check teh source its still saying the wrong alla link
    Reply With Quote
      #73  
    Old 02-03-2006, 03:03 PM
    ChiliVB ChiliVB is offline
     
    Join Date: Dec 2005
    Posts: 51
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by Grant
    Well like I said before, from what I can see, the wrong link to the icons has been hard coded into it somwhere and I cant find it yet.
    In the original poster's message it says to:

    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.

    In the config.txt file it explains where to where to define your icons:

    2. Icon store

    You may wish to create a local store of icons on your server. This helps to reduce the bandwidth between your server and allakhazam. I would say it also speeds up your page refreshes, but it's actually the opposite in my case. I still use my own local cache out of respect for Allakhazam's bandwith. The default installation points to allakhazam. If you wish to change this, open 'itemstats/config.php' and look for the following lines:


    define('ICON_STORE_LOCATION', 'http://wow.allakhazam.com/images/icons/');
    define('ICON_EXTENSION', '.png');

    I followed the OP's instructions and never had any problems. The mod also created the item table for me. I didn't have to set one up in MySql, only define the database. You can spot the create code in the itemcache.php file.

    Review your itemstats/config.php file and see if it has a typo for image(s). Hope this helps.
    Reply With Quote
      #74  
    Old 02-03-2006, 07:23 PM
    Jaguartje Jaguartje is offline
     
    Join Date: Jan 2006
    Location: Netherlands
    Posts: 15
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I've tried it again, and now it's working... but the overlib functions don't seem to work right. Stuff doesn't line up well, etc. See screenshot aswell.

    I've tried finding the files that create the overlib, but I don't know whice ones to edit.
    Reply With Quote
      #75  
    Old 02-06-2006, 03:27 PM
    Jaguartje Jaguartje is offline
     
    Join Date: Jan 2006
    Location: Netherlands
    Posts: 15
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    *bump*
    Reply With Quote
      #76  
    Old 02-06-2006, 04:41 PM
    ChiliVB ChiliVB is offline
     
    Join Date: Dec 2005
    Posts: 51
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by Jaguartje
    I've tried it again, and now it's working... but the overlib functions don't seem to work right. Stuff doesn't line up well, etc. See screenshot aswell.

    I've tried finding the files that create the overlib, but I don't know whice ones to edit.
    Allakhazam made some changes shortly after the OP made this thread. There are a few fixes you need to apply to that should resolve your problem.

    See posts #24 and #30 in this thread.
    Reply With Quote
      #77  
    Old 02-06-2006, 07:32 PM
    Jaguartje Jaguartje is offline
     
    Join Date: Jan 2006
    Location: Netherlands
    Posts: 15
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Thanks ChiliVB... it's working now, but I still encounter a problem... Check the screenshot. This happens after editting a post already containing an itemstat BB code in it. This is done in WYSIWYG editor btw, and when editing, the original item seems to be opened as a normal link.

    Is there a way to fix this? I looked through the posts here, but couldn't find a solution.

    Also just noticed that it doesn't yet work with vbadvanced plugin.. it doesnt display the item in the news posts when you place a [item]xxxx[/item] in the news post.

    Weird.. didn't change anything to the code a while, tried it again, and now it doesnt work at all anymore
    Reply With Quote
      #78  
    Old 02-07-2006, 03:54 AM
    Grant Grant is offline
     
    Join Date: Jan 2006
    Posts: 14
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I still cant get my icons to work ..the link is right.. goes to the right spot .. but once again, when I check the source of the page that I have an item link on, its still pointing to the wrong link ..
    Reply With Quote
      #79  
    Old 02-07-2006, 04:10 AM
    Grant Grant is offline
     
    Join Date: Jan 2006
    Posts: 14
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Ok i got it working .. i just moved the icons to a new directory and did a new link ..

    now i just need to change the white items :P coz they dont go well with my background
    Reply With Quote
      #80  
    Old 02-07-2006, 06:02 AM
    Jaguartje Jaguartje is offline
     
    Join Date: Jan 2006
    Location: Netherlands
    Posts: 15
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by Grant
    Ok i got it working .. i just moved the icons to a new directory and did a new link ..

    now i just need to change the white items :P coz they dont go well with my background
    What happens when you edit a post already containing an item in it? The above things happened to my site
    Reply With Quote
      #81  
    Old 02-07-2006, 04:00 PM
    ChiliVB ChiliVB is offline
     
    Join Date: Dec 2005
    Posts: 51
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by Jaguartje
    Thanks ChiliVB... it's working now, but I still encounter a problem... Check the screenshot. This happens after editting a post already containing an itemstat BB code in it. This is done in WYSIWYG editor btw, and when editing, the original item seems to be opened as a normal link.

    Is there a way to fix this? I looked through the posts here, but couldn't find a solution.

    Also just noticed that it doesn't yet work with vbadvanced plugin.. it doesnt display the item in the news posts when you place a [item]xxxx[/item] in the news post.

    Weird.. didn't change anything to the code a while, tried it again, and now it doesnt work at all anymore
    Did you empty the trash after applying the fix? see post #40 which has a screenshot on this.

    Also some folks have it working with vbadvanced, a few posted here. See post #21 about using absolute paths to resolve that.
    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 03:20 PM.


    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.04866 seconds
    • Memory Usage 2,306KB
    • 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