Title: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: alamin99 on March 22, 2017, 04:34:35 PM Price of Bitcoin changes everyday. So, faucet owners need to keep a balance between bitcoin price and faucet rewards because profit from ad networks depends on bitcoin price. So, I have written a few codes that will change faucet rewards as bitcoin price goes.
[Note: That's for faucetBOX script] 1. Open: /libs/service.php file Find: Code: public function send($to, $amount, $userip, $referral = "false") { Code: if($this->currency === "BTC") { 2. Create a file named rs.php Add these codes into it: Code: <?php Code: $reward4 = intval($rate * 0.004); Then just add these $reward4 , $reward5 , $reward6 inside echo ""; Example: Code: echo "$reward1 , $reward2 , $reward3, $reward4 , $reward5 , $reward6 "; 3. Then open /templates/default/index.php Find: Code: <?php echo $data["rewards"]; ?> Code: <?php $show_rewards = file_get_contents("http://example.com/rs.php"); echo "$show_rewards"; ?> 4. After completing this part, go to admin panel and put rewards as USD value. Example: 0.001 for 100 satoshi. That's it. Now everything is complete! Rewards of your faucet will be changed automatically according to bitcoin price, you won't have to worry. :) Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: bitcoinniels on March 22, 2017, 04:44:14 PM This is very good, i dont use faucethub script.
But i think alot of people which do use it (alot) will be very thankful for this. Great job! ;D Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: Bytecoiner419 on March 22, 2017, 04:46:09 PM wow great work!
Thanks for helping us faucet owners with this great new tool. Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: alamin99 on March 22, 2017, 06:29:09 PM This is very good, i dont use faucethub script. thank you. But perhaps you can add this feature into your script too. :)But i think alot of people which do use it (alot) will be very thankful for this. Great job! ;D wow great work! You're most welcome and thank you. See this also for your dice script: https://bitcointalk.org/index.php?topic=1838418.0 :)Thanks for helping us faucet owners with this great new tool. Well this is Good Ive put it on http://faucetmega.com (http://faucetmega.com) WoW...! Thank you for testing it on your site. :) So its all working fine :) just need some reward changing then it will work as planned :) Great Job Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: bitcoinniels on March 22, 2017, 06:32:40 PM This is very good, i dont use faucethub script. thank you. But perhaps you can add this feature into your script too. :)But i think alot of people which do use it (alot) will be very thankful for this. Great job! ;D wow great work! You're most welcome and thank you. See this also for your dice script: https://bitcointalk.org/index.php?topic=1838418.0 :)Thanks for helping us faucet owners with this great new tool. Well this is Good Ive put it on http://faucetmega.com (http://faucetmega.com) WoW...! Thank you for testing it on your site. :) So its all working fine :) just need some reward changing then it will work as planned :) Great Job I'll ask the developer, but since were both still in school. We both dont have alot of time, but ill ask if he can do it! Thanks for making it again :D Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: felicita on March 22, 2017, 07:53:09 PM thanks was really easy to implement this in my script (not faucetbox)
now i have a mind. and max. reward depending on the Bitcoin Kurse and payout is a random number , thanks !! Code: $get_rate = file_get_contents("https://blockchain.info/tobtc?currency=USD&value=1") * 100000000; kind regards Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: CasinoBetGame on March 22, 2017, 10:55:20 PM youre script orginal faucetbox
because faucetbox.com is closed service Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: LTU_btc on March 23, 2017, 12:05:08 AM Wow, I think many faucet owners wanted for such add-on to set rewards based on USD value. As I understand, this addon in general works in same way like freebitco.in where rewards are alway s same value in USD.
youre script orginal faucetbox Yeah, Faucetbox is closed service but their faucet script is still very popular and used on many Faucethub, ePay and some Faucetsystem faucetsbecause faucetbox.com is closed service Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: Gregc1131 on March 23, 2017, 10:44:36 AM Testing it on https://btcforeveryone.xyz :)
Thanks! Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: alamin99 on March 23, 2017, 10:55:28 AM I'll ask the developer, but since were both still in school. hehehe... ;)We both dont have alot of time, but ill ask if he can do it! Thanks for making it again :D thanks was really easy to implement this in my script (not faucetbox) well done... but what's your script? :)now i have a mind. and max. reward depending on the Bitcoin Kurse and payout is a random number , thanks !! Code: $get_rate = file_get_contents("https://blockchain.info/tobtc?currency=USD&value=1") * 100000000; kind regards youre script orginal faucetbox LTU_btc has already said but I am saying once again, faucetbox has been closed but their admin has said that they will develop continuously the script.because faucetbox.com is closed service Wow, I think many faucet owners wanted for such add-on to set rewards based on USD value. As I understand, this addon in general works in same way like freebitco.in where rewards are alway s same value in USD. Thank you. I will be very happy if this helps faucet owners. :)youre script orginal faucetbox Yeah, Faucetbox is closed service but their faucet script is still very popular and used on many Faucethub, ePay and some Faucetsystem faucetsbecause faucetbox.com is closed service Testing it on https://btcforeveryone.xyz :) have you done your testing?Thanks! Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: Gregc1131 on March 23, 2017, 11:23:06 AM Testing it on https://btcforeveryone.xyz :) Thanks! Quote have you done your testing? Hello , will leave it for the rest of day if any errors show up :) Btw is it possible to use with random rewards, ie 0.01-0.05? Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: tungaqhd on March 23, 2017, 11:36:51 AM Testing it on https://btcforeveryone.xyz :) Thanks! Quote have you done your testing? Hello , will leave it for the rest of day if any errors show up :) Btw is it possible to use with random rewards, ie 0.01-0.05? or follow felicita's code Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: Gregc1131 on March 23, 2017, 12:08:43 PM Testing it on https://btcforeveryone.xyz :) Thanks! Quote have you done your testing? Hello , will leave it for the rest of day if any errors show up :) Btw is it possible to use with random rewards, ie 0.01-0.05? or follow felicita's code Thanks, it slipped past me :) Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: alamin99 on March 23, 2017, 01:20:26 PM Testing it on https://btcforeveryone.xyz :) Thanks! Quote have you done your testing? Hello , will leave it for the rest of day if any errors show up :) Btw is it possible to use with random rewards, ie 0.01-0.05? or follow felicita's code Thanks, it slipped past me :) Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: Gregc1131 on March 23, 2017, 06:22:21 PM I have been playing around for option for alt coins, so far i know cryptonator is the only free option that supports all coins from FB script.
Same instructions as in OP Code: if ($this->currency === "LTC") { Above is Litecoin example, replace "LTC" and "ltc-usd" in second line with the coin/currency you need. So far no issues, amount1 and 2 could probably get improved with one line tho. Thanks to OP for most of the work and idea in the first place :) Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: alamin99 on March 24, 2017, 06:28:52 AM I have been playing around for option for alt coins, so far i know cryptonator is the only free option that supports all coins from FB script. bah, thank you for providing codes for alt coin. this will help faucet owners who have alt coin faucet. :)Same instructions as in OP Code: if ($this->currency === "LTC") { Above is Litecoin example, replace "LTC" and "ltc-usd" in second line with the coin/currency you need. So far no issues, amount1 and 2 could probably get improved with one line tho. Thanks to OP for most of the work and idea in the first place :) I am also using cryptonator in my exchanger: http://micro-exchanger.info . I think it's the best option. Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: hoop on March 24, 2017, 09:37:34 PM Good add-on for faucetinbox script and of course for faucet owner as well.
Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: alamin99 on March 25, 2017, 03:52:47 AM Good add-on for faucetinbox script and of course for faucet owner as well. thank you... :) :) :)Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: jooj on March 25, 2017, 07:54:31 AM Great work mate :) but how we can shown rewards as BTC like Rewards on Freebitco.in faucet and Rewards will be changed automatically according to bitcoin price?
Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: alamin99 on March 26, 2017, 02:02:26 PM Great work mate :) but how we can shown rewards as BTC like Rewards on Freebitco.in faucet and Rewards will be changed automatically according to bitcoin price? thank you. just follow the guides above for it.Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: jooj on March 26, 2017, 10:31:38 PM Great work mate :) but how we can shown rewards as BTC like Rewards on Freebitco.in faucet and Rewards will be changed automatically according to bitcoin price? thank you. just follow the guides above for it.Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: alamin99 on March 27, 2017, 03:00:24 AM Great work mate :) but how we can shown rewards as BTC like Rewards on Freebitco.in faucet and Rewards will be changed automatically according to bitcoin price? thank you. just follow the guides above for it.Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: jooj on March 27, 2017, 07:52:57 AM Great work mate :) but how we can shown rewards as BTC like Rewards on Freebitco.in faucet and Rewards will be changed automatically according to bitcoin price? thank you. just follow the guides above for it.I did what your guide saying. Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: alamin99 on March 28, 2017, 07:42:11 AM Great work mate :) but how we can shown rewards as BTC like Rewards on Freebitco.in faucet and Rewards will be changed automatically according to bitcoin price? thank you. just follow the guides above for it.I did what your guide saying. Will you please tell me about your script? Or send me your script and I'll do it for you. Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: jooj on March 29, 2017, 06:27:26 PM Great work mate :) but how we can shown rewards as BTC like Rewards on Freebitco.in faucet and Rewards will be changed automatically according to bitcoin price? thank you. just follow the guides above for it.I did what your guide saying. Will you please tell me about your script? Or send me your script and I'll do it for you. there are two faucet script on this faucet one of them is faucetinbox script, I test your add-on at efaucet page as this is faucetinbox script. Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: alamin99 on March 29, 2017, 06:44:56 PM Great work mate :) but how we can shown rewards as BTC like Rewards on Freebitco.in faucet and Rewards will be changed automatically according to bitcoin price? thank you. just follow the guides above for it.I did what your guide saying. Will you please tell me about your script? Or send me your script and I'll do it for you. there are two faucet script on this faucet one of them is faucetinbox script, I test your add-on at efaucet page as this is faucetinbox script. Find: Code: <?php echo $data["rewards"]; ?> Code: <?php Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: jooj on April 06, 2017, 06:38:21 AM Great work mate :) but how we can shown rewards as BTC like Rewards on Freebitco.in faucet and Rewards will be changed automatically according to bitcoin price? thank you. just follow the guides above for it.I did what your guide saying. Will you please tell me about your script? Or send me your script and I'll do it for you. there are two faucet script on this faucet one of them is faucetinbox script, I test your add-on at efaucet page as this is faucetinbox script. Find: Code: <?php echo $data["rewards"]; ?> Code: <?php do I need to replace Chance (in %) or so? Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: alamin99 on April 07, 2017, 11:58:30 AM Great work mate :) but how we can shown rewards as BTC like Rewards on Freebitco.in faucet and Rewards will be changed automatically according to bitcoin price? thank you. just follow the guides above for it.I did what your guide saying. Will you please tell me about your script? Or send me your script and I'll do it for you. there are two faucet script on this faucet one of them is faucetinbox script, I test your add-on at efaucet page as this is faucetinbox script. Find: Code: <?php echo $data["rewards"]; ?> Code: <?php do I need to replace Chance (in %) or so? Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: jooj on April 07, 2017, 12:17:45 PM Great work mate :) but how we can shown rewards as BTC like Rewards on Freebitco.in faucet and Rewards will be changed automatically according to bitcoin price? thank you. just follow the guides above for it.I did what your guide saying. Will you please tell me about your script? Or send me your script and I'll do it for you. there are two faucet script on this faucet one of them is faucetinbox script, I test your add-on at efaucet page as this is faucetinbox script. Find: Code: <?php echo $data["rewards"]; ?> Code: <?php do I need to replace Chance (in %) or so? Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: alamin99 on April 07, 2017, 12:54:41 PM Great work mate :) but how we can shown rewards as BTC like Rewards on Freebitco.in faucet and Rewards will be changed automatically according to bitcoin price? thank you. just follow the guides above for it.I did what your guide saying. Will you please tell me about your script? Or send me your script and I'll do it for you. there are two faucet script on this faucet one of them is faucetinbox script, I test your add-on at efaucet page as this is faucetinbox script. Find: Code: <?php echo $data["rewards"]; ?> Code: <?php do I need to replace Chance (in %) or so? Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: jooj on April 10, 2017, 09:03:22 AM Pmed you!
Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: krishnapramod on April 10, 2017, 10:05:38 AM Wow mate, you are on a roll, Faucethub conversion, URL shortener, and now rewards based on bitcoin fluctuation. Your progressiveness is definitely worth a kudos, when you started your faucet, thought just another random faucet admin, now really awesome, you are grasping coding at a good pace and implementing it for the faucet community, keep it up bro :)
Title: Re: Add-on for FaucetBOX Script: Rewards will be changed with Bitcoin price (Auto) Post by: alamin99 on April 10, 2017, 02:57:25 PM Pmed you! replied... :) :) :)Wow mate, you are on a roll, Faucethub conversion, URL shortener, and now rewards based on bitcoin fluctuation. Your progressiveness is definitely worth a kudos, when you started your faucet, thought just another random faucet admin, now really awesome, you are grasping coding at a good pace and implementing it for the faucet community, keep it up bro :) Thanks a lot bro for your kind words... :) :) :) I'm newbie in coding, just a few days of learning... I desire when I'll become an well experienced developer, this community will get a lot of things from me... |