[ABD] Shop Mod (0.4.1)

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
beille
Registered User
Posts: 3
Joined: Sat Jun 14, 2008 3:21 pm

Re: [ALPHA] Shop Mod (0.3.0)

Post by beille »

The file info_ucp_shop.php doesn't exist in the download. How can I load it up, if it isn't there?!

How should I load up things in the shop, if I can't see the settings?
annepenullar
Registered User
Posts: 137
Joined: Sun Oct 21, 2007 7:01 am

Re: [ALPHA] Shop Mod (0.3.0)

Post by annepenullar »

I believe it will work fine without the root/language/en/mods/info_ucp_shop.php,.

For now, the only "usable module" is the Shop Item Management.
User avatar
Phantom784
Registered User
Posts: 290
Joined: Wed Aug 08, 2007 3:09 am
Location: State College, PA
Contact:

Re: [ALPHA] Shop Mod (0.3.0)

Post by Phantom784 »

Sorry for the confusion, but I just realised what the problem is. There is no language/en/mods/info_ucp_shop.php, and there doesn't need to be. I was using it for a bit, and must have accidentally left it in install.xml. Now, however, the language info for the user is just in language/en/mods/shop.php

The Shop Item Management module isn't the only usable module, the "Inventory" ucp module should be working too. The only module that does nothing in 0.3.0 is the "config" module.
Want to contact me? Find out how at http://francisfisher.com/contact.php
danielnguyen
Registered User
Posts: 287
Joined: Thu Jan 24, 2008 11:44 am
Location: Vietnam
Contact:

Re: [ALPHA] Shop Mod (0.3.0)

Post by danielnguyen »

Does admin can give a manager as mod of the shopping? Manager has a full permission with the shop, or many type of permission such as: saler, warehouse inventory, etc!
Does manager can set multi categories for shopping? such as: Snack Shop, Drink Shop, Meal Shop, Cloth Shop, etc?
Does admin can give an option for paying salary for manager and any worker in shopping?

Sorry for my poor english, I speak Vietnamese!
I like your mods!
Thank you very much for your mod!!! Let you continue to develop it!
Regards :D
My forum, for just teen only with many happy things
Cộng Đồng Teen Online - Cộng Đồng Teen Việt - Teen Việt Nam
Hội Ngộ - Giao Lưu - Học Hỏi - Giải Trí - Kết Bạn
http://www.congdongteenonline.net
beille
Registered User
Posts: 3
Joined: Sat Jun 14, 2008 3:21 pm

Re: [ALPHA] Shop Mod (0.3.0)

Post by beille »

Oh sorry! I was silly about that. I forgot to add the Item Management Module into the ACP :s

Sorry for the trouble.
User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [ALPHA] Shop Mod (0.3.0)

Post by Gleasonator »

Hi, thanks for this awesome mod! :D I installed it and it works perfectly... except for one thing.

Using Handyman's Cash mod, anytime I set an item's sellback price in the ACP, it's always reset to $0. Sorry if this issue has been brought up before, but is there a fix?

EDIT:

After buying an item and selling it back, then setting a sellback price in the ACP again, I bought it again and am getting:

SQL ERROR [ mysql4 ]

Out of range value adjusted for column 'cash_amt' at row 2 [1264]

SQL

UPDATE phpbb_cash_amt SET cash_amt = cash_amt - 80 WHERE user_id = '2' AND cash_id = 1

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: includes/functions_shop.php
LINE: 112
CALL: dbal_mysql->sql_query()

FILE: includes/functions_shop.php
LINE: 267
CALL: cash_mod->charge_user()

FILE: includes/functions_shop.php
LINE: 288
CALL: item->prebuy()

FILE: shop.php
LINE: 63
CALL: item->buy()
Sorry for my bad Engrish !
gleason|design

Image
User avatar
Phantom784
Registered User
Posts: 290
Joined: Wed Aug 08, 2007 3:09 am
Location: State College, PA
Contact:

Re: [ALPHA] Shop Mod (0.3.0)

Post by Phantom784 »

danielnguyen wrote:Does admin can give a manager as mod of the shopping? Manager has a full permission with the shop, or many type of permission such as: saler, warehouse inventory, etc!
Does manager can set multi categories for shopping? such as: Snack Shop, Drink Shop, Meal Shop, Cloth Shop, etc?
Does admin can give an option for paying salary for manager and any worker in shopping?

