Author

Topic: Introducing Bitthanks - beta (Read 11833 times)

newbie
Activity: 6
Merit: 0
August 12, 2010, 11:25:23 AM
#12
Is bitthanks still active?

I've noticed the image has disappeared from my signature, and I've not noticed them in anyone else's lately..


Currently? No. I've had to reinstall a lot of stuff due to temporary issues on my server.

I should be able to get it up and in working order again soon though. All signatures should then start working again. Sorry for suddenly disappearing without notice Smiley

As for plans to release the source code... yes, I'll definitely be looking at doing that some point in the future, though I'd like to fix some small issues first though.
sr. member
Activity: 294
Merit: 252
Firstbits: 1duzy
August 06, 2010, 03:59:30 PM
#11
Is bitthanks still active?

I've noticed the image has disappeared from my signature, and I've not noticed them in anyone else's lately..
hero member
Activity: 574
Merit: 513
July 17, 2010, 04:55:29 AM
#10
nieke - Do you have any plans to release the code you used to make Bitthanks possible so that others can implement it for themselves or as other providers providing same type of service to others as well?

Here's some code that does something similar:
Code:
$font = "/usr/share/fonts/ttf-bitstream-vera/Vera.ttf";
require_once 'jsonRPCClient.php';
$data=new jsonRPCClient('http://127.0.0.1:8332');
$donated = $data->getreceivedbylabel("Bitcoin Forum Sig");

if (substr($_SERVER["HTTP_REFERER"], 0, 27) == "http://bitcointalk.org/") {
$text = "Received amount in Bitcoins: $donated. Want to thank me for this forum post? Click here!";
header("Content-type: image/png");
$fontsize = 12;
$bounds = array();
$bounds = ImageTTFBBox($fontsize, 0, $font, "W"); $oy = abs($bounds[7]-$bounds[1]);
$bounds = ImageTTFBBox($fontsize, 0, $font, $text);
$w = abs($bounds[4]-$bounds[6]);
$h = abs($bounds[7]-$bounds[1]);
$image = imagecreatetruecolor($w,$h);
imagefill($image, 0, 0, imagecolorallocatealpha($image, 255, 255, 255, 127));
imagesavealpha($image, true);
ImageTTFText($image, $fontsize, 0, 0, $oy, imagecolorallocate($image, 0, 0, 0), $font, $text);
imagePNG($image);
}
else {
$address = $data->getnewaddress("Bitcoin Forum Sig");
echo "Hello! You've reached the donation page for accepting donations :)
";
echo "
";
echo "This user accepts Bitcoin donations at the following address: $address
";
echo "
";
echo "Number of Bitcoins received for this user: $donated.";
}
?>
full member
Activity: 150
Merit: 100
July 16, 2010, 06:57:40 PM
#9
Hi nieke, I sent you a private message about getting a bitthanks link but you never replied, any chance of still getting one?
newbie
Activity: 6
Merit: 0
June 14, 2010, 07:27:45 AM
#8
And... Bitthanks now has a logo Grin
staff
Activity: 4270
Merit: 1209
I support freedom of choice
June 14, 2010, 06:58:43 AM
#7
I think that bitcoin-url will also give some help to this Smiley
sr. member
Activity: 429
Merit: 1002
June 12, 2010, 06:30:22 PM
#6
Cool idea. With some additions to the Bitcoin api, your service could show the received amount for any address in the block chain and people could send their donations directly to the recipient.
newbie
Activity: 6
Merit: 0
June 12, 2010, 03:12:04 PM
#5
Flattr definitely sounds like an interesting model. Currently, to do that with Bitcoins though I'd have to get both the user and the benificiary to register. As far as doing any integration in the Bitcoin client, I'm afraid I don't know C(++).

The code to do this locally would be pretty simple. All that's needed is a JSON-RPC API call to getnewaddress with as argument a label you want the donations to apply to, and a call to getreceivedbylabel for checking the amount of donations sent. Furthermore, you'll need to use a graphics library to generate the image. I am using GD along with PHP. For JSON-RPC I use http://jsonrpcphp.org/. You'll of course need to install bitcoin on your webserver currently, which may not be possible on shared hosting.
staff
Activity: 4270
Merit: 1209
I support freedom of choice
June 12, 2010, 01:07:40 PM
#4
your idea reminds me flattr.com Grin
It will be very interesting if you make it simple / easy and fast as flattr.

Just a "click", and the bitcoin client will share a small amount of bcoins Smiley
full member
Activity: 199
Merit: 2385
June 12, 2010, 01:05:34 PM
#3
Thanks!
staff
Activity: 4270
Merit: 1209
I support freedom of choice
June 12, 2010, 12:25:51 PM
#2
Beautiful Cheesy
I have just sent you 5 bitcoins to test it Wink

EDIT:
Anyway, this is a good service that anyone could have local installed.
I could be a bitcoin plug-in or a like.
newbie
Activity: 6
Merit: 0
June 12, 2010, 06:51:15 AM
#1
http://niekie.com/bitthanks-small.png

Another interesting use for Bitcoin is the ability to quickly send a token of your appreciation for help received or small services provided to someone, especially in forum environments.

To aid with that, I've created Bitthanks. Bitthanks is a system which displays a public donation count in a forum signature, and displays a small banner soliciting a donation. The system generates an unique address labeled with the receiving user's label for each possible donator.

Once transactions clear, a cronjob takes care of automated deposit to the legitimate beneficiary's address registered with Bitthanks.

Currently, this system is in beta. To sign up for beta testing, private message me on this forum with:

  • An address I can send the Bitcoins you receive to. Generate one in your client, and label it something like "Bitthanks Automated Deposit"
  • Your e-mail address, in case I need to contact you for some reason.
  • UPDATE: Future-proofing: a password, which might be required for a future web-interface for manual deposits.
  • (optional) An alternate message, which you want displayed instead of "Want to thank me for this forum post? Click here! Powered by Bitthanks."

You'll receive a message back with the proper BBcode to place in your forum signature.

Enjoy! Smiley
Jump to: