phpfaucet.org (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
April 23, 2015, 09:56:15 PM Last edit: April 23, 2015, 11:37:25 PM by phpfaucet.org |
|
Good day, phpfaucet.org,
The first thing we noticed, while were looking through your code is that you use "SELECT *" sql statement, which is considered to be the bad practice. We have also mentioned that your DB class isn't a singleton, do you use any design patterns?
Sorry for delay, you are right. design pattern can be useful for script performance but I didn't use it. I worked on necessary features. its an opensource project dude, join me and participate in development.
|
|
|
|
phpfaucet.org (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
April 23, 2015, 11:32:12 PM |
|
Important UpdateI made some changes for bitcoin faucets, to prevent from paying high fees for send to bitcoin addresses. admin can set minimum queue in setting and whenever number of withdrawal requests reached to this number. cron_withdrawal.php send payments to bitcoin addresses. This feature allow you to pay one miner fee for multiple payments. also the fees will not deducted when user want to withdrawal. you can download project from github and make a fresh installation but if your script is running now, follow the update instruction : How to update1. Run this query on your database INSERT INTO 'tbl_config' ( 'config_id' , 'header' , 'value' ) VALUES ( NULL , 'requestcount', '10' );
2. Update these files. admcenter/setting.php cron_withdrawal.php includes/AsmoneyAPI.php withdrawal.php
|
|
|
|
ciocgun
|
|
April 24, 2015, 07:56:10 AM |
|
Important Update
I made some changes for bitcoin faucets, to prevent from paying high fees for send to bitcoin addresses. admin can set minimum queue in setting and whenever number of withdrawal requests reached to this number. cron_withdrawal.php send payments to bitcoin addresses.
This feature allow you to pay one miner fee for multiple payments. also the fees will not deducted when user want to withdrawal.
I see you're creating a very good script, I'll give you a try and install the code in local and do some tests to verify if it works better than my actual on microwallet.
|
|
|
|
hoop
Legendary
Offline
Activity: 1523
Merit: 1001
NOBT - WNOBT your saving bank◕◡◕
|
|
April 24, 2015, 01:28:35 PM |
|
@ phpfaucet.org please reply my pm
|
|
|
|
tyz
Legendary
Offline
Activity: 3360
Merit: 1531
|
|
April 24, 2015, 06:24:02 PM |
|
I don't want to run a bitcoin node extra for the faucet. Is there a way to request the API of an exchange (e.g. Cryptsy) in order to withdraw the bitcoins or alts over it?
|
|
|
|
BlackWasp
Newbie
Offline
Activity: 38
Merit: 0
|
|
April 27, 2015, 10:33:44 AM |
|
Great project, thank you very much!
I am running into a problem installing on my server.
Running: <mydomain>/faucet-master/install.php
There was an error running the query [Duplicate entry '1' for key 'PRIMARY']
Can I contact you via pm please?
|
|
|
|
phpfaucet.org (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
April 28, 2015, 09:37:15 AM |
|
I don't want to run a bitcoin node extra for the faucet. Is there a way to request the API of an exchange (e.g. Cryptsy) in order to withdraw the bitcoins or alts over it?
You don't need to run a bitcoin node for faucet, payment hanldle by AsMoney for bitcoin and altcoins.
|
|
|
|
phpfaucet.org (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
April 28, 2015, 09:38:29 AM |
|
Great project, thank you very much!
I am running into a problem installing on my server.
Running: <mydomain>/faucet-master/install.php
There was an error running the query [Duplicate entry '1' for key 'PRIMARY']
Can I contact you via pm please?
I answered your PM.
|
|
|
|
BlackWasp
Newbie
Offline
Activity: 38
Merit: 0
|
|
April 29, 2015, 12:15:54 PM |
|
Important Update
I made some changes for bitcoin faucets, to prevent from paying high fees for send to bitcoin addresses. admin can set minimum queue in setting and whenever number of withdrawal requests reached to this number. cron_withdrawal.php send payments to bitcoin addresses.
This feature allow you to pay one miner fee for multiple payments. also the fees will not deducted when user want to withdrawal.
I see you're creating a very good script, I'll give you a try and install the code in local and do some tests to verify if it works better than my actual on microwallet. Hi, I ran the SQL on my db. Where do I get updated versions of the PHP files please? I am trying to test your faucet script on my domain. Thanks.
|
|
|
|
phpfaucet.org (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
April 30, 2015, 11:59:37 PM |
|
Hi,
I ran the SQL on my db.
Where do I get updated versions of the PHP files please?
I am trying to test your faucet script on my domain.
Thanks.
new files published in github, https://github.com/phpfaucet/faucet
|
|
|
|
BlackWasp
Newbie
Offline
Activity: 38
Merit: 0
|
|
May 01, 2015, 09:15:28 AM |
|
Thanks, I uploaded the new files. My admin area works fine.
When I try to register from the index.php page, I get the following error:
Parse error: syntax error, unexpected '"header.php"' (T_CONSTANT_ENCAPSED_STRING) in /home/firstbuk/public_html/faucet-master/register.php on line 1
any ideas?
|
|
|
|
tyz
Legendary
Offline
Activity: 3360
Merit: 1531
|
|
May 01, 2015, 10:48:25 AM |
|
I downloaded the script and gonna install it on my server. I'll implement a API to an exchange with low fees in order to pay the BTC from there. Thanks, I uploaded the new files. My admin area works fine.
When I try to register from the index.php page, I get the following error:
Parse error: syntax error, unexpected '"header.php"' (T_CONSTANT_ENCAPSED_STRING) in /home/firstbuk/public_html/faucet-master/register.php on line 1
any ideas?
|
|
|
|
phpfaucet.org (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
May 07, 2015, 05:24:52 AM |
|
Thanks, I uploaded the new files. My admin area works fine.
When I try to register from the index.php page, I get the following error:
Parse error: syntax error, unexpected '"header.php"' (T_CONSTANT_ENCAPSED_STRING) in /home/firstbuk/public_html/faucet-master/register.php on line 1
any ideas?
I didn't have such problem in remote machine and my local machine too, what version of PHP you are using?
|
|
|
|
|
phpfaucet.org (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
May 27, 2015, 08:07:27 AM |
|
Whats the php version of you are using?
|
|
|
|
phpfaucet.org (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
May 27, 2015, 08:09:46 AM |
|
New UpdateI added a form validator to check currency account and crypto address. please pay attention set minimum withdrawal from admin area for both AsMoney and crypticoins. A new website that using my faucetlet me introduce a new website that use phpfaucet script : http://getfreecoin.comthis is a good pattern for creating an online faucet.
|
|
|
|
hoop
Legendary
Offline
Activity: 1523
Merit: 1001
NOBT - WNOBT your saving bank◕◡◕
|
|
May 31, 2015, 02:07:07 PM |
|
Some notes : - AsMoney Password and AsMoney Password SCI not Hashed at mysql - Everytime I add GoogleAnalytics script before and after Head tag got many error - There error with ads shown - Why user can't buy links ads direct from his balance , set text beside his links and a period for this ads - To be all this available at admin panel
|
|
|
|
phpfaucet.org (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
June 14, 2015, 09:16:31 AM |
|
Some notes : - AsMoney Password and AsMoney Password SCI not Hashed at mysql - Everytime I add GoogleAnalytics script before and after Head tag got many error - There error with ads shown - Why user can't buy links ads direct from his balance , set text beside his links and a period for this ads - To be all this available at admin panel Sorry for delay, I am so busy in these days. I will encrypt passwords in next version but if you use secure web server don't worry about this. use <literal> tag for add javascript like google analytics. <literal> enter javascript code </literal> What error exist in ads ? may be your ads is in javascript and you didn't use literal tag.
|
|
|
|
hanomnom
Member
Offline
Activity: 294
Merit: 11
|
|
June 14, 2015, 11:33:58 AM |
|
This is something like what I have been looking for. Thanks very much. I will be sure to download and check this out.
|
|
|
|
hoop
Legendary
Offline
Activity: 1523
Merit: 1001
NOBT - WNOBT your saving bank◕◡◕
|
|
August 22, 2015, 12:26:54 PM |
|
I make backup for files and DB. our server was under maintenance. I uploaded these backups when maintenance completed but got these errors. logo for this site http://getdogecoin.ga Show for a sec then disappears. error message for this site http://getdogecoin.ml Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "template/header.tpl" on line 1 " in /var/www/virtual/getdogecoin.ml/htdocs/includes/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 1 I deleted Smarty folder and re-uploaded it, but same error.
|
|
|
|
|