Pages:
Author

Topic: [ANN] FaucetBOX.com - API & faucet script, create your own crypto faucet - page 36. (Read 119991 times)

hero member
Activity: 1092
Merit: 501
Anyone here uses Adblocker in their Faucets ??
Yep just put id="MainAd" on the reward button. You mean to stop people using your faucet who have adblocker?
Can you explain where you put that exactly on the line in the php

/templates/default/index.php - line 171

Code:

     

           
     



Tks appreciated
sr. member
Activity: 336
Merit: 250
Sorry for my English if It is Bad✌✌
Can anyone say what is happening with my Faucet ??
http://googlefaucet.com  http://faucetcloud.com
Claims becomes 10x faster. I think bot attack because normal banner views, almost normal analytics report but Crazy claims

Please reply fast anyone

Change your captcha to reCaptcha. If payments drop, that was a bot probably. If not, then who knows, maybe you've just got popular among adblockers?

Added adblocer and recaptcha to my Site.
Can you please check and Confirm ??
legendary
Activity: 971
Merit: 1000
Can anyone say what is happening with my Faucet ??
http://googlefaucet.com  http://faucetcloud.com
Claims becomes 10x faster. I think bot attack because normal banner views, almost normal analytics report but Crazy claims

Please reply fast anyone

Change your captcha to reCaptcha. If payments drop, that was a bot probably. If not, then who knows, maybe you've just got popular among adblockers?
legendary
Activity: 2352
Merit: 1268
In Memory of Zepher
Anyone here uses Adblocker in their Faucets ??
Yep just put id="MainAd" on the reward button. You mean to stop people using your faucet who have adblocker?
Can you explain where you put that exactly on the line in the php

/templates/default/index.php - line 171

Code:

     

           
     


sr. member
Activity: 336
Merit: 250
Sorry for my English if It is Bad✌✌
Can anyone say what is happening with my Faucet ??
http://googlefaucet.com  http://faucetcloud.com
Claims becomes 10x faster. I think bot attack because normal banner views, almost normal analytics report but Crazy claims

Please reply fast anyone
legendary
Activity: 971
Merit: 1000
Don't ask why it adds 1 minute. There is a bug in FB script nobody has discovered yet Wink

Code:
until: '+'+(minutes*60+61)-60+'s',

Can't you just do someth8ing like that to fix it?

I think we should ask the admin of why this is Happenning ??
He should solve this

I didn't check that, but I believe that it rounds up the remaining time up to whole minutes. So if there're 5 minutes and 1 second left, it'll show that there're 6 minutes left.
hero member
Activity: 1092
Merit: 501
Anyone here uses Adblocker in their Faucets ??
Yep just put id="MainAd" on the reward button. You mean to stop people using your faucet who have adblocker?

Can you explain where you put that exactly on the line in the php
hero member
Activity: 1092
Merit: 501
I would like to know what script or what do we have to do to add choice of where to get paid since I have another faucet and would like to offer them option of getting paid with faucetbox

tks
sr. member
Activity: 336
Merit: 250
Sorry for my English if It is Bad✌✌
Anyone here uses Adblocker in their Faucets ??
Yep just put id="MainAd" on the reward button. You mean to stop people using your faucet who have adblocker?

Yes thats what i mean. I don't wanna give my bitcoins to people who have adblocker Enabled and doesn't worth to me. Just useless
hero member
Activity: 524
Merit: 502
Anyone here uses Adblocker in their Faucets ??
Yep just put id="MainAd" on the reward button. You mean to stop people using your faucet who have adblocker?
sr. member
Activity: 336
Merit: 250
Sorry for my English if It is Bad✌✌
Anyone here uses Adblocker in their Faucets ??
legendary
Activity: 2352
Merit: 1268
In Memory of Zepher
Ok , what am i doing wrong? I downloaded the faucet script, have a registered domain and hosting from GoDaddy. Updated the config.php with required information and it gives me an error:

Can't connect to database. Check your config.php.

This is my config file below. Godaddy says that the dbhost name should be my IP address from the CPanel. I have tried using localhost as the dbhost but still no luck, with localhost all i get is a blank screen Sad
Code:
$dbhost "";
$dbuser "username";
$dbpass "password";
$dbname "Test";
$display_errors false;

$connection_options = array(
    
'disable_curl' => false,
    
'local_cafile' => false,
    
'force_ipv4' => false    // cURL only
);

// dsn - Data Source Name
// if you use MySQL, leave it as is
// more information:
// http://php.net/manual/en/pdo.construct.php
$dbdsn "mysql:host=$;dbname=$Test";

Anyone managed to configure the script and using Godaddy hosting? Help!! Smiley

You of course have to change the variables to match the mysql settings of your host. Though, where have you defined the $Test used in the variable $dbdsn?
The $dbdsn variable should be '$dbdsn = "mysql:host=$dbhost;dbname=$dbname";', if you define a variable as something, you just have to insert the variable in the script to get it to show that string. You do not have to both define the variable, then change the string in $dbdsn.
hero member
Activity: 1092
Merit: 501
Well...


Ok , what am i doing wrong? I downloaded the faucet script, have a registered domain and hosting from GoDaddy. Updated the config.php with required information and it gives me an error:

Can't connect to database. Check your config.php.

This is my config file below. Godaddy says that the dbhost name should be my IP address from the CPanel. I have tried using localhost as the dbhost but still no luck, with localhost all i get is a blank screen Sad
Code:

$dbhost 
"";
$dbuser "username";
$dbpass "password";
$dbname "Test";
$display_errors false;

$connection_options = array(
    
'disable_curl' => false,
    
'local_cafile' => false,
    
'force_ipv4' => false    // cURL only
);

