Superhitech
Legendary
Offline
Activity: 1064
Merit: 1000
|
|
September 25, 2016, 04:23:37 PM |
|
Currently the type="submit" attribute makes the claim button work. Where I go to change the value ex. tpye="ahdgdu" Planning on making a way to secure the faucet against bots.
You cannot edit the type value of an input tag as it is what defines the object its self. If you changed type='submit' to anything else it would default to a text box. What you can change is the name and id values of one, however you must make sure you change every instance of the object in the script (E.G having an input with name='input1' would correspond to $_POST['input1'], no other value would work for it) else your script will no longer work. One more question; is there a way to search my database for a certain IP address that I can delete? I know the IP, I just want to remove it from my faucet.
You could use a SQL DELETE query in your PhpMyAdmin panel, though it would have to be somewhat complicated due to the way FaucetInABox's database infrastructure is set up. Kazuldur will probably be able to help you out with it. Thanks for your reply; but I've already figured it out. Thanks anyways!
|
|
|
|
reapr
Newbie
Offline
Activity: 44
Merit: 0
|
|
September 28, 2016, 04:31:40 AM |
|
i was using 2 faucets before FB. is there a way to transfer the satoshi to my FB account? the 2 faucets are on FB.
|
|
|
|
ahmedjadoon
Legendary
Offline
Activity: 1414
Merit: 1000
|
|
October 02, 2016, 06:30:52 AM Last edit: October 02, 2016, 08:42:45 AM by ahmedjadoon |
|
How can I use Facuetbox API to directly send payment to a bitcoin address. I remember there used to be such option in Faucetbox account but I can't find it now. Looking to make some micropayments.
|
|
|
|
Kazuldur (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
October 02, 2016, 09:11:31 AM |
|
How can I use Facuetbox API to directly send payment to a bitcoin address. I remember there used to be such option in Faucetbox account but I can't find it now. Looking to make some micropayments.
https://faucetbox.com/en/apiIf you want an UI, there is a "Manual send" option in Faucet in a BOX admin panel.
|
Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
|
|
|
ahmedjadoon
Legendary
Offline
Activity: 1414
Merit: 1000
|
|
October 02, 2016, 09:45:56 AM |
|
How can I use Facuetbox API to directly send payment to a bitcoin address. I remember there used to be such option in Faucetbox account but I can't find it now. Looking to make some micropayments.
https://faucetbox.com/en/apiIf you want an UI, there is a "Manual send" option in Faucet in a BOX admin panel. I'm looking for Manual send option and still couldn't find it in my Faucetbox admin panel.
|
|
|
|
Kazuldur (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
October 02, 2016, 09:55:55 AM |
|
How can I use Facuetbox API to directly send payment to a bitcoin address. I remember there used to be such option in Faucetbox account but I can't find it now. Looking to make some micropayments.
https://faucetbox.com/en/apiIf you want an UI, there is a "Manual send" option in Faucet in a BOX admin panel. I'm looking for Manual send option and still couldn't find it in my Faucetbox admin panel. It's not in the FaucetBOX.com panel, it's in the panel provided by Faucet in a BOX faucet script: https://i.imgur.com/cBkUlsK.png
|
Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
|
|
|
Gregc1131
|
|
October 02, 2016, 10:33:56 AM |
|
I recently updated to r65 with antibotlinks 5.50, but after solving antibotlinks, claim button says "disable ad block and reload" but it's clickable, it works like get reward button, also the button timer seems to be gone. Any idea?
|
|
|
|
Kazuldur (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
October 02, 2016, 11:04:11 AM |
|
I recently updated to r65 with antibotlinks 5.50, but after solving antibotlinks, claim button says "disable ad block and reload" but it's clickable, it works like get reward button, also the button timer seems to be gone. Any idea?
Did you update the template too?
|
Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
|
|
|
Gregc1131
|
|
October 02, 2016, 11:07:09 AM |
|
I recently updated to r65 with antibotlinks 5.50, but after solving antibotlinks, claim button says "disable ad block and reload" but it's clickable, it works like get reward button, also the button timer seems to be gone. Any idea?
Did you update the template too? No I did not :/, will update it now, thanks for fast answer
|
|
|
|
Kazuldur (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
October 02, 2016, 11:21:54 AM |
|
I recently updated to r65 with antibotlinks 5.50, but after solving antibotlinks, claim button says "disable ad block and reload" but it's clickable, it works like get reward button, also the button timer seems to be gone. Any idea?
Did you update the template too? No I did not :/, will update it now, thanks for fast answer You probably just need to add "claim-button" class to the button in index.php of your template. That way you won't have to redo all your customizations.
|
Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
|
|
|
Gregc1131
|
|
October 02, 2016, 02:19:06 PM |
|
I recently updated to r65 with antibotlinks 5.50, but after solving antibotlinks, claim button says "disable ad block and reload" but it's clickable, it works like get reward button, also the button timer seems to be gone. Any idea?
Did you update the template too? No I did not :/, will update it now, thanks for fast answer You probably just need to add "claim-button" class to the button in index.php of your template. That way you won't have to redo all your customizations. Hmm i updated the whole template, and tried to add class claim as well, but the problem seem to persist. It somehow shows ad block button text, with function of claim button
|
|
|
|
NeedIfFindIt
|
|
October 02, 2016, 09:20:22 PM |
|
I recently updated to r65 with antibotlinks 5.50, but after solving antibotlinks, claim button says "disable ad block and reload" but it's clickable, it works like get reward button, also the button timer seems to be gone. Any idea?
Did you update the template too? No I did not :/, will update it now, thanks for fast answer You probably just need to add "claim-button" class to the button in index.php of your template. That way you won't have to redo all your customizations. Hmm i updated the whole template, and tried to add class claim as well, but the problem seem to persist. It somehow shows ad block button text, with function of claim button Are you using adblock? Is "Detect and block users with ad blocking software" enabled in your fb admin? Is the "Enable Get reward button after some time" greater than 0? When you do "view source" of your facet can you find:<script type="text/javascript" src="libs/advertisement.js"></script> If you want to make the button non-clickable open: Under: claim_button.val('Please disable AdBlock and reload');
Add: claim_button.prop('disabled', true);
|
|
|
|
Gregc1131
|
|
October 03, 2016, 07:54:25 AM |
|
I recently updated to r65 with antibotlinks 5.50, but after solving antibotlinks, claim button says "disable ad block and reload" but it's clickable, it works like get reward button, also the button timer seems to be gone. Any idea?
Did you update the template too? No I did not :/, will update it now, thanks for fast answer You probably just need to add "claim-button" class to the button in index.php of your template. That way you won't have to redo all your customizations. Hmm i updated the whole template, and tried to add class claim as well, but the problem seem to persist. It somehow shows ad block button text, with function of claim button Are you using adblock? Is "Detect and block users with ad blocking software" enabled in your fb admin? Is the "Enable Get reward button after some time" greater than 0? When you do "view source" of your facet can you find:<script type="text/javascript" src="libs/advertisement.js"></script> If you want to make the button non-clickable open: Under: claim_button.val('Please disable AdBlock and reload');
Add: claim_button.prop('disabled', true);
I had few divs between footer box and scripts required for button, i moved the divs and it is working perfectly, somehow it was blocking button-timer.js and advertisement.js. Thanks for the help!
|
|
|
|
yambub
Member
Offline
Activity: 141
Merit: 11
Internet Freedom for African Communities
|
|
October 05, 2016, 01:46:26 AM |
|
Hi, I'm not getting any response from the support ticket thingy, so I'll try asking here instead.
What IP address (or range) does the API request go to? My host said they will whitelist it. At the moment I'm not able to use the service at all.
Thanks, Andy
|
|
|
|
NeedIfFindIt
|
|
October 05, 2016, 09:13:17 AM |
|
Hi, I'm not getting any response from the support ticket thingy, so I'll try asking here instead.
What IP address (or range) does the API request go to? My host said they will whitelist it. At the moment I'm not able to use the service at all.
Thanks, Andy
It is behind cloudflare reverse proxy. You can find a list of cloudflare IPs is here: https://www.cloudflare.com/ips/
|
|
|
|
yambub
Member
Offline
Activity: 141
Merit: 11
Internet Freedom for African Communities
|
|
October 05, 2016, 01:25:52 PM |
|
Hi, thanks a lot for that. Andy
|
|
|
|
yambub
Member
Offline
Activity: 141
Merit: 11
Internet Freedom for African Communities
|
|
October 05, 2016, 03:39:03 PM |
|
It is behind cloudflare reverse proxy.
Sorry aobut this... My host says that it should be working then, no server reason for it not to. He asked is the script using curl to connect to the API? Anyone know the answer? Andy
|
|
|
|
NeedIfFindIt
|
|
October 05, 2016, 06:28:06 PM |
|
It is behind cloudflare reverse proxy.
Sorry aobut this... My host says that it should be working then, no server reason for it not to. He asked is the script using curl to connect to the API? Anyone know the answer? Andy CURL + fallback to fsockopen or something like that. It may fail if the SSL version on your server is outdated... But better wait for Kazuldur since I'm just a user.
|
|
|
|
Kazuldur (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
October 05, 2016, 06:32:02 PM |
|
It is behind cloudflare reverse proxy.
Sorry aobut this... My host says that it should be working then, no server reason for it not to. He asked is the script using curl to connect to the API? Anyone know the answer? Andy Yes, it uses cURL, as listed in the requirements on https://faucetinabox.com/ . If it fails it'll try using PHP's fopen, but that detection of failure may not work properly on some hostings. You can set 'disable_curl' => true, in your config.php file to always use fopen, but I really recommend you to use cURL if possible.
|
Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
|
|
|
ahmedjadoon
Legendary
Offline
Activity: 1414
Merit: 1000
|
|
October 06, 2016, 11:56:36 AM |
|
How can I use Facuetbox API to directly send payment to a bitcoin address. I remember there used to be such option in Faucetbox account but I can't find it now. Looking to make some micropayments.
https://faucetbox.com/en/apiIf you want an UI, there is a "Manual send" option in Faucet in a BOX admin panel. I'm looking for Manual send option and still couldn't find it in my Faucetbox admin panel. It's not in the FaucetBOX.com panel, it's in the panel provided by Faucet in a BOX faucet script: https://i.imgur.com/cBkUlsK.pngI setup a new faucet for the purpose of making micropayments for a giveaway. I was able to make payments but sometime I keep getting this error "There was an error while sending 15000 satoshi to "1DaG54To2jhE6MvGGuGq6qYRZmKQrEUZpw": This faucet made too many requests, try again later!" . How to fix this?
|
|
|
|
|