Post
Topic
Board Micro Earnings
Re: VirtualPub.io - Run your own pub/bar, serve drinks, earn bitcoin!
by
FDR
on 07/06/2017, 04:15:52 UTC

I'd have to recode the entire site in order to achieve what you're asking.
Also, think for a second where there are withdraw limits.


I imagine most of the code revolves around the payout page (account.php). There are two points which could be addressed.

Text changes
In the withdrawal section of account.php it says you can withdraw between 50,000 and 100,000 credits. However the withdrawal formula seems to look at the mount converted to bitcoins (it refused a withdrawal of 55,000 because it was less then 25,000 bitcoins). So the text is misleading. It would be better if you said what the maximum and minimum number of bitcoins (not credits) were if that is the true acid test and is simply a matter of adding one extra sentance into that section.

Value change
I image that the code is based around the storage of one or two values. Either there are separate variables for Maximum and Minimum withdrawals or there is only one stored variable and the other is calculated. Because it's legacy code then it's likely that the value is in Credits not Bitcoin. You could set the minimum withdrawal to something like 1000 or 2000 credits which is easily made in a day or two and set the maximum to 500,000 credits which no one will ever let their balance get to. Then leave every thing else the same.


Depending on the code you have you will have to address this soon:

If the input box will not accept more than the maximum credits or less then the minimum credits
and there is a check calculation which verifies the no of converted bitcoin is half the number of credits
then withdrawal will be impossible when the exchange rate gets to less than 0.2500



I understand this site is your lowest priority but you might be heading towards a situation where your hand is forced very soon.