The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
The Itemshop v5 (Original) Details »» | |||||||||||||||||||||||||
Again, I'm posting this for a friend. He is the original itemshop creator. (see this thread):
Let's start with the beginning. You may wonder why this thread has the word original in its name. Well, there are too many itemshops out there. So here's a short version of the itemshop history:
here's a quick list of features: Database driven Full Template Set (everything that is outputted is generted through templates) Infinite items categories and items Items and category descriptions Stock (idea by Crono) Detailed items/categories/shops stats (number of sold items, profit) All the item and category adding/editing/deleting and option editing is done through the cp. Special icon column for different item display possibilities !!!! Personal Shops !!! (members can create their own shops and sell items. You can specify how much it costs through the cp. while each category has it's own slot, all the personal shops work under one slot. That means, you can only have one item from all the personal shops) An own donation system included what it adds: The itemshop adds 4 tables to the vbulletin database:
26 templates to the main template set:
File and Template Modifications: there are 4 file modifications, but only one of them is neccessary. and one template modification: postbit, wherever you want the donation link to be. important!!!!: remember to change your points field and remove any old itemshop templates!!! Installation method First of all, be sure to back up your database!! This is a fairly large hack. Adds a lot of stuff to the database. the installation is done through the install script install_itemshop.php. It will guide you through 5 easy steps. the only manual edits you'll have to do are the ones above, file and template edits. Included Files readme.htm - general information root/itemshop.php - main itemshop file admin/itemadmin.php - itemshop admin interface admin/install_itemshop.php - itemshop installation file images/itemshop - itemshop image file. This is where you will have to upload all coresponding graphics. Contact Information mail: gheghe@rnc.ro aim: MewtwoAlx If you wish to colaborate with me in continuing this hack or to add item descriptions for further versions please contact me. This hack can easily be used not only for rpg boards.. As an example: you add computer categories: cpu, hdd, monitor etc, replace points with $ and let people on your forum build themselves a computer! I've already got a list of stuff i gotta update in the next version, but if there's any request feel free to ask. The shop is 100% functional, but i want to improve stuff, make it more efficient. [And please, before releasing any new mod/edit/version to this hack ask for permission] - If you agree to that condition you are allowed to freely use and distribute the zip below, as long asthe copyright and author information remains intact. By not agreeing, you are not allowed to use this hack, nor will you get any support. - Thank you! That was just to prevent my hours hard work on the itemshop to be stolen Whoa, that was a lot of typing! I hope you like it! Attached file below. screenshots attached: https://vborg.vbsupport.ru/showthrea...268#post246268 https://vborg.vbsupport.ru/showthrea...277#post246277 *** update all bugs reported by Kaelon are fixed. i've also added some extra stuff: ascending or descending order postbit edit: well, for the postbit, i couldn't just put the imgs, cause all the items of the same type have the same image. so i put the image and a link to a separate item info page. 1 new template required for the item info page. added remove feature in installation script. ( note: it will simply drop the tables and remove the templates). 75% faster!!! and less stress on your server *** *** new update: bank hack integrated!!! *** *** Show Your Support
|
Comments |
#22
|
|||
|
|||
Are there any battle hacks that work with this, and recognize the weapons and armor and go by their actual attack and defensive properties?
|
#23
|
||||
|
||||
------------------------------
Warning: Variable passed to each() is not an array or object in /home/virtual/site8/fst/var/www/html/boards/admin/itemadmin.php on line 147 Items updated! ------------------------- ------------------------- Database error in vBulletin 2.2.5: Invalid SQL: SELECT item1,points1,description1,icon1 FROM items_user WHERE userid=1 mysql error: Unknown column 'item1' in 'field list' mysql error number: 1054 Date: Tuesday 30th of April 2002 09:24:31 PM Script: http://www.punkmusicrocks.com/boards...hp?action=main Referer: http://www.punkmusicrocks.com/boards/index.php? --------------------------------- What about those two things? It also won't let me edit items. |
#24
|
||||
|
||||
Damnit, just when I thought it was gone and I would be few out of those who still had the original. But now this is released...
J/k. But I did work so hard to integrate the previous one, adding buy buttons and other things. But hey, you added a stock feature, thats pretty sweet. I may have to wait till the weekend to install this one. [high]* Velocd hits install button[/high] |
#25
|
||||
|
||||
Why isn't anyone helping?!?!?
|
#26
|
||||
|
||||
/me shrugs
/me points at Vivi |
#27
|
||||
|
||||
It's ALL fixed now.
Is there a way to control the stock of a specific item? Also, personal shops can create their own items, shouldn't they sell what's in the inventory, and what they've already bought? And, Is it possible to allow a user to carry a bigger number of a category than just one item? |
#28
|
|||
|
|||
very nice hack and are u still working on the battle hack and will you incorporate it with this hack so you can use weapons etc...
|
#29
|
||||
|
||||
Very nice hack, Vivi. I set up a private test forum - a fresh, clean install of 2.2.5, and mostly everything looks like it is functioning properly on the admin backend. I run into the first error at the "Donate" function. It looks like your hack doesn't escape apostrophe's appropriately. There are also some other bugs that I have itemized below for your reference.
1. No Apostrophe Escape Quote:
2. Donate Error Your donate URL, as you specified it in postbits, is incorrect. The correct URL, whether or not you use JavaScript, should be as follows: Code:
<a href="itemshop.php?action=donate&user=$post[userid]">Donate</a> 3. Sold Item Graphic Remains When you sell an item, the graphic for the previous (sold) item remains even though you have no item listed in the appropriate slot. When you purchase a new item, fortunately, the new item graphic icon replaces the old item graphic. This can be fixed if you clear out the value for your categorical icon in use. I'll continue testing and let you know if I run into anything else. Juan |
#30
|
||||
|
||||
Basically, aside from that above, this hack is working very nicely. I must hand it to you, Vivi - a job very well done. I think I can figure out the postbit code to show items purchased by the player by simply looking at the other templates, but I look forward to seeing how you do it.
Juan/Kaelon Edit: Actually, nope, the other templates didn't have any postbit examples I could stick in, so I'll wait for you to include your postbit. =) |
#31
|
||||
|
||||
thank you for pointing that out Kaelon. I'll fix it all.
I'll also do the postbit today. I'm sorry for not making it clear, but the shinra points hack is required. After installing the shop, you need to go to your admin cp, and under the itemshop section, Edit options. Make sure the correct point field is specified there. That's where you control stock: minimum stock, maximum stock and stock reset time. itemshop are identified by the userid of their owner, so having multiple personal shops is impossible. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|