Version: 1.00, by Vivi Ornitier
Developer Last Online: Mar 2008
Version: 2.2.x
Rating:
Released: 04-29-2002
Last Update: Never
Installs: 102
No support by the author.
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:
First of all, afterlab had the idea of an itemshop, which he also did, but it was pure text. People would have to talk to him to buy items, and he would have to manually substract the points.
Then, as a member of ffr, i started talking about how easy and convenient it would be to have an automated itemshop. People just click on the link, and the item is added, points substracted. Later that day, i did the very first version of the itemshop. Nothing big, just a buy function. The items were stored in an array.
I had released my itemshop on vb.org and afterlab was pretty unsatisfied that i hadn't given him any credit for the original idea. Actually i didn't even consider the itemshop a hack, it was more of a joke, something i had made for fun. I had no idea it would become so popular.
2 days later, version 4: This one had error pages, improved buy and sell function. I was planning a database powered itemshop, with admin cp interface.
afterlab then pretty much copied my code 3 times, and released his first version "with item categories". It felt pretty unfair, while i was struggling to do something way more advanced, he was getting all the credit for something that was still 85% mine.
then my computer broke, just as I was working on the admin cp of my database version. I was also planning to do the battle system hack.
in the meantime, about one week later, afterlab released his itemshop 3 i think, database powered.
couple of weeks later afterlab started all the battle system stuff.
about 2 months after my computer crashed, it got finally fixed, and i began to work to complete my own itemshop.
So well, here it is.
nice story, isn't it?
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:
[items] - This is where all the items are stored
[items_cats] - This is where all the categories are stored
[items_options] - This is where the configuration data is stored
[items_user] - This is where all the user stuff and items he bought, are stored
26 templates to the main template set:
itemshop
itemshop_buypers
itemshop_delpers
itemshop_donate
itemshop_donate-error
itemshop_donate-more
itemshop_donate-self
itemshop_donate-thanks
itemshop_error-nosell
itemshop_error-noshop
itemshop_info
itemshop_its
itemshop_itsbits
itemshop_own
itemshop_pers
itemshop_persform
itemshop_personal
itemshop_pheader
itemshop_redir-del
itemshop_redir-edit
itemshop_redir-sell
itemshop_redir-thanks
itemshop_tablebottom
itemshop_tablemiddle
itemshop_tabletop
itemshop_view
Like i said, anything there is to edit can be edited through templates
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.
*** 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
This modification may not be copied, reproduced or published elsewhere without author's permission.