// dsn - Data Source Name
// if you use MySQL, leave it as is
// more information:
// http://php.net/manual/en/pdo.construct.php
$dbdsn "mysql:host=$;dbname=$Test";


Anyone managed to configure the script and using Godaddy hosting? Help!! Smiley


in cpanel you will have to make a database connection first of all in mysql and input the information in your config file

$dbhost = "";
$dbuser = "username";
$dbpass = "password";
$dbname = "Test";

these will have to be changed inside the bracket to information on your database
sr. member
Activity: 336
Merit: 250
Sorry for my English if It is Bad✌✌
Well...


Ok , what am i doing wrong? I downloaded the faucet script, have a registered domain and hosting from GoDaddy. Updated the config.php with required information and it gives me an error:

Can't connect to database. Check your config.php.

This is my config file below. Godaddy says that the dbhost name should be my IP address from the CPanel. I have tried using localhost as the dbhost but still no luck, with localhost all i get is a blank screen Sad
Code:

$dbhost 
"";
$dbuser "username";
$dbpass "password";
$dbname "Test";
$display_errors false;

$connection_options = array(
    
'disable_curl' => false,
    
'local_cafile' => false,
    
'force_ipv4' => false    // cURL only
);

// dsn - Data Source Name
// if you use MySQL, leave it as is
// more information:
// http://php.net/manual/en/pdo.construct.php
$dbdsn "mysql:host=$;dbname=$Test";


Anyone managed to configure the script and using Godaddy hosting? Help!! Smiley


Godaddy is only good for Domains but not for Hosting and others
You should better buy hosting from a reseller and use it. Instant support from reseller to solve your problems. Good diskspace, bandwidth, site speed, features and easy to use.

I have my faucets hosted their just for $0.4 a month. That is standard pack which can handle 180k+ pageviews a month and can be upgraded later if you need more.
And that is Very good and cheap hosting specially for Faucets
legendary
Activity: 1022
Merit: 1005
Well...


Ok , what am i doing wrong? I downloaded the faucet script, have a registered domain and hosting from GoDaddy. Updated the config.php with required information and it gives me an error:

Can't connect to database. Check your config.php.

This is my config file below. Godaddy says that the dbhost name should be my IP address from the CPanel. I have tried using localhost as the dbhost but still no luck, with localhost all i get is a blank screen Sad
Code:

$dbhost 
"";
$dbuser "username";
$dbpass "password";
$dbname "Test";
$display_errors false;

$connection_options = array(
    
'disable_curl' => false,
    
'local_cafile' => false,
    
'force_ipv4' => false    // cURL only
);

// dsn - Data Source Name
// if you use MySQL, leave it as is
// more information:
// http://php.net/manual/en/pdo.construct.php
$dbdsn "mysql:host=$;dbname=$Test";


Anyone managed to configure the script and using Godaddy hosting? Help!! Smiley
hero member
Activity: 524
Merit: 502
Don't ask why it adds 1 minute. There is a bug in FB script nobody has discovered yet Wink

Code:
until: '+'+(minutes*60+61)-60+'s',

Can't you just do someth8ing like that to fix it?

Code:
until: '+'+(minutes*60+61)+'s',

This is not the issue. This is the workaround not to get the javascript reload 1 minute before the timer really expires.

The issue is in the main index.php between MySQL, PHP and the rounding to the nearest minute.

Quote
You just made $5. btc or btc-e?

btc Grin My address is in my profile Wink
Sent from exchange. Cheers again.
full member
Activity: 500
Merit: 100
Don't ask why it adds 1 minute. There is a bug in FB script nobody has discovered yet Wink

Code:
until: '+'+(minutes*60+61)-60+'s',

Can't you just do someth8ing like that to fix it?

Code:
until: '+'+(minutes*60+61)+'s',

This is not the issue. This is the workaround not to get the javascript reload 1 minute before the timer really expires.

The issue is in the main index.php between MySQL, PHP and the rounding to the nearest minute.

Quote
You just made $5. btc or btc-e?

btc Grin My address is in my profile Wink
hero member
Activity: 524
Merit: 502
anyone elses timer not going down?

Everything working for My bitcoin Faucet. Not sure about other coins
Oh I think you need to code it in. Anyone got code to make timer go down in real time? Will give $5 btc-e voucher
this still stands btw, $5 btc-e code/bitcoin for countdown timer code. PM me it or even post it here to get it.

If you like the one here: http://lol.steep.rocks/ (don't forget to refresh after you get a dispense)
( This is based on http://keith-wood.name/countdown.html )

Backup your website.

Download: http://lol.steep.rocks/countdown/countdown-js.zip
it is just one file

Unpack so the file inside becomes accessible as http://example.com/js/jquery.plugin.countdown.min.js

Open your template index.php file with Notepad++. This is not the file in the main folder. It is in /templates/***/index.php

Find:
Code:

Add before:
Code:




Find:
Code:
You have to wait

In the element add:
Code:
id="id_timer"

So if it is:
Code:

You have to wait...


It will become:
Code:

You have to wait...


Test it.

Don't ask why it adds 1 minute. There is a bug in FB script nobody has discovered yet Wink
You just made $5. btc or btc-e?
sr. member
Activity: 336
Merit: 250
Sorry for my English if It is Bad✌✌
Don't ask why it adds 1 minute. There is a bug in FB script nobody has discovered yet Wink

Code:
until: '+'+(minutes*60+61)-60+'s',

Can't you just do someth8ing like that to fix it?

I think we should ask the admin of why this is Happenning ??
He should solve this
legendary
Activity: 2352
Merit: 1268
In Memory of Zepher
Don't ask why it adds 1 minute. There is a bug in FB script nobody has discovered yet Wink

Code:
until: '+'+(minutes*60+61)-60+'s',

Can't you just do someth8ing like that to fix it?
Pages:
Jump to: