PDA

View Full Version : Itemshop/Store Integration


Link14716
01-12-2003, 10:00 PM
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 (https://vborg.vbsupport.ru/showthread.php?s=&threadid=36991). Skip this step if it is already installed.

Now, start installing the itemshop hack (https://vborg.vbsupport.ru/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.

PSI|Dr-X
01-14-2003, 11:49 AM
I wil Try it thnx ^_^

The_Wanderer
01-14-2003, 01:40 PM
great... thanks ^^

Glenn379
01-14-2003, 03:41 PM
Are they in the same place then? like are they 2 in one (most likley) please anyone have a screenshot?

Link14716
01-14-2003, 11:42 PM
There are no cosmetical changes. It just uses the same point system (the store's) for both the itemshop and the store.

TheMayhem
01-15-2003, 09:07 PM
Looks good. Now I only wish I had an RPG to go with it. I'll install it and get back to you.

alanvo
01-16-2003, 07:59 PM
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?

EcpHosting
01-19-2003, 03:45 PM
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?

Link14716
01-19-2003, 03:47 PM
What? This just makes it where the itemshop uses store points....

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

Skyrender
02-07-2003, 08:51 PM
I did not get these instructions please tell me what to edit, and how.

SONOFSAM
02-12-2003, 06:07 AM
Anyone have the Store and Itemshop using the same bank?!!?

Link14716
02-12-2003, 10:30 AM
Install this and use the Itemshop's bank....

Red Blaze
03-07-2003, 06:27 PM
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?

Skyrender
03-18-2003, 10:33 PM
Yes but it will be complicated..

proxyMX
07-15-2003, 06:31 PM
can i ask if this can be integrated with Palmer's point system, if so how?

Yuber
07-16-2003, 12:32 AM
Do you plan on releasing this for vB3 when it is allowed?

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

....What?

Gio Takahashi
11-09-2003, 03:25 PM
I got it, next time I should read EVERYTHING >_>

Gio Takahashi
11-15-2003, 05:16 AM
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
Referer:


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.