Post
Topic
Board Beginners & Help
Re: Bitcoin Businesses and Developers, Let's Get Started!
by
btcworkers
on 03/11/2012, 01:48:50 UTC
Hi Andreas,

What do you think? My idea is to move all following MtGox codes up, if one of the MtGox coupon codes is deleted. So you can use them one by one.
Sounds good to me.

Or another idea would be, that users can exchange two of the codes. We have to think about a good concept first and then I can implement it.
Not shore what you mean by "users can exchange two of the codes".
You mean like 2 different users, or "one" user can change 2 codes --> like move them to another input field?

Cheers,
MasterX

Hello MasterX,

I guess the first idea is better. Just Moving codes up. I am also thinking about recovering codes, that already had been deleted. If you delete a still  valid code, it is kind of cumbersome to log in your MtGox account to get this deleted code back. I am thinking of a list and only part of this list is visible.

-- snipped --

I think the solution you're looking for is some type of flag/state. For example, instead of deleting an entry from your database, just give it a state of 0. So basically "soft deleting"; the user sees it's deleted, but because it's still in the DB, it can be recovered. This is a much cleaner solution.