MyBB-Plugins Forums

Full Version: Delete items from shop
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do i do this?

We have a system that when a person gets an item from the shop they redeem it in game,

How do i delete thier item?
It's not possible to delete it. You can ask the user to send the item to another user though.
(09-30-2012, 06:49 AM)Pirata Nervo Wrote: [ -> ]It's not possible to delete it. You can ask the user to send the item to another user though.

There is no php query?

sql query or anything?
No, it's not as simple as that. Data is serialized in `newpoints_items` and you'd need PHP to unserialize, treat the array and serialize back.
(09-30-2012, 08:56 PM)Pirata Nervo Wrote: [ -> ]No, it's not as simple as that. Data is serialized in `newpoints_items` and you'd need PHP to unserialize, treat the array and serialize back.

What about newpoints cash?
Deduct points?
(10-04-2012, 10:18 PM)Pirata Nervo Wrote: [ -> ]Deduct points?

NVM, found it