I'd like a new stats feature which allow us to see what countries make more claims, like a list of countries sorted by number of claims made.
You should use Google Analytics or something similar for that.
Hi Kazuldur, can you add some feature on faucet or on faucetbox account, which will show us , for how many user this current balance is enough.
It depends on too many factors, it can't be easily calculated. Specifically it depends on how you advertise your faucet and what kind of users visit it, which is something that FaucetBOX.com can't know.
yes thats right,now i got this error:
PHP Notice: Array to string conversion in /home/greenbit/public_html/index.php on line 1566
[quote
Which version do you use? Did you modify index.php anyway? This error doesn't make sense on this line...
If you modified the script please tell me what's on line 1566 in your index.php file.
no,im using r56 version.
It still doesn't make sense, line 1566 in r56 only has a bracket in it. Can you send me lines 1560-1570 from your index.php?
Currently you have to do that in the code of your faucet. Checking the error code and changing $ret['html'] around line 2355 in index.php should work.
However I think that customizing error messages is quite a nice idea, we'll think about implementing this in next version.
I found it, but what change?
Thank you
} else {
if($data['unit'] == 'satoshi')
$data['paid'] = $ret['html'];
else
$data['paid'] = $ret['html_coin'];
}
} else {
That's not it. This snippet handles successful payout, you want to catch error. You want to find this part (line numbers from r62 added):
2352 }
2353 } else {
2354 $data['error'] = $ret['html'];
2355 }
2356 if($ret['success'] || $fb->communication_error) {
and change it to something like this (not tested):
2352 }
2353 } else {
2354 if($ret['message'] == "This faucet exceeded it's safety limits!") {
2355 $ret["html"] = "YOUR CUSTOM MESSAGE HERE
"
2356 }
2357 $data['error'] = $ret['html'];
2358 }
2359 if($ret['success'] || $fb->communication_error) {