The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
World of Warcraft [item]-bbcode. Details »» | |||||||||||||||||||||||||
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> 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
|
Comments |
#132
|
|||
|
|||
Quote:
|
#133
|
|||
|
|||
Quote:
|
#134
|
|||
|
|||
^ ^
ah cool. I'll give it another go with that in mind then |
#135
|
|||
|
|||
Is there a way to use this for other RPGs, such as Guild Wars? Ty.
|
#136
|
|||
|
|||
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 |
#137
|
|||
|
|||
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?
|
#138
|
|||
|
|||
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.
|
#139
|
|||
|
|||
Quote:
|
#140
|
|||
|
|||
Quote:
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. |
#141
|
|||
|
|||
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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|