Sorry for my poor english, I speak Vietnamese!
I like your mods!
Thank you very much for your mod!!! Let you continue to develop it!
Regards :D
The next release will have an acp permission option for the shop area of the acp, so you could make an admin who only has permission to access the shop. Eventually, I'll have a moderator panel so that moderators can have some access to the shop config.
Anything with sallaries would have to be part of the cash/point mod, and not part of mine.
And categories are a planned feature, although they won't be in the next release. (which should be soon!)
Want to contact me? Find out how at http://francisfisher.com/contact.php
butler312
Registered User
Posts: 50
Joined: Wed May 21, 2008 4:00 pm

Re: [ALPHA] Shop Mod (0.3.0)

Post by butler312 »

I have a suggestion for future releases (sorry if I missed this). I would love to see an option to sell lottery tickets. I run a site and would like to have monthly prizes and "sell" members tickets for it.
User avatar
Phantom784
Registered User
Posts: 290
Joined: Wed Aug 08, 2007 3:09 am
Location: State College, PA
Contact:

Re: [ALPHA] Shop Mod (0.3.0)

Post by Phantom784 »

I have a "lottery ticket" now, but it's more of a "scratch off" ticket, in that there's no number drawing, there's just a certian chance of getting money when you use it. I'll eventually have a real lottery system with drawings and everything.
Want to contact me? Find out how at http://francisfisher.com/contact.php
ihermit
Registered User
Posts: 251
Joined: Wed Mar 05, 2008 4:26 am

Re: [ALPHA] Shop Mod (0.3.0)

Post by ihermit »

When can we expect the next release? And how are you progressing with the shelf feature?
User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [ALPHA] Shop Mod (0.3.0)

Post by Gleasonator »

Sorry about my last post. That was an issue with the cash mod that I resolved.

I have a bug to submit, though. I've found that, using a simple URL query, anyone can obtain cash points by selling items that they don't have to the shop, and they can also drain the quantity of items.

If you submit the query: http://yoursite.com/forums/shop.php?mode=buy&item=item_id

Then choose that you would like to purchase the item, it will tell you that you cannot and wont let you, but the stock of the item still decreases by 1.

What's worse, though, is that with this query: http://yoursite.com/forums/ucp.php?i=shop&mode=inventory&action=sellback&item=item_id

A user can "sell" back an item that he or she doesn't have. It will increase the stock of that item in the shop by 1 point, and will give the user who submitted that query as much cash as the item is worth. This is especially bad when the item has a very large sellback price. Any user could take over the whole shop by using this method.

EDIT: I think the best way to resolve this is to a make seperate PHP file for the shop, and one for actually purchasing the item.
Last edited by Gleasonator on Tue Jun 17, 2008 2:57 pm, edited 1 time in total.
Sorry for my bad Engrish !
gleason|design

Image
ginny2689
Registered User
Posts: 29
Joined: Wed May 28, 2008 1:01 pm

Re: [ALPHA] Shop Mod (0.3.0)

Post by ginny2689 »

pls help me

whenever i click on Shop the following informaion came

Forum Shop

Sorry, the shop is closed at this time.

how can i open the shop pls tell me

Thanks!!
User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [ALPHA] Shop Mod (0.3.0)

Post by Gleasonator »

ginny2689 wrote:pls help me

whenever i click on Shop the following informaion came

Forum Shop

Sorry, the shop is closed at this time.

how can i open the shop pls tell me

Thanks!!
Add an item to the shop and it will open automatically.
Sorry for my bad Engrish !
gleason|design

Image
ginny2689
Registered User
Posts: 29
Joined: Wed May 28, 2008 1:01 pm

Re: [ALPHA] Shop Mod (0.3.0)

Post by ginny2689 »

i don't know much
can u explain me in detail how do i add items & where?
Gleasonator wrote:
ginny2689 wrote:pls help me

whenever i click on Shop the following informaion came

Forum Shop

Sorry, the shop is closed at this time.

how can i open the shop pls tell me

Thanks!!
Add an item to the shop and it will open automatically.
butler312
Registered User
Posts: 50
Joined: Wed May 21, 2008 4:00 pm

Re: [ALPHA] Shop Mod (0.3.0)

Post by butler312 »

Phantom784 wrote:I have a "lottery ticket" now, but it's more of a "scratch off" ticket, in that there's no number drawing, there's just a certian chance of getting money when you use it. I'll eventually have a real lottery system with drawings and everything.
Ok, great. I guess I should have used a different wording. Raffle probably would have been a better word.
Locked

Return to “[3.0.x] Abandoned MODs”