Bitcoin Forum

Economy => Micro Earnings => Topic started by: FaucetRank.com on August 18, 2016, 04:18:57 PM



Title: Need little help from faucetbox owners.
Post by: FaucetRank.com on August 18, 2016, 04:18:57 PM
I'm new to this script and never used it before but today I'm thinking i should also try this most used faucet script (faucetinbox). I want to make little change in my script that I don't want to show percentages/chances of reward but I want to show only rewards in Satoshi. So is there any way to hide those percentages?


Title: Re: Need little help from faucetbox owners.
Post by: tungaqhd on August 18, 2016, 04:33:25 PM
The easiest way is remove the code that show your reward , and change it with the code show the reward as you want


Title: Re: Need little help from faucetbox owners.
Post by: Gifted on August 18, 2016, 04:38:55 PM
I'm new to this script and never used it before but today I'm thinking i should also try this most used faucet script (faucetinbox). I want to make little change in my script that I don't want to show percentages/chances of reward but I want to show only rewards in Satoshi. So is there any way to hide those percentages?
i know how to do that root/index.php... find this  line 1143 change to this
Code:
$('.rewards-alert .math').text(chance_math + ' = ' + new_chance_sum.toFixed(2) + ' ');
  all i did was take out the % sign and added a space


Title: Re: Need little help from faucetbox owners.
Post by: FaucetRank.com on August 18, 2016, 04:40:32 PM
The easiest way is remove the code that show your reward , and change it with the code show the reward as you want

I also could use this idea I already know but I was asking something technical question I want to do it more perfectly. I mean if update rewards from admin panel than that rewards should also update and the percentages should not be visible.


Title: Re: Need little help from faucetbox owners.
Post by: FaucetRank.com on August 19, 2016, 09:57:35 AM
Is there anyone who can solve this query.  I'm waiting for correct answer.
please someone reply I'm new to faucet box


Title: Re: Need little help from faucetbox owners.
Post by: lenoli on August 19, 2016, 10:00:44 AM
try to ask here:https://bitcointalk.org/index.php?topic=1094930.2680 this is main thread of faucetbox and OP is active, so, hope you will get correct answer and OP will solve your problem.

good luck


Title: Re: Need little help from faucetbox owners.
Post by: BitBustah on August 19, 2016, 01:12:59 PM
try to ask here:https://bitcointalk.org/index.php?topic=1094930.2680 this is main thread of faucetbox and OP is active, so, hope you will get correct answer and OP will solve your problem.

good luck


In the .php file where you want the rewards to display, just use this code:

Code:
<?=str_replace(" ,", ",", preg_replace("/\([^)]+\)/","",$data["rewards"]));?>




Title: Re: Need little help from faucetbox owners.
Post by: FaucetRank.com on August 20, 2016, 02:58:30 AM
try to ask here:https://bitcointalk.org/index.php?topic=1094930.2680 this is main thread of faucetbox and OP is active, so, hope you will get correct answer and OP will solve your problem.

good luck


In the .php file where you want the rewards to display, just use this code:

Code:
<?=str_replace(" ,", ",", preg_replace("/\([^)]+\)/","",$data["rewards"]));?>



Thanks buddy it worked exactly what I wanted to see now it looks better I was thinking to make a faucetbox faucet with my existing xapo faucet so I can grow my user base.This is first time I installed faucetbox faucet.


Title: Re: Need little help from faucetbox owners.
Post by: BitBustah on August 20, 2016, 07:13:25 AM
Thanks buddy it worked exactly what I wanted to see now it looks better I was thinking to make a faucetbox faucet with my existing xapo faucet so I can grow my user base.This is first time I installed faucetbox faucet.

You're welcome.


The FB script is good but needs a lot of tweaking to make it more secure.... Good luck.


Title: Re: Need little help from faucetbox owners.
Post by: FaucetRank.com on August 20, 2016, 09:12:44 AM
Thanks buddy it worked exactly what I wanted to see now it looks better I was thinking to make a faucetbox faucet with my existing xapo faucet so I can grow my user base.This is first time I installed faucetbox faucet.

You're welcome.


The FB script is good but needs a lot of tweaking to make it more secure.... Good luck.
I know faucet box script is not secure  that's why I want to install necessary security before I launch the fb faucet. I have to install a automated block feature to prevent bots.


Title: Re: Need little help from faucetbox owners.
Post by: zenitzz on August 20, 2016, 09:56:44 AM
try to ask here:https://bitcointalk.org/index.php?topic=1094930.2680 this is main thread of faucetbox and OP is active, so, hope you will get correct answer and OP will solve your problem.

good luck


In the .php file where you want the rewards to display, just use this code:

Code:
<?=str_replace(" ,", ",", preg_replace("/\([^)]+\)/","",$data["rewards"]));?>



What for replace the code from the data that will be making your visitors go because of shortage of the rewards  received is not as shown in the view faucets.


Title: Re: Need little help from faucetbox owners.
Post by: FaucetRank.com on August 21, 2016, 03:54:16 AM
try to ask here:https://bitcointalk.org/index.php?topic=1094930.2680 this is main thread of faucetbox and OP is active, so, hope you will get correct answer and OP will solve your problem.

good luck


In the .php file where you want the rewards to display, just use this code:

Code:
<?=str_replace(" ,", ",", preg_replace("/\([^)]+\)/","",$data["rewards"]));?>



What for replace the code from the data that will be making your visitors go because of shortage of the rewards  received is not as shown in the view faucets.
don't worry there will be no shortage of reward and reward will same as shown to visitors. The reward also depends on time frame of reclaim and I would keep it low.
I only want to look my both faucet same (xapo and faucet box).