MyBB-Plugins Forums
[Release] Shop 1.7 - Printable Version

+- MyBB-Plugins Forums (http://forums.mybb-plugins.com)
+-- Forum: Archived Forums (http://forums.mybb-plugins.com/Forum-Archived-Forums)
+--- Forum: MyBB 1.6.x (http://forums.mybb-plugins.com/Forum-MyBB-1-6-x)
+---- Forum: NewPoints (http://forums.mybb-plugins.com/Forum-NewPoints)
+----- Forum: Plugins (http://forums.mybb-plugins.com/Forum-Plugins)
+----- Thread: [Release] Shop 1.7 (/Thread-Release-Shop-1-7)



RE: [Release] Shop 1.1 - mephistox - 07-10-2010

Quote:Do you mean each user has a shop?

Yes, that i was i talking about Big Grin


RE: [Release] Shop 1.1 - Diogo Parrinha - 07-10-2010

(07-10-2010, 06:34 AM)mephistox Wrote:
Quote:Do you mean each user has a shop?

Yes, that i was i talking about Big Grin

No, I'll never do that. I'll just port MyCompany instead


RE: [Release] Shop 1.1 - mephistox - 07-10-2010

(07-10-2010, 07:01 AM)Pirata Nervo Wrote:
(07-10-2010, 06:34 AM)mephistox Wrote:
Quote:Do you mean each user has a shop?

Yes, that i was i talking about Big Grin

No, I'll never do that. I'll just port MyCompany instead

Or well, something that, if you have an specified item, you can enter to a forum.


RE: [Release] Shop 1.1 - Diogo Parrinha - 07-10-2010

(07-10-2010, 04:32 PM)mephistox Wrote:
(07-10-2010, 07:01 AM)Pirata Nervo Wrote:
(07-10-2010, 06:34 AM)mephistox Wrote:
Quote:Do you mean each user has a shop?

Yes, that i was i talking about Big Grin

No, I'll never do that. I'll just port MyCompany instead

Or well, something that, if you have an specified item, you can enter to a forum.

Nope, I won't do that


RE: [Release] Shop 1.1 - Diogo Parrinha - 07-13-2010

(07-13-2010, 01:11 PM)Walkman 5.0 Wrote: ¬¬ your reply is ever "no" or "nope" :/

So what? I have to do what you want?


RE: [Release] Shop 1.1 - Lennart Sauter - 07-18-2010

Hello Pirata,
maybe you can help me out with this.

How would I check if a user owns a certain item?

Let's say I want to do something like this, check if the current user ownes the item with ID 75.

Is there any preparation from you for the $mybb->user object like $mybb->user['owned_items']? I did not see any special table for it in the install routine...

Would be great, thanks.


RE: [Release] Shop 1.1 - Diogo Parrinha - 07-18-2010

Unserialize $mybb->user['newpoints_shop_items'] -> I believe this is the user field which contains the items, I can't check right now but I'm almost sure that's the field.

Unserialize it and you should get an array containing the items with the ID's. Take a look at the postbit function or the profile function since it does that (but doesn't check for an ID)


RE: [Release] Shop 1.1 - maxexcloo - 07-18-2010

Is there any way to make sorting items more easy? Something like alphabeticly sorting them by default because sorting more than 4 items right now is a huge pain...


RE: [Release] Shop 1.1 - Diogo Parrinha - 07-18-2010

(07-18-2010, 03:05 PM)maxexcloo Wrote: Is there any way to make sorting items more easy? Something like alphabeticly sorting them by default because sorting more than 4 items right now is a huge pain...

Nope, by default it sorts them by the display order field.


RE: [Release] Shop 1.1 - Aryan - 07-23-2010

I have to say right here that this is way better than MyPlaza. Well done Pirata Nervo!