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 |
#202
|
||||
|
||||
![]() Quote:
|
#203
|
||||
|
||||
![]()
nope it still the same error, I dunno,
now when I pull up /forums/intemshop.php , I get this eror Database error in vBulletin 2.2.6: Invalid SQL: SELECT points FROM userfield WHERE userid=1 mysql error: Unknown column 'points' in 'field list' mysql error number: 1054 Date: Friday 05th of July 2002 06:15:52 PM and then /admin/user.php gives me this error Database error in vBulletin Control Panel 2.2.6: Invalid SQL: SELECT user.*,FROM_UNIXTIME(joindate) AS joindate,FROM_UNIXTIME(lastvisit) AS lastvisit,FROM_UNIXTIME(lastactivity) AS lastactivity,FROM_UNIXTIME(lastpost) AS lastpost,FROM_UNIXTIME(awaydate) AS awaydate avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar FROM user LEFT JOIN avatar ON avatar.avatarid=user.avatarid LEFT JOIN customavatar ON customavatar.userid=user.userid WHERE user.userid=1 mysql error: You have an error in your SQL syntax near 'avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar ' at line 2 mysql error number: 1064 Date: Friday 05th of July 2002 06:19:01 PM Referer: http://sub.domain.com/admin/index.php? I dunno |
#204
|
|||
|
|||
![]()
well the points field is either fuxored or off ;\ and the try and just replace the admin/user.php with the backup of it and see if the shop is still functional...
g-force2k2 |
#205
|
||||
|
||||
![]()
The items will not show in the posbit.
|
#206
|
||||
|
||||
![]()
I installed it on my testboard without a problem, but it's really not what I was looking for. I would like it 100% if:
You could have an option to post each item, like say I bought a wep, an armor and an item. In the postbit, I could put this: Weapon: $post[weapon] Armor: $postst[armor] |
#207
|
||||
|
||||
![]()
It seems that no one has any feasable solution to the problem so many of us are having. What frustrates me is when people make hacks, dont think em through properly and just release him, and obviously the Itemshop 5 has been a problematic release. Perhaps some more testing wouldnt have harmed anyone? And if anyone know how to fix this problem, im sure alot of us would be gratefull.
In the Postbit where you place PHP Code:
|
#208
|
||||
|
||||
![]()
Take out the space...
Satan |
#209
|
||||
|
||||
![]()
in my forums there is no space.
And i tested the placing a space thing, it actually brigns up something "Array [items]" |
#210
|
||||
|
||||
![]()
Find out the problem
At first it seemed like a miracle, but heres what i done step by step to get the images to show. Step 1: Start up the install script again and first REMOVE the templates and tables using the script. Step 2: Go through the script again and let it set up the tables etc Step 3: Skip the file alterations Step 4: Go to your itemshop and direct it to the proper user field (I installed the SHinra Hack because it provides better moderation functions. But even if youve got this installed you must do the same) [To find out what field is what simply go to the Modify area of the user profile fields and then hover your mouse over edit. The last number of the line is the field number.] Step 5: Simply go into your item shop and then buy some stuff, and watch it appear in the post bit. [Note, Custom items should appear too!] mods can you please move this post to the Itemshop 5 area pwease sowwy Custom Items Bug The above by myself shows how to do it. However, ive found if you delete ANY of the categories then create a new one in place of em, the items DO NOT show up. So what to do is simply delete all the items in each category, and then replace them with your own custom items. Then if you require any more categories you can add em on, but you cannot delete any of the orginial four, it mucks it up. |
#211
|
|||
|
|||
![]()
heh, my problem kicked my admin cp's arse x_X
when i go to edit templates, any template that has not been modified from it's original it just says "[Change Original]" and no titles for any of them... when I click on that for any line, it opens up a blank template... I am screwed. Not too mention interest on the bank does not work at all. VERY nice looking hack, but it's not worth it cos uninstalling is gonna be ten times worse than installation was... |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|