MySubscriptions, Donation Bar, MyDownloads, MyAchievements and support for our free and paid plugins. All that for $7!
Advertise Here!
Are you looking to advertise on this forum? Please read this announcement thread.
Are you looking to advertise on this forum? Please read this announcement thread.
|
[Release] Shop 1.6
|
|
12-22-2009, 05:57 AM
(This post was last modified: 01-22-2012 08:36 PM by Pirata Nervo.)
Post: #1
|
|||
|
|||
|
[Release] Shop 1.6
Description
Requires NewPoints 1.5 or newer and MyBB 1.6 Shop 1.5 fixes a low risk security issue in the ACP Integrates a Shop system with NewPoints. The Shop plugin comes with the following features:
Screenshots - from 1.0 (a few things have changed in 1.1) ![]() ![]() ![]() ![]() ![]() Installation/Upgrading See readme.html Converter Convert MyPlaza Turbo Inventory items to NewPoints Shop items:
Converted items are not given to those who have bought it as it would be very resource consuming. Items stock are reset to 0 and set to infinite. Thanks to Thanks to: Andrew Glas Mark.M Support If you have any questions, ask them at MyBB-Plugins. Download Download is attached to this post. |
|||
|
12-22-2009, 09:42 AM
Post: #2
|
|||
|
|||
|
RE: [Release] Shop 1.0
I've just tested this and there's a little bug.
When you sell an Item that is in your inventory he says "Do you really want to sell this Item at FULL PRICE" instead of the real sell price.. For example if you had set the "Sell Percentage" something like 0.75 [default] and you have an item that cost 100 and you sell it, the message ask you if you want to sell it at 100, but when you sell it you get 75 (the right amount). Sorry about my bad english but I'm Italian. I hope you get the point.. |
|||
|
12-22-2009, 09:51 AM
Post: #3
|
|||
|
|||
|
RE: [Release] Shop 1.0
I know what you mean, thanks, I'll wait one more week until some new bugs are reported so I can release 1.1
Thanks
|
|||
|
12-22-2009, 10:23 AM
(This post was last modified: 12-22-2009 10:24 AM by StitchRokcs.)
Post: #4
|
|||
|
|||
|
RE: [Release] Shop 1.0
I just installed it on my forum along with the NewPoints Core. I put an item to sell in the store and every time I go to buy the item it get a database error. Do you know what could be causing this?
EDIT: After playing around with it i noticed that only items that i set a stock limit to have this problem if I leave it at infinite it works just fine. Also I noticed that for the items there is no "Limit of items a user can buy" on this system, any chances of this feature coming back? |
|||
|
12-22-2009, 10:57 AM
(This post was last modified: 12-22-2009 11:14 AM by Kalastor.)
Post: #5
|
|||
|
|||
|
RE: [Release] Shop 1.0
Just checked, I get it too
Quote:MyBB has experienced an internal SQL error and cannot continue. EDIT: @StitchRokcs: To Fix open "newpoints_shop.php" , went to line 534, you should have this: Quote:$db->update_query('newpoints_items', array('stock' => $item['stock']-1), 'iid=\''.$item['iid'].'\''); Change it in this way: Quote:$db->update_query('newpoints_shop_items', array('stock' => $item['stock']-1), 'iid=\''.$item['iid'].'\''); It should work.. |
|||
|
12-22-2009, 11:10 AM
(This post was last modified: 12-22-2009 11:26 AM by StitchRokcs.)
Post: #6
|
|||
|
|||
|
RE: [Release] Shop 1.0
Yea but i noticed that when that happens it DOES add the item to your inventory but does NOT subtract the money.
Also I noticed that when you sell an item it gives you the full amount back rather than the 50% i set it so, however this bug has been reported before. EDIT: Ahah! Kalastor's edit did work it no longer gives the error, it subtracts the money adds the item to the inventory and subtracts 1 item from the stocks! Thank you very much
|
|||
|
12-22-2009, 12:29 PM
Post: #7
|
|||
|
|||
|
RE: [Release] Shop 1.0
You have to change the line 759 too, so if you try to sell the item you don't get the previous error..
Change it from: Quote:$db->update_query('newpoints_items', array('stock' => $item['stock']+1), 'iid=\''.$item['iid'].'\''); to: Quote:$db->update_query('newpoints_shop_items', array('stock' => $item['stock']+1), 'iid=\''.$item['iid'].'\''); But I didn't get a thing, in the Admin Panel there's the option (on/off) to allow users to sell theirs items to other users.. But.. How do they do it? Probably I've misunderstood something.. |
|||
|
12-22-2009, 12:57 PM
Post: #8
|
|||
|
|||
|
RE: [Release] Shop 1.0
Thanks didnt even notice that.
I think he meant to sell it back to the store? I dont know but it does say sell to another user. |
|||
|
12-22-2009, 03:35 PM
Post: #9
|
|||
|
|||
|
RE: [Release] Shop 1.0
is their anyway to make it so the items show up in the in post user unfo like maybe under his user title or something?
|
|||
|
12-22-2009, 09:35 PM
Post: #10
|
|||
|
|||
|
RE: [Release] Shop 1.0
Thanks for the bug reports guys, I'll release 1.1 soon with the bug fixes.
@Kalastor, I was going to add a sell to user feature, like a trading system but I decided to remove it and forgot to change that language var. Thanks. My next plugin will be a PayPal to Points and a Trading System for the Shop. @vamp6x6x6x, I didn't add postbit items because it might make it look bad, I might just add something like "View Inventory (X items)" |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)



![[Image: viewitem.th.png]](http://img685.imageshack.us/img685/1288/viewitem.th.png)
![[Image: shoppage.th.png]](http://img97.imageshack.us/img97/3866/shoppage.th.png)
![[Image: myitems.th.png]](http://img683.imageshack.us/img683/5411/myitems.th.png)
![[Image: admincpitems.th.png]](http://img685.imageshack.us/img685/9673/admincpitems.th.png)
![[Image: admincpcategories.th.png]](http://img31.imageshack.us/img31/1208/admincpcategories.th.png)
![[Image: s.png]](http://mybb-plugins.com/images/s.png)


