Author Topic: How to migrate from FaucetBOX.com to FaucetHub.io  (Read 1129 times)

0 Members and 1 Guest are viewing this topic.

Offline alamin

  • Administrator
  • Initiate
  • *****
  • Posts: 274
  • Country: bd
  • Gender: Male
  • Referrals: 17
How to migrate from FaucetBOX.com to FaucetHub.io
« on: December 02, 2016, 02:44:24 PM »
Today I am going to show you how to migrate from You are not allowed to view links. Register or Login to You are not allowed to view links. Register or Login.

Step-1: Choose a domain and buy perfect hosting plan for it. PHP 5.4 or newer required and GD PHP module must be enabled on webserver. Usually a faucet needs huge bandwidth, keep this in your mind.
Step-2: Download the latest faucet script from You are not allowed to view links. Register or Login. Unzip it and upload all files to the server via FTP.
Step-3: Open .../libs/services/faucetbox.php.


               i)  Find:
Quote
protected $api_base = "You are not allowed to view links. Register or Login";
                   Replace with:
Quote
protected $api_base = "You are not allowed to view links. Register or Login";

               ii) Find:
Quote
'message' => 'Payment sent to you using FaucetBOX.com',
                'html' => '<div class="alert alert-success">' . htmlspecialchars($amount) . ' satoshi was sent to you <a target="_blank" href="You are not allowed to view links. Register or Login' . rawurlencode($to) . '">on FaucetBOX.com[/url].</div>',
                'html_coin' => '<div class="alert alert-success">' . htmlspecialchars(rtrim(rtrim(sprintf("%.8f", $amount/100000000), '0'), '.')) . ' '.$this->currency.' was sent to you <a target="_blank" href="You are not allowed to view links. Register or Login' . rawurlencode($to) . '">on FaucetBOX.com[/url].</div>',
                   Replace with:
Quote
'message' => 'Payment sent to you using FaucetHub.io',
                'html' => '<div class="alert alert-success">' . htmlspecialchars($amount) . ' satoshi was sent to you <a target="_blank" href="You are not allowed to view links. Register or Login' . rawurlencode($to) . '">on FaucetHub.io[/url].</div>',
                'html_coin' => '<div class="alert alert-success">' . htmlspecialchars(rtrim(rtrim(sprintf("%.8f", $amount/100000000), '0'), '.')) . ' '.$this->currency.' was sent to you <a target="_blank" href="You are not allowed to view links. Register or Login' . rawurlencode($to) . '">on FaucetHub.io[/url].</div>',


Step-4: Create a MySQL database and edit the config.php file. Replace default values with your database connection parameters. You can get them from your hosting provider. If you have an existing database, clear the database before using again.
Step-5: Create an account in You are not allowed to view links. Register or Login or if you have already created an account there go to User + > Faucet Manager. Fill the form with necessary informations and get the API key.
Step-6: Now open the admin panel, select FaucetBOX.com in Service, submit the API key, enable captcha. Set up your faucet, make a better looking, add ad codes.
Step-7 Your faucet is ready to go! Make a deposit and spread news that your faucet has been launched  :D :D :D! Cheers!  ;D ;D ;D

Demo: You are not allowed to view links. Register or Login
(Don't mind, currently I am building this website. Sorry for the empty balance. Now it is ready for claim. ;) ;) ;))
If you have any question, let me know.

News: Faucetinabox Version r69 has been released and it has built in support for FaucetHub.io. Simply select FaucetHub.io in Service.
Some bugs has been found in this file: .../libs/services/faucethub.php.
Find:
Code: You are not allowed to view links. Register or Login
https://faucethub.io/check/Replace with:
Code: You are not allowed to view links. Register or Login
https://faucethub.io/balance/Note: This will be found twice in the file, you have to replace twice times.
« Last Edit: February 28, 2017, 02:50:12 PM by alamin »

Offline Vladv26

  • Newbie
  • *
  • V
  • Posts: 35
  • Country: ro
  • Gender: Male
  • Referrals: 1
Re: How to migrate from FaucetBOX.com to FaucetHub.io
« Reply #1 on: December 27, 2016, 11:40:37 AM »
Thanks for tutorial

Offline alamin

  • Administrator
  • Initiate
  • *****
  • Posts: 274
  • Country: bd
  • Gender: Male
  • Referrals: 17
Re: How to migrate from FaucetBOX.com to FaucetHub.io
« Reply #2 on: December 27, 2016, 12:48:26 PM »
You are not allowed to view links. Register or Login
Thanks for tutorial
You're most welcome...