Forum Moderators: phranque

Message Too Old, No Replies

Create a virtual bank?

Howto: bank without real money for online community?

         

discosilvia

2:11 pm on Apr 24, 2004 (gmt 0)

10+ Year Member



I would like to put on my website a system that can hold track of the virtual money I grant to the users. They should be able to buy (virtual) stuff with it and create accounts with interests (e.g.)
Can someone tell me where to start?
Thank you

Silvia

asquithea

10:13 pm on Apr 24, 2004 (gmt 0)

10+ Year Member



You might well have to create such a system from scratch -- I'm not aware of any scripts you could use off hand. Although not a particularly difficult task, this is effectively an exercise in computer programming -- and as such will take no less than three times longer than you anticipate. Perl and PHP would both be suitable implementation languages.

yintercept

1:28 am on Apr 25, 2004 (gmt 0)

10+ Year Member



Although not a particularly difficult task...

Robust economic models are anything but simple. If you want something with a full double entry accounting system behind it, you will have a great deal of work ahead of you.

You really need to define all the different types of transactions you would like to take place in the accounting system.

If your needs are extremely simple, you might be able to get by with recording counters in a database. The simplest database would have two tables: Account and Transaction. The account would simply have a total. The transaction would have a sender, receiver, timestamp and amount. Your main difficulty would be in assuring the integrity of the transaction.

vkaryl

9:53 pm on Apr 25, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



discosilvia:

You might want to check out a similar "bank" system used in php role-playing bbs's. If you sticky me, I'll give you a link to the hack download info page. Of course this only is usable with a phpBB forum setup, but it might give you a starting point. Depending on what you actually have in mind, you might be able to install the phpBB software, set up a forum, install the hack (and the Points one which is a prerequisite) and have it do exactly what you want.

discosilvia

3:30 pm on Apr 27, 2004 (gmt 0)

10+ Year Member



Indeed, i discovered that a php mod was exactly what i need. After a long search for a free php host, i've now set up the phpbb forum and installing de bank mod.
Thx all for your suggestions.