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 |
#342
|
|||
|
|||
![]()
*LAUGHS*
That's priceless. Riddel, you're great. |
#343
|
|||
|
|||
![]()
Im hoping someone might be helping, because im sure viv isnt giving an y more support on this. Im getting a database error when a user trys to donate. i have this on 2 of my other forums and have no problems what so ever. I have un-installed and re-installed hoping it would fix 4 times with no success!
heres there error im getting: [php}Database error in vBulletin 2.2.7: Invalid SQL: SELECT field9 FROM userfield WHERE userid=MjpbUktdU09OT0ZTQU06ZTA5Mjc4ZmM0NDlhNjI1MTY 0N2IwZDExMGIzMjIyMjA6MTA6OjA6MDowOjA6OjQwOTY= mysql error: You have an error in your SQL syntax near '' at line 1 mysql error number: 1064 Date: Friday 27th of September 2002 01:31:00 AM Script: http://www.clanbrats.com/forums/forums/itemshop.php Referer: http://www.clanbrats.com/forums/item...=donate&user=7[/php] i know nothing about PHP....but looking at the error, looks like there is a problem with the $iddonate somehow. the userid doesnt look like its coming up right. also, where the script URL is...i dont know how or why it has forums twice in the URL...could that cause the problem? please offer any help or ideas how to fix ![]() |
#344
|
|||
|
|||
![]()
please anyone have an idea??
|
#345
|
||||
|
||||
![]() Quote:
Edit: I just tried the fix posted earlier in the thread, and it still doesn't work. =/ |
#346
|
||||
|
||||
![]()
Nevermind all of that
I think I got it to work fine ^_^ thanks a lot, a great hack |
#347
|
|||
|
|||
![]()
Database error in vBulletin 2.2.7:
Invalid SQL: SELECT field5 FROM userfield WHERE userid=1 mysql error: Unknown column 'field5' in 'field list' mysql error number: 1054 Date: Saturday 12th of October 2002 01:20:34 AM Script: http://www.liquidflo.com/rap/rap/itemshop.php Referer: the fields are rite i dunno whats wrong installed many haks before so i knwo what iam doing but ia dunno what this is ? can someoen help (this happens when i try to go to teh item shop which would be www.liquidflo.com/rap/itemshop.php) |
#348
|
|||
|
|||
![]()
Hmmm, this was working all good for me, until recently when my members stopped earning interest. Is there a reason why they aren't getting their interest in the bank anymore?
|
#349
|
||||
|
||||
![]()
this happens everytime i try to donate, iv'e installed this hack on 4 different forums and im getting the same thing everytime
![]() Database error in vBulletin 2.2.8: Invalid SQL: SELECT field5 FROM userfield WHERE userid=Array mysql error: Unknown column 'Array' in 'where clause' mysql error number: 1054 Date: Monday 21st of October 2002 09:06:06 PM Script: http://www.girlzclan.com/forums/forums/itemshop.php Referer: http://www.girlzclan.com/forums/item...donate&user=11 |
#350
|
||||
|
||||
![]()
is it possible to show your points on the postbit??
|
#351
|
||||
|
||||
![]() Quote:
$points[points] |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|