Bitcoin Forum
June 24, 2024, 04:46:27 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: « 1 ... 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 [61] 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 ... 156 »
  Print  
Author Topic: FaucetBOX.com Discussion  (Read 236942 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
nawaraj
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
November 19, 2015, 01:04:03 PM
 #1201

It depends on too many factors, it can't be easily calculated. Specifically it depends on how you advertise your faucet and what kind of users visit it, which is something that FaucetBOX.com can't know.
You could probably calculate the average spending per day and divide that by the balance. That would show how many days the faucet could be funded for at current rates. You could then probably divide that by the average amount sent to see how many users it could send to on average. It would be somewhat inaccurate, though I think it's similar to what narawaj wants.
Yes I can calculate it by myself. But it was better, if I do not need to calculate.
btc4
Full Member
***
Offline Offline

Activity: 176
Merit: 100



View Profile
November 19, 2015, 02:57:30 PM
 #1202

@kazuldur:
1561-1572
Quote
if(!$connection_error && $response['version'] && $version < intval($response["version"])) {
                $page = str_replace('<:: version_check ::>', $new_version_template, $page);
                $changelog = '';
                foreach($response['changelog'] as $v => $changes) {
                    if(intval($v) > $version) {
                        $changelog .= "<p>Changes in r$v: $changes</p>";
                    }
                }
                $page = str_replace(array('<:: url ::>', '<:: version ::>', '<:: changelog ::>'), array($response['url'], $response['version'], $changelog), $page);
            } else {
                $page = str_replace('<:: version_check ::>', '', $page);
            }

alex2014
Full Member
***
Offline Offline

Activity: 235
Merit: 250


View Profile
November 19, 2015, 04:31:14 PM
 #1203

Kazuldur   took your advice ... it works ...
 to version 62


====================

who wrote about spending Statistics...... in my experience...I spent a day 5000 DOGEcoin....I gave 5 DOGEcoin every 600 min... 5% referral commission..... a month spent 10 USD = 75488.79 DOGE(course 19.11.2015).......  Wink It was a plus ... .. cost faucets.... earnings on advertising
misterbit
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile
November 19, 2015, 05:10:18 PM
 #1204

I'd like a new stats feature which allow us to see what  countries make more claims, like a list of countries sorted by number of claims made.

You should use Google Analytics or something similar for that.

Hi Kazuldur, can you add some feature on faucet or on faucetbox account, which will show us , for how many user this current balance is enough.

It depends on too many factors, it can't be easily calculated. Specifically it depends on how you advertise your faucet and what kind of users visit it, which is something that FaucetBOX.com can't know.

yes thats right,now i got this error:
PHP Notice:  Array to string conversion in /home/greenbit/public_html/index.php on line 1566
[quote
Which version do you use? Did you modify index.php anyway? This error doesn't make sense on this line...
If you modified the script please tell me what's on line 1566 in your index.php file.

no,im using r56 version.

It still doesn't make sense, line 1566 in r56 only has a bracket in it. Can you send me lines 1560-1570 from your index.php?

Currently you have to do that in the code of your faucet. Checking the error code and changing $ret['html'] around line 2355 in index.php should work.
However I think that customizing error messages is quite a nice idea, we'll think about implementing this in next version.
I found it, but what change?
Thank you
Code:
} else {
                        if($data['unit'] == 'satoshi')
                            $data['paid'] = $ret['html'];
                        else
                            $data['paid'] = $ret['html_coin'];
                    }
                } else {

That's not it. This snippet handles successful payout, you want to catch error. You want to find this part (line numbers from r62 added):
Code:
 2352                     }       
 2353                 } else {
 2354                     $data['error'] = $ret['html'];
 2355                 }
 2356                 if($ret['success'] || $fb->communication_error) {
and change it to something like this (not tested):
Code:
 2352                     }
 2353                 } else {
 2354                     if($ret['message'] == "This faucet exceeded it's safety limits!") {
 2355                         $ret["html"] = "<div class=\"alert alert-danger\">YOUR CUSTOM MESSAGE HERE</div>"
 2356                     }   
 2357                     $data['error'] = $ret['html'];
 2358                 }   
 2359                 if($ret['success'] || $fb->communication_error) {
Thank you, it jumped me an error, the line is different from the original version

PHP Parse error:  syntax error, unexpected '}' in
minifrij
Legendary
*
Offline Offline

Activity: 2324
Merit: 1267


In Memory of Zepher


View Profile WWW
November 19, 2015, 05:13:37 PM
 #1205

He forgot a ; at the end of line 2355. Add one of those and it should be fine.
misterbit
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile
November 19, 2015, 05:25:40 PM
 #1206

He forgot a ; at the end of line 2355. Add one of those and it should be fine.
Cheesy Thank you
misterbit
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile
November 19, 2015, 08:47:38 PM
 #1207

I get this error and I do not know what
Are they me hack?

Code:
PHP Warning:  stream_socket_client(): unable to connect to tcp://222.222.222.222:43

The IP I do not know if I should post it
Kazuldur (OP)
Legendary
*
Offline Offline

Activity: 971
Merit: 1000


View Profile
November 19, 2015, 09:11:47 PM
 #1208

I get this error and I do not know what
Are they me hack?

Code:
PHP Warning:  stream_socket_client(): unable to connect to tcp://222.222.222.222:43

The IP I do not know if I should post it


That's definitely not a part of our Faucet in a BOX script. But 43 is Whois protocol, which don't really make sense if it's a hack. Did you modify the script yourself in any way except for modifying the error message?

EDIT: 222.222.222.222 IP address on the other hand doesn't look nice though: https://www.virustotal.com/en/ip-address/222.222.222.222/information/

we need some details about traffic come from faucet list , because faucetbox .com is using https protocol , so all traffic come from faucet list is blank REFERER , so it is better if you provide us with some details about this traffic like how many and from which country , it may be in Stats page .

You can just change the URL you have on the list from http://yourfaucet.net to something like http://yourfaucet.net/?source=faucetbox and track that on your side.

Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
misterbit
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile
November 19, 2015, 09:17:31 PM
 #1209

I get this error and I do not know what
Are they me hack?

Code:
PHP Warning:  stream_socket_client(): unable to connect to tcp://222.222.222.222:43

The IP I do not know if I should post it


That's definitely not a part of our Faucet in a BOX script. But 43 is Whois protocol, which don't really make sense if it's a hack. Did you modify the script yourself in any way except for modifying the error message?

You have reason is not an error in the script, is an external script to avoid scammers.
I didn't know that meant or if it was a problem of hacking, so asked, thank you.
Kazuldur (OP)
Legendary
*
Offline Offline

Activity: 971
Merit: 1000


View Profile
November 19, 2015, 09:39:41 PM
 #1210

I get this error and I do not know what
Are they me hack?

Code:
PHP Warning:  stream_socket_client(): unable to connect to tcp://222.222.222.222:43

The IP I do not know if I should post it


That's definitely not a part of our Faucet in a BOX script. But 43 is Whois protocol, which don't really make sense if it's a hack. Did you modify the script yourself in any way except for modifying the error message?

You have reason is not an error in the script, is an external script to avoid scammers.
I didn't know that meant or if it was a problem of hacking, so asked, thank you.


In that case it makes sense it's using Whois, it's not a hack.

Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
nawaraj
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
November 20, 2015, 06:16:21 AM
 #1211

I tried to create a Faucet, but I have a little problem. I changed config.php and I uploaded the files. Then I tried to load index.php and then this error apeard:
PHP Parse error:  syntax error, unexpected '[' in /home/w18210/public_html/faucet/index.php on line 132

The 132th line is:
  58 => ["DELETE FROM `Faucetinabox_Settings` WHERE `name` IN ('captchme_public_key', 'captchme_private_key', 'captchme_authentication_key', 'reklamper_enabled')"],

Then I deleted the "[" and the "]".

The next error:
PHP Parse error:  syntax error, unexpected '[' in /home/w18210/public_html/faucet/index.php on line 1602

This is the 1602th line:
    $response = ["status" => 404];

What shell I do? Can you tell me what could be the problem?
I sent e-mails to FaucetBox support, but they didn't answered.

Thanks
What is your faucet link
btc4
Full Member
***
Offline Offline

Activity: 176
Merit: 100



View Profile
November 20, 2015, 06:51:37 AM
 #1212

@kazuldur:
1561-1572
Quote
if(!$connection_error && $response['version'] && $version < intval($response["version"])) {
                $page = str_replace('<:: version_check ::>', $new_version_template, $page);
                $changelog = '';
                foreach($response['changelog'] as $v => $changes) {
                    if(intval($v) > $version) {
                        $changelog .= "<p>Changes in r$v: $changes</p>";
                    }
                }
                $page = str_replace(array('<:: url ::>', '<:: version ::>', '<:: changelog ::>'), array($response['url'], $response['version'], $changelog), $page);
            } else {
                $page = str_replace('<:: version_check ::>', '', $page);
            }

minifrij
Legendary
*
Offline Offline

Activity: 2324
Merit: 1267


In Memory of Zepher


View Profile WWW
November 20, 2015, 07:20:46 AM
 #1213

I tried to create a Faucet, but I have a little problem. I changed config.php and I uploaded the files. Then I tried to load index.php and then this error apeard:
PHP Parse error:  syntax error, unexpected '[' in /home/w18210/public_html/faucet/index.php on line 132

The 132th line is:
  58 => ["DELETE FROM `Faucetinabox_Settings` WHERE `name` IN ('captchme_public_key', 'captchme_private_key', 'captchme_authentication_key', 'reklamper_enabled')"],

Then I deleted the "[" and the "]".

The next error:
PHP Parse error:  syntax error, unexpected '[' in /home/w18210/public_html/faucet/index.php on line 1602

This is the 1602th line:
    $response = ["status" => 404];

What shell I do? Can you tell me what could be the problem?
I sent e-mails to FaucetBox support, but they didn't answered.

Thanks
Upgrade your PHP version to the latest build; it is out of date and I think causing that error. You could also replace the []s with array(), though this could leave your script open to security errors.
nawaraj
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
November 20, 2015, 08:51:15 AM
 #1214

I tried to create a Faucet, but I have a little problem. I changed config.php and I uploaded the files. Then I tried to load index.php and then this error apeard:
PHP Parse error:  syntax error, unexpected '[' in /home/w18210/public_html/faucet/index.php on line 132

The 132th line is:
  58 => ["DELETE FROM `Faucetinabox_Settings` WHERE `name` IN ('captchme_public_key', 'captchme_private_key', 'captchme_authentication_key', 'reklamper_enabled')"],

Then I deleted the "[" and the "]".

The next error:
PHP Parse error:  syntax error, unexpected '[' in /home/w18210/public_html/faucet/index.php on line 1602

This is the 1602th line:
    $response = ["status" => 404];

What shell I do? Can you tell me what could be the problem?
I sent e-mails to FaucetBox support, but they didn't answered.

Thanks
What is your faucet link
My main domain will be freecoinsfast.club, but first I uploaded it to here: http://freecoinsfast.hostreo.com. I added the original index to there too. The error is the same...
Please make sure that your php version is 5.4 or newer
Kazuldur (OP)
Legendary
*
Offline Offline

Activity: 971
Merit: 1000


View Profile
November 20, 2015, 09:54:14 AM
 #1215

@kazuldur:
1561-1572
Quote
if(!$connection_error && $response['version'] && $version < intval($response["version"])) {
                $page = str_replace('<:: version_check ::>', $new_version_template, $page);
                $changelog = '';
                foreach($response['changelog'] as $v => $changes) {
                    if(intval($v) > $version) {
                        $changelog .= "<p>Changes in r$v: $changes</p>";
                    }
                }
                $page = str_replace(array('<:: url ::>', '<:: version ::>', '<:: changelog ::>'), array($response['url'], $response['version'], $changelog), $page);
            } else {
                $page = str_replace('<:: version_check ::>', '', $page);
            }

Is it possible that you're using index.php file from r56, but libs/faucetbox.php file from version r60 or newer?

Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
btc4
Full Member
***
Offline Offline

Activity: 176
Merit: 100



View Profile
November 20, 2015, 10:43:20 AM
 #1216

@kazuldur:
1561-1572
Quote
if(!$connection_error && $response['version'] && $version < intval($response["version"])) {
                $page = str_replace('<:: version_check ::>', $new_version_template, $page);
                $changelog = '';
                foreach($response['changelog'] as $v => $changes) {
                    if(intval($v) > $version) {
                        $changelog .= "<p>Changes in r$v: $changes</p>";
                    }
                }
                $page = str_replace(array('<:: url ::>', '<:: version ::>', '<:: changelog ::>'), array($response['url'], $response['version'], $changelog), $page);
            } else {
                $page = str_replace('<:: version_check ::>', '', $page);
            }

Is it possible that you're using index.php file from r56, but libs/faucetbox.php file from version r60 or newer?
yes i can.can i replace that with r62 version? i sent you PM.thanks

minifrij
Legendary
*
Offline Offline

Activity: 2324
Merit: 1267


In Memory of Zepher


View Profile WWW
November 20, 2015, 10:46:12 AM
 #1217

yes i can.can i replace that with r62 version? i sent you PM.thanks
You should always try to keep your faucet libs and PHP files up to date for security purposes. I'm fairly sure FaucetBox has a nice feature in the admin panel which allows for easy upgrades, you should use that.
All newer versions of the script should work with older ones, as I'm sure Kazuldur has included backwards compatibility.
btc4
Full Member
***
Offline Offline

Activity: 176
Merit: 100



View Profile
November 20, 2015, 10:54:51 AM
 #1218

yes i can.can i replace that with r62 version? i sent you PM.thanks
You should always try to keep your faucet libs and PHP files up to date for security purposes. I'm fairly sure FaucetBox has a nice feature in the admin panel which allows for easy upgrades, you should use that.
All newer versions of the script should work with older ones, as I'm sure Kazuldur has included backwards compatibility.
i know. but i cant update php files/libs folder.when i trying to upgrade to the new version my costum template not work as well.

minifrij
Legendary
*
Offline Offline

Activity: 2324
Merit: 1267


In Memory of Zepher


View Profile WWW
November 20, 2015, 10:58:53 AM
 #1219

i know. but i cant update php files/libs folder.when i trying to upgrade to the new version my costum template not work as well.
Is it possible that you're using index.php file from r56, but libs/faucetbox.php file from version r60 or newer?
I don't believe it is the libs folder which is out of date, more your index.php file. There have been lots of upgrades to that as of late, and it should really be updated.
In addition, changing the libs folder shouldn't change your layout. AFAIK they have no direct interaction with each other.
btc4
Full Member
***
Offline Offline

Activity: 176
Merit: 100



View Profile
November 20, 2015, 11:07:58 AM
 #1220

i know. but i cant update php files/libs folder.when i trying to upgrade to the new version my costum template not work as well.
Is it possible that you're using index.php file from r56, but libs/faucetbox.php file from version r60 or newer?
I don't believe it is the libs folder which is out of date, more your index.php file. There have been lots of upgrades to that as of late, and it should really be updated.
In addition, changing the libs folder shouldn't change your layout. AFAIK they have no direct interaction with each other.
thats correct.i changed libs file with newer. but nothing happened.so my template have a direct interaction with index.php changes!

Pages: « 1 ... 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 [61] 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 ... 156 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!