Pages:
Author

Topic: [New] Integrate Short Links in FaucetBOX, Dice and FaucetSystem Script! (Read 1398 times)

full member
Activity: 457
Merit: 103
Does anyone have this dice script?
The link in the thread is not working.
If anyone has this then please pm me.
newbie
Activity: 3
Merit: 0
Seems like this post is kinda old. I need a mandatory shortlink for Faucetbox Ultimate R86. I can pay because I really just want this done, and I don't know if people will do this otherwise. Please help me out.

It's when you press the claim button, not an optional extra 15% or so.
full member
Activity: 168
Merit: 100
can u please intergrate shortlink on claim button ?
full member
Activity: 630
Merit: 100
Can someone link the FaucetBox Link Shortner Option?
Cause Forum Has closed and i don't find a proper way to do it.

I don't know anything about that particular script but if you figure out how to use the Developer API for the short links, the rest will be easy.
The tricky part is figuring out how file_get_contents or curl works. So, start by reading up on that.  Wink
member
Activity: 196
Merit: 10
TcAs4B8SaPTQJqmKU8pYisV8RuNdh6cXZT
Can someone link the FaucetBox Link Shortner Option?
Cause Forum Has closed and i don't find a proper way to do it.
hero member
Activity: 1092
Merit: 500
I just made a post on how to include short links with the faucetsystem script over at Cointalk for those who might be interested.
Cointalk Post

Well done Kema. Thank you. Smiley
full member
Activity: 630
Merit: 100
I just made a post on how to include short links with the faucetsystem script over at Cointalk for those who might be interested.
Cointalk Post
member
Activity: 110
Merit: 10
There's always an alternative. Rektcoins is back!
i just tried it with a test faucet what i have, it works perfectly, but it supports other coins like LTC and DOGE?
yeah, just test... Wink

I tried and i just got the message "You will recive 650 litoshi extra in your next claim" (i modified the message) but it doesn't pay it :/
Perhaps your index.php is unable to connect with configuration file. anyway, check this code:
Code:
require_once("links/config.php");

function getUserIP()
{
    $client  = @$_SERVER['HTTP_CLIENT_IP'];
    $forward = @$_SERVER['HTTP_X_FORWARDED_FOR'];
    $remote  = $_SERVER['REMOTE_ADDR'];

    if(filter_var($client, FILTER_VALIDATE_IP))
    {
        $getip = $client;
    }
    elseif(filter_var($forward, FILTER_VALIDATE_IP))
    {
        $getip = $forward;
    }
    else
    {
        $getip = $remote;
    }
    return $getip;
}
$userip = getUserIP();
$lnk_lnk = "links/lnk/$userip.xxx"; //link path
if (file_exists($lnk_lnk)) {
     $check_link = file_get_contents($lnk_lnk); //check status
     if ($check_link == 200) {
         $reward += $extra;
     }
}
Remove this require_once("links/config.php"); and add there $extra = 650; //Extra Litoshi

Oh thanks, i forgot to add the code in my main Index file, thanks a lot!
hero member
Activity: 1092
Merit: 500
i just tried it with a test faucet what i have, it works perfectly, but it supports other coins like LTC and DOGE?
yeah, just test... Wink

I tried and i just got the message "You will recive 650 litoshi extra in your next claim" (i modified the message) but it doesn't pay it :/
Perhaps your index.php is unable to connect with configuration file. anyway, check this code:
Code:
require_once("links/config.php");

function getUserIP()
{
    $client  = @$_SERVER['HTTP_CLIENT_IP'];
    $forward = @$_SERVER['HTTP_X_FORWARDED_FOR'];
    $remote  = $_SERVER['REMOTE_ADDR'];

    if(filter_var($client, FILTER_VALIDATE_IP))
    {
        $getip = $client;
    }
    elseif(filter_var($forward, FILTER_VALIDATE_IP))
    {
        $getip = $forward;
    }
    else
    {
        $getip = $remote;
    }
    return $getip;
}
$userip = getUserIP();
$lnk_lnk = "links/lnk/$userip.xxx"; //link path
if (file_exists($lnk_lnk)) {
     $check_link = file_get_contents($lnk_lnk); //check status
     if ($check_link == 200) {
         $reward += $extra;
     }
}
Remove this require_once("links/config.php"); and add there $extra = 650; //Extra Litoshi
member
Activity: 110
Merit: 10
There's always an alternative. Rektcoins is back!
i just tried it with a test faucet what i have, it works perfectly, but it supports other coins like LTC and DOGE?
yeah, just test... Wink

I tried and i just got the message "You will recive 650 litoshi extra in your next claim" (i modified the message) but it doesn't pay it :/
hero member
Activity: 1092
Merit: 500
Anyway to integrate this with faucetsystem script? I have pretty good amount of users claiming on my faucet and i would like to use you service Smiley
full member
Activity: 183
Merit: 100
Anyway to integrate this with faucetsystem script? I have pretty good amount of users claiming on my faucet and i would like to use you service Smiley
hero member
Activity: 1092
Merit: 500
i just tried it with a test faucet what i have, it works perfectly, but it supports other coins like LTC and DOGE?
yeah, just test... Wink
member
Activity: 110
Merit: 10
There's always an alternative. Rektcoins is back!
i just tried it with a test faucet what i have, it works perfectly, but it supports other coins like LTC and DOGE?
hero member
Activity: 1092
Merit: 500
hero member
Activity: 1092
Merit: 500
hero member
Activity: 1092
Merit: 500
+1 for faucetsystem integration Smiley
okay okay okay...!!!
xnd
sr. member
Activity: 297
Merit: 250
@DEVRAWL
+1 for faucetsystem integration Smiley
hero member
Activity: 1092
Merit: 500
Can you make this for faucetsystem script as well? As there are many owners like me who use that script.
okay, no problem, I will try to make for faucetsystem script... Smiley
Pages:
Jump to: