Bitcoin Forum
November 15, 2024, 02:49:16 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Introducing Bitthanks - beta  (Read 11824 times)
niekie (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
June 12, 2010, 11:51:15 AM
Last edit: June 14, 2010, 11:57:39 AM by niekie
 #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
HostFat
Staff
Legendary
*
Offline Offline

Activity: 4270
Merit: 1209


I support freedom of choice


View Profile WWW
June 12, 2010, 05:25:51 PM
Last edit: June 12, 2010, 05:41:14 PM by Joozero
 #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.

NON DO ASSISTENZA PRIVATA - https://t.me/hostfatmind/
laszlo
Full Member
***
Offline Offline

Activity: 199
Merit: 2384


View Profile
June 12, 2010, 06:05:34 PM
 #3

Thanks!

BC: 157fRrqAKrDyGHr1Bx3yDxeMv8Rh45aUet
HostFat
Staff
Legendary
*
Offline Offline

Activity: 4270
Merit: 1209


I support freedom of choice


View Profile WWW
June 12, 2010, 06: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

NON DO ASSISTENZA PRIVATA - https://t.me/hostfatmind/
niekie (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
June 12, 2010, 08:12:04 PM
Last edit: June 12, 2010, 08:24:49 PM by niekie
 #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.
sirius
Bitcoiner
Sr. Member
****
Offline Offline

Activity: 429
Merit: 1002



View Profile
June 12, 2010, 11: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.

Iris — for better social networks
I'm not a forum admin - please contact theymos instead.
HostFat
Staff
Legendary
*
Offline Offline

Activity: 4270
Merit: 1209


I support freedom of choice


View Profile WWW
June 14, 2010, 11:58:43 AM
 #7

I think that bitcoin-url will also give some help to this Smiley

NON DO ASSISTENZA PRIVATA - https://t.me/hostfatmind/
niekie (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
June 14, 2010, 12:27:45 PM
 #8

And... Bitthanks now has a logo Grin
martin
Full Member
***
Offline Offline

Activity: 150
Merit: 100



View Profile WWW
July 16, 2010, 11: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?
mizerydearia
Hero Member
*****
Offline Offline

Activity: 574
Merit: 513



View Profile
July 17, 2010, 09:55:29 AM
Last edit: July 21, 2010, 11:42:06 AM by mizerydearia
 #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 :)<br>";
echo "<br>";
echo "This user accepts Bitcoin donations at the following address: $address<br>";
echo "<br>";
echo "Number of Bitcoins received for this user: $donated.";
}
?>
Insti
Sr. Member
****
Offline Offline

Activity: 294
Merit: 252


Firstbits: 1duzy


View Profile
August 06, 2010, 08: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..
niekie (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
August 12, 2010, 04:25:23 PM
 #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.
Pages: [1]
  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!