View Full Version : Itemshop/Store Integration

13 Jan 2003, 20:19
I decided to post my instructions on how to integrate the two since everybody is asking for an integration in the other thread (that the author took down and lied about it being a battle hack). These are my instructions that I had previously posted.
Install the store hack (http://www.vbulletin.org/forum/showthread.php?s=&threadid=36991). Skip this step if it is already installed.

Now, start installing the itemshop hack (http://www.vbulletin.org/forum/showthread.php?s=&threadid=38090). Do NOT edit newthread.php OR newreply.php. If you have already install it, undo ALL edits that you made to newthread.php AND newreply.php while installing the itemshop.

Now, open up itemshop.php.
Replace EVERY instance of userfield with user
Save and Close itemshop.php

Upload itemshop.php
Go into your admin CP
Change the top option, Points Field, to storep

Now, you did it. Use the two in unison as you please.

14 Jan 2003, 12:49
I wil Try it thnx ^_^

14 Jan 2003, 14:40
great... thanks ^^

14 Jan 2003, 16:41
Are they in the same place then? like are they 2 in one (most likley) please anyone have a screenshot?

15 Jan 2003, 00:42
There are no cosmetical changes. It just uses the same point system (the store's) for both the itemshop and the store.

15 Jan 2003, 22:07
Looks good. Now I only wish I had an RPG to go with it. I'll install it and get back to you.

16 Jan 2003, 20:59
I want it when a buyer bought something, it sends an pm to him/her...and ofcourse the seller too...how do I do that?

19 Jan 2003, 16:45
So let me get this straight... 1) we can add items for people to purchase with store points? 2) And once purchased we (admin) gets some kind of notification or some script is performed?

19 Jan 2003, 16:47
What? This just makes it where the itemshop uses store points....

21 Jan 2003, 01:45
sorry, i dont know how itemshop works too well... just askin to see if this would work

07 Feb 2003, 21:51
I did not get these instructions please tell me what to edit, and how.

12 Feb 2003, 07:07
Anyone have the Store and Itemshop using the same bank?!!?

12 Feb 2003, 11:30
Install this and use the Itemshop's bank....

Red Blaze
07 Mar 2003, 19:27
Hello, I have the itemshop, but it came with the battle system that I got from Here (http://www.vbulletin.org/hacks/index.php?s=&action=showhack&hackid=803). I wanted to add the shop also, but wanted to get both of them work together. Can it still be done?

18 Mar 2003, 23:33
Yes but it will be complicated..

15 Jul 2003, 19:31
can i ask if this can be integrated with Palmer's point system, if so how?

16 Jul 2003, 01:32
Do you plan on releasing this for vB3 when it is allowed?

Gio Takahashi
09 Nov 2003, 09:24
Now, open up itemshop.php.
Replace EVERY instance of userfield with user
Save and Close itemshop.php


Gio Takahashi
09 Nov 2003, 16:25
I got it, next time I should read EVERYTHING >_>

Gio Takahashi
15 Nov 2003, 06:16
people can make their own categories...but I can't make a "public" category from the admin CP everytiem I do I get this error:

Database error in vBulletin Control Panel 2.3.2:

Invalid SQL: INSERT INTO `items_cats` (`id`, `name`, `description`, `catorder`, `type`, `ownerid`) VALUES ('', 'test', 'test', '5', '0', '')
mysql error: Duplicate entry 'test' for key 2

mysql error number: 1062

Date: Friday 14th of November 2003 11:18:51 PM
Script: http://www.unitedempire.net/forum/forum/admin/itemadmin.php
Referer: http://www.unitedempire.net/forum/admin/itemadmin.php?action=addcat&

And, when people try to view Itemshop CP, they get this:

Database error in vBulletin 2.3.2:
Invalid SQL: SELECT item7,points7,description7,icon7 FROM items_user WHERE userid=1
mysql error: Unknown column 'item7' in 'field list'
mysql error number: 1054
Date: Friday 14th of November 2003 11:22:36 PM
Script: http://www.unitedempire.net/forum/forum/itemshop.php

Also note that I used this hack in order to integrate it with Lesane's store hack and I figured it might have something to do with it.