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
      #32  
    Old 01-03-2006, 09:04 AM
    lanc3lot's Avatar
    lanc3lot lanc3lot is offline
     
    Join Date: Sep 2004
    Location: Athens, Greece
    Posts: 454
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by Zachariah
    ]

    Empty the item_cache table set in your:
    itemcache/config.php
    Code:
    define('item_cache_table', 'item_cache');
    In my case I pasted bellow in phpmyadmin. ( I do not use table prefix)
    Code:
    TRUNCATE 'item_cache'
    Hello again, when u say empy, u mean to execute this sql query ??

    Thnx again for your help
    Reply With Quote
      #33  
    Old 01-03-2006, 11:15 AM
    Sparkz's Avatar
    Sparkz Sparkz is offline
     
    Join Date: Nov 2001
    Posts: 544
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by Martinjepsen
    this bbcode isn't a real bbcode, hence it doesn't work with some other mods like vbadvanced cmps , couldn't be add like a real bbcode instead of editing files ?
    This is just not true.
    It works well with vbadvanced. You just have to adjust a couple of paths, like specified in this post.
    Reply With Quote
      #34  
    Old 01-03-2006, 02:47 PM
    Martinjepsen Martinjepsen is offline
     
    Join Date: Dec 2005
    Posts: 11
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    i have that, its not even attempting to do the item links

    http://northrend.dk/index.php

    vs

    http://northrend.dk/showthread.php?t=105
    Reply With Quote
      #35  
    Old 01-03-2006, 03:10 PM
    CtrlAltDel CtrlAltDel is offline
     
    Join Date: Feb 2002
    Location: Ohio
    Posts: 107
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    i appreciate the repackaging of the mod
    i was in the process of writing this for my site until i found this

    my only problem has nothing to do with sparks work but with the original authors work...and i posted that on his site

    he has some terrible xml parsing routine in that code, its so much easier to read the xml into an array and then extract the values you want...which is actually how you'd go about doing it normally...especially with the talk at akz about reworking their xml output to a standard format.

    i had a script that did all the hover over jazz and database caching if you passed it an item name...just needed to figure out how to hook it into vb, so thx sparks!
    Reply With Quote
      #36  
    Old 01-03-2006, 11:02 PM
    danbc danbc is offline
     
    Join Date: Nov 2001
    Location: Denmark
    Posts: 77
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Im having some probs with this sweet mod...

    For some reason my items text is garbled up, not like in a box like your guys but in another shape that messes up the text

    Take a peek on this ti see what I mean, the red circle shows the garbled text and the pink lines shows an item prob, dunno if that?s ok..

    Running vBulletin Version 3.5.0 & vBadvanced CMPS v2.0.0

    And im purely a copy/paste coder

    Reply With Quote
      #37  
    Old 01-04-2006, 04:40 AM
    Sparkz's Avatar
    Sparkz Sparkz is offline
     
    Join Date: Nov 2001
    Posts: 544
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by CtrlAltDel
    i appreciate the repackaging of the mod
    i was in the process of writing this for my site until i found this

    my only problem has nothing to do with sparks work but with the original authors work...and i posted that on his site

    he has some terrible xml parsing routine in that code, its so much easier to read the xml into an array and then extract the values you want...which is actually how you'd go about doing it normally...especially with the talk at akz about reworking their xml output to a standard format.

    i had a script that did all the hover over jazz and database caching if you passed it an item name...just needed to figure out how to hook it into vb, so thx sparks!
    Yeah, I know. Itemstats has a bit of ugliness in it, but I don't have much free time to code anymore, so I just aimed for something that works.

    Are you going to release your package?
    Reply With Quote
      #38  
    Old 01-04-2006, 04:47 AM
    Sparkz's Avatar
    Sparkz Sparkz is offline
     
    Join Date: Nov 2001
    Posts: 544
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by Martinjepsen
    i have that, its not even attempting to do the item links

    http://northrend.dk/index.php

    vs

    http://northrend.dk/showthread.php?t=105
    Just a wild guess here, but is BBCode enabled in your news module?
    Oh, and as I didn't answer that in your last post - this is just as much of a bbcode as any of the other built in bbcodes. If you took the time to look at the code, you'd see this.

    In any case, I'm sorry if it doesn't work for you. I can't really imagine what else could be the problem, as it works perfectly in my own vBadvanced.
    Reply With Quote
      #39  
    Old 01-04-2006, 08:56 AM
    danbc danbc is offline
     
    Join Date: Nov 2001
    Location: Denmark
    Posts: 77
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Nm about my post, seems that it?s only some items that make that wierd error, rest is working fine also on Vba frontpage

    Only I would loooove a button for this so my users can use it easely, but that doesn?t seem to work
    Reply With Quote
      #40  
    Old 01-04-2006, 04:02 PM
    Martinjepsen Martinjepsen is offline
     
    Join Date: Dec 2005
    Posts: 11
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    ok i found a problem :

    Warning: Plugins are currently globally disabled via config.php.

    then i found :

    define('DISABLE_HOOKS', true);

    in the bottom of config.php

    now cometing out that line, will make my vBadvanced not load at all, while having it at disable it wont show item links on vBadvanced, while item links ork fine on the forum ...
    Reply With Quote
      #41  
    Old 01-06-2006, 11:03 AM
    Zachariah's Avatar
    Zachariah Zachariah is offline
     
    Join Date: Feb 2002
    Location: Canoga Park, CA
    Posts: 2,125
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by danbc
    Im having some probs with this sweet mod...

    For some reason my items text is garbled up, not like in a box like your guys but in another shape that messes up the text
    Post: 24


    Quote:
    Originally Posted by lanc3lot
    Hello again, when u say empy, u mean to execute this sql query ??

    Thnx again for your help
    - Yes

    Or use phpMyAdmin and hit the trash can "empty".

    see attached.
    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 11:05 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.04867 seconds
    • Memory Usage 2,321KB
    • 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_html
    • (6)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