[ABD] Store MOD Version 0.0.5

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Locked
wGEric
Former Team Member
Posts: 8805
Joined: Sun Oct 13, 2002 3:01 am
Location: Friday
Name: Eric Faerber
Contact:

[ABD] Store MOD Version 0.0.5

Post by wGEric »

I have abandoned this MOD. Anyone can take up development of it if they want. You can get the latest version from the CVS Module at Sourceforge. If I do take this up again, it will be for Olympus.


Add a Store to your site!

Browse CVS
Progress
Feature Requests
Bug Tracker
Demo - Taken offline
Download
Translations


Couple of notes about this version. You should be able to do everything in this MOD. If you have any problems please post.

I also still need to program the pages that will show all of the stores that have a certain item when a user seaches for one.

I have released this so people can start posting bugs so I know about them and can get them fixed ASAP.

Requirements

This MOD requires that you have the Cash MOD successfully installed and working on your site.

Add Ons
One Way Item Exchange MOD by Buga


This MOD will not work with Moogie's RPG MOD.
Last edited by wGEric on Sat Apr 02, 2005 6:38 pm, edited 13 times in total.
Eric
wGEric
Former Team Member
Posts: 8805
Joined: Sun Oct 13, 2002 3:01 am
Location: Friday
Name: Eric Faerber
Contact:

Features/Progress

Post by wGEric »

The features that are at 100% are included in Alpha 0.0.4

Beta 0.1.0 Features
  • Multiple Stores [100%]
    You can have multiple board owned stores.
  • Admins have control over every store[100%]
    Admins have control of everything for every store that is created.
  • Admins have control over users items [100%]
    Admins can add, edit, or delete items from an users inventory.
  • Users can own stores [100%]
    Users can create their own stores. Admin sets how many stores each user can have.
  • Multiple Items [100%]
    You can make multiple items that will be used throughout the store system. Items don't have a set price.
  • Unlimited Inventory in a Store [100%]
    You can add as many items as you want to any board owned store. Users have to own the item to put it in their store. You can set the price of the item in your inventory.
  • Restocking Items[100%]
    Each item in store's owned by the board can be restocked if you set a time and the amount to be restocked. Users store can't restock since they can only sell items that they own.
  • Multiple Currency Support [100%]
    You can set which currency to use for your shop. You will need to Cash MOD for this to work.
  • Move items from inventory to store [100%]
    Users can move items from their inventory to the inventory of a store they own.
  • Move items from store to inventory [100%]
    Users can move items from their store's inventory into their own inventory.
  • Buy a multiple amount of one item at a time [100%]
    Users can buy any amount of an item at a time if they have the money and the store has enough in stock.
  • Configuration [100%]
    Admins can choose how many stores each user can own.
    Admins can choose the max number of one item a person can buy at a time.
    Admins can choose whether special items can be sold in stores that users own or not.
  • Find item [0%] (maybe 0.1.0)
    Users can search for an item so they can find the cheapest price.
Overall Completion of Beta 0.1.0 95%

Future Features:
  • PayPal Support
  • Sell items back to a store
  • Give items to another user
  • Exchange items with a user
  • Items are downloads (scripts, programs, etc)
Last edited by wGEric on Sun Oct 12, 2003 2:43 am, edited 2 times in total.
Eric
wGEric
Former Team Member
Posts: 8805
Joined: Sun Oct 13, 2002 3:01 am
Location: Friday
Name: Eric Faerber
Contact:

Bugs/Translations

Post by wGEric »

Language Translations

French by sthuler for 0.0.4
Dutch by carloclaessen for 0.0.3a
Danish by hexar for 0.0.3a
Last edited by wGEric on Sat Jan 03, 2004 1:16 am, edited 9 times in total.
Eric
User avatar
GPHemsley
Registered User
Posts: 1475
Joined: Fri Apr 18, 2003 3:12 am
Location: Long Beach, NY
Name: Gordon Hemsley
Contact:

Post by GPHemsley »

So far, I've found two things. I've used EasyMOD 0.0.10a-2 to install, BTW.

1) You forgot the copy statement for store_edit_body.tpl
2) You need to have the item image to be in the $phpbb_root_path . 'images/' directory. As of now, it's just from the current directory of the URL. (Which means the image shows on the public page, but not in the admin panel, or vice versa.)

Otherwise, all seems OK. I'll let you know if I find anything else wrong so far. ;)
fateorfantasy
Registered User
Posts: 318
Joined: Tue Jul 01, 2003 6:54 pm
Location: Canada
Contact:

Post by fateorfantasy »

When I'm viewing a user's store, I get
Fatal error: Maximum execution time of 10 seconds exceeded in .../phpBB2/includes/functions_store.php on line 112
wGEric
Former Team Member
Posts: 8805
Joined: Sun Oct 13, 2002 3:01 am
Location: Friday
Name: Eric Faerber
Contact:

Post by wGEric »

GPHemsley wrote: 1) You forgot the copy statement for store_edit_body.tpl


I added that since the last version and forgot to add it to the copy. I'll get that fixed when I have some time.
2) You need to have the item image to be in the $phpbb_root_path . 'images/' directory. As of now, it's just from the current directory of the URL. (Which means the image shows on the public page, but not in the admin panel, or vice versa.)


I have it set up so you enter in the full URL to the image (http://) or go from the phpBB root. I'll change this if people have problems with it.
Otherwise, all seems OK. I'll let you know if I find anything else wrong so far. ;)


Thanks!
Eric
wGEric
Former Team Member
Posts: 8805
Joined: Sun Oct 13, 2002 3:01 am
Location: Friday
Name: Eric Faerber
Contact:

Post by wGEric »

fateorfantasy wrote: When I'm viewing a user's store, I get


Looks like you have zero as the restock time. Here's a fix for that

Code: Select all

#
#-----[ OPEN ]------------------------------------------------
#
includes/functions_store.php

#
#-----[ FIND ]------------------------------------------------
# line 107
#
                if ( $temp >= $restock_time && $restock_time != '' && $restock_time != NULL )
#
#-----[ REPLACE WITH ]------------------------------------------------
#
                if ( $temp >= $restock_time && $restock_time != '' && $restock_time != NULL && !$restock_time )
Eric
User avatar
naderman
Consultant
Consultant
Posts: 3754
Joined: Fri Aug 01, 2003 10:06 pm
Location: Berlin, Germany
Name: Nils Adermann
Contact:

Post by naderman »

This sounds really great. I like the idea of user's own stores and find the lowest price although it is not yet implemented. The only reason for not testing it at the moment is that I use Moogie's Mod and that I don't hav enough time to look through your files to understand and then change everything of Moogie's Mod.
I appreciate gifts from my Amazon wishlist.
naderman.de twitter: @naderman
wGEric
Former Team Member
Posts: 8805
Joined: Sun Oct 13, 2002 3:01 am
Location: Friday
Name: Eric Faerber
Contact:

Post by wGEric »

The way I do items and the users inventory is completely different then the way Zarath's does so you would have to make quite a few changes.
Eric
User avatar
naderman
Consultant
Consultant
Posts: 3754
Joined: Fri Aug 01, 2003 10:06 pm
Location: Berlin, Germany
Name: Nils Adermann
Contact:

Post by naderman »

Yes that's why I do not have enough time because it would take me quite a long time.
I appreciate gifts from my Amazon wishlist.
naderman.de twitter: @naderman
xmulder
Registered User
Posts: 429
Joined: Thu Jun 27, 2002 8:37 pm

Post by xmulder »

i dont mean to sound rude but if this doesent work with an RPG mod then whats the point of it? i mean they can buy and sell items but what purpose do they serve? the idea is cool and i may even dump my RPG plans in order to use this but some kind of RPG integration (sp?) would be very very cool ;)
wGEric
Former Team Member
Posts: 8805
Joined: Sun Oct 13, 2002 3:01 am
Location: Friday
Name: Eric Faerber
Contact:

Post by wGEric »

I am planning to make my own RPG MOD that will go with this one. What I want to do uses Java so I'll have to learn that first.

Anyways I will be making it so you can use PayPal with this MOD. So you can sell real items and ship it to the person or charge for downloading a program or something.
Eric
schoolsux
Registered User
Posts: 9
Joined: Sun Sep 21, 2003 7:36 pm

Post by schoolsux »

I love that idea, but i would add one request... a exchange where people can sell throguh paypal their points!! ie you post yours that you want to sell the excahnge rate you will sell it at... then people press buy and they can buy them from you but also you can add wanted exchange rates and ponts


just an idea
Last edited by schoolsux on Mon Sep 22, 2003 10:24 pm, edited 1 time in total.
User avatar
thewizard
Registered User
Posts: 356
Joined: Sun Sep 29, 2002 7:46 am

Post by thewizard »

NVM
wGEric
Former Team Member
Posts: 8805
Joined: Sun Oct 13, 2002 3:01 am
Location: Friday
Name: Eric Faerber
Contact:

Post by wGEric »

schoolsux wrote: I love that idea, but i would add one request... a exchange where people can sell throguh paypal their points!! ie you post yours that you want to sell the excahnge rate you will sell it at... then people press buy and they can buy them from you but also you can add wanted exchange rates and ponts


just an idea


That is a good idea. I'll have to mess with it when I have the PayPal support done to see if I can get it to work.
Eric
Locked

Return to “[2.0.x] MODs in Development”