The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
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 |
#352
|
||||
|
||||
![]()
i tried that but i get nothing there.. same with the items.
|
#353
|
||||
|
||||
![]()
ok i fixed the items not showing on the postbit.. but i still can get my points to show up..
|
#354
|
||||||
|
||||||
![]()
Hello everyone,
Well, this one's been a much-traveled hack. I installed this on version 2.2.8, even knowing there were problems, because I wanted to see if I could find out some way of helping with a couple of the problems - this is a very cool hack and I hate to see it go to waste. One of the main concerns appears to be the query load. Because of the way the hack works, even with Link's fix, there is an insane amount of queries -per post- to process the display of items. Vivi actually saw that this was a problem and posted a fix wayyy back in the early pages of the thread. However, the fix missed a step, and I wasn't able to properly get a good display going without the load until recently. Basically, I applied Vivi's fix, and included the one step he missed when he first posted it. I believe this should help on the server load and reduce the queries to nil. Since I have limited experience with php and mySQL, try this out at your own risk. Be sure to backup the files you're hacking. 1. showthread.php edits (do this step TWICE since there are two instances in the code) In showthread.php, find the following: Quote:
Quote:
Quote:
Quote:
find the original hack of functions.php for the item shop, as instructed by the installer. It should be something like this (link's fix is similar-looking): Quote:
Quote:
You should now have a less bloated bunch of code to process the images and items for each poster in a thread. As an added bonus, since the items_user is now LEFT JOIN'd to the $post array, you can individually call items by fieldname in the array. I do this because I don't like to see icons, but names. It varies depending on your categories and such, but if you use $post[item1] When editing your postbit, you should get the text name for the item in that category in your postbit, if you want a different one, try [item2], [item3], etc. I hope this works and that it helps some of you out. ![]() |
#355
|
||||
|
||||
![]()
is it possible to show the users items in a seperate page with no other PHP at all???
will use a button then to pop up a window displaying the items... any help would be appreciated... and wont this lower the amount of query loads on the showthread???? and if this can go into a new page what can i delete of the old hacked php code to gt rid or reduce the query load?? all thanks ![]() |
#356
|
|||
|
|||
![]()
can anyone make an add on to this hack
like when a memner is opening a store, he can upload mini images his self which will put beside the item he wants it to be. |
#357
|
|||
|
|||
![]()
anyone?
|
#358
|
||||
|
||||
![]()
i think this thread is dead mate... try posting a new topic??
|
#359
|
||||
|
||||
![]()
can i not mod this hack so that all the users items can be viewable in a pop up page??
if anyone can please tell me, Thanx |
#360
|
||||
|
||||
![]()
question how can I reset the money on the bank?
|
#361
|
||||
|
||||
![]() Quote:
so basicly, in theory, yes, but it would need some work on your behalf. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|