Author Topic: SUGGESTION: changing how items store info  (Read 1731 times)

Offline feeble

SUGGESTION: changing how items store info
« on: March 08, 2007, 06:09:30 pm »
Suggestions only daniel15, but im finding having only 4 possible info that can be stored for an item is limiting.

is it possible in a future version, instead of putting the data into 4 separate columns, instead just store them in one column under a serialized array of information.

that way we can store much more information.

pretty please and all that.

basically all im asking is storing a serialized array of the $_POST array, then unserializing into $item_info when the getUseInput function is called.
« Last Edit: March 08, 2007, 06:28:33 pm by feeble »

Offline Daniel15

Re: SUGGESTION: changing how items store info
« Reply #1 on: March 09, 2007, 09:42:18 am »
Quote
nstead just store them in one column under a serialized array of information.
I definitely agree... The whole item structure in SMFShop is getting quite old, and I need to rethink my approach. The item structure isn't too flexible at the moment, and doesn't really allow for that much customisation.

(I wrote this down on my todo list - I now have close to 20 SMFShop-related things to do. I need to find some free time to work on this.)
« Last Edit: March 09, 2007, 09:44:40 am by Daniel15 »