vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Itemshop/Store Integration (https://vborg.vbsupport.ru/showthread.php?t=47688)

Link14716 01-12-2003 10:00 PM

Itemshop/Store Integration
 
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.
Quote:

Install the store hack. Skip this step if it is already installed.

Now, start installing the itemshop hack. 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. 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

Quote:

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:

PHP Code:

Database error in vBulletin Control Panel 2.3.2:
 
Invalid SQLINSERT INTO `items_cats` (`id`, `name`, `description`, `catorder`, `type`, `ownerid`) VALUES ('''test''test''5''0''')
mysql errorDuplicate entry 'test' for key 2
 
mysql error number
1062
 
Date
Friday 14th of November 2003 11:18:51 PM
Script
: [url="http://www.unitedempire.net/forum/forum/admin/itemadmin.php"]http://www.unitedempire.net/forum/forum/admin/itemadmin.php[/url]
Referer: [url="http://www.unitedempire.net/forum/admin/itemadmin.php?action=addcat&"]http://www.unitedempire.net/forum/admin/itemadmin.php?action=addcat&[/url] 

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

PHP Code:

Database error in vBulletin 2.3.2:
Invalid SQLSELECT item7,points7,description7,icon7 FROM items_user WHERE userid=1
mysql error
Unknown column 'item7' in 'field list'
mysql error number1054
Date
Friday 14th of November 2003 11:22:36 PM
Script
: [url="http://www.unitedempire.net/forum/forum/itemshop.php"]http://www.unitedempire.net/forum/forum/itemshop.php[/url]
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.


All times are GMT. The time now is 05:27 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01130 seconds
  • Memory Usage 1,758KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete