Bitcoin Forum

Bitcoin => Project Development => Topic started by: film2240 on December 04, 2011, 11:12:08 PM



Title: Bitcoin donate widget for wordpress blog
Post by: film2240 on December 04, 2011, 11:12:08 PM
Hi,
I'm just wondering if it's possible for someone to create a widget that I can add to my blog that'll let me accept bitcoins more easily to help support the BTC? If someone's already developed it,can they please link to it with setup instructions for a wordpress.com based blog as wordpress.org based blogs are self hosted whereas my blog:www.film2240.wordpress.com is hosted on wordpress own servers (not my own) and may have restrictions on what code can be run or which widgets can be installed.I'm really not sure so thats why I'm asking.

Thank you


Title: Re: Bitcoin donate widget for wordpress blog
Post by: garyrowe on December 05, 2011, 12:43:17 PM
Take a look here for an example of how this can be done without any special widget: http://gary-rowe.com/agilestack (http://gary-rowe.com/agilestack)

Just install a suitable Bitcoin client (e.g. MultiBit see http://multibit.org (http://multibit.org)) and then post the generated QR code (or Bitcoin swatch) on to your site. The private key remains within your client and is never exposed.

Takes 5 minutes.


Title: Re: Bitcoin donate widget for wordpress blog
Post by: film2240 on December 12, 2011, 05:05:36 PM
garyrowe,this solution you've created is very easy to setup and I have now added it to my blog.
The blog is:www.film2240.wordpress.com

It's being used for the donate feature (as I dislike paperwork and traceable money issues).I need a few volunteers to test that this works for me.The donate cost is set at 0.5BTC for testing purposes.I'm not sure if that 0.5BTC tells the client to automatically donate 0.5BTC or if it lets you insert the BTC address manually and then able to donate what you wish rather than the set figure. If this works fine,I'd like my blog to be added to the list of websites that accepts BTC as I feel I can do my part to make BTC more widely adopted as well as more valuable (and therefore profitable)

It's a QR code,so you'll need your phones for this one.

Thank you.:-)


Title: Re: Bitcoin donate widget for wordpress blog
Post by: jim618 on December 12, 2011, 05:20:48 PM
Nice to see your QR code on your blog.

For MultiBit (the client Gary and I have been writing), you can drag the QR code onto the 'Send Bitcoin' form and it fills the form for you (with the address, label and amount).   The user can then tweak the amount if they like.

Here is a screen shot where I have tweaked the 0.5 BTC amount to 0.51 BTC:

http://multibit.org/postImages/film2240.png (http://multibit.org/postImages/film2240.png)

The user then has to press 'Send' and then has a confirmation screen to navigate through so it will not automatically spend other people's bitcoins.   It is a pretty simple 'drag', 'click', 'click' operation though.

I imagine most phone clients will do something similar.

Jim


Title: Re: Bitcoin donate widget for wordpress blog
Post by: garyrowe on December 12, 2011, 05:23:56 PM
Having a quick look over the site www.film2240.wordpress.com (http://www.film2240.wordpress.com) it appears that the donate by Bitcoin doesn't explain how to donate for those people unfamiliar with Bitcoin. I'd suggest adding some text pointing to lovebitcoins.org (http://lovebitcoins.org) which was suggested as the public face of Bitcoin for mainstream access at the Prague conference.

The Bitcoin URI currently encoded into the QR code is a valid address and would show up in a typical mobile client as a suggested donation, the customer/donator is free to change this value to whatever they prefer. The label also helps with tracking for the customer.

The MultiBit (http://multibit.org (http://multibit.org)) client will support the customer/donator performing a drag and drop payment from the browser so that's also good. However, it is often helpful to provide the raw address since it can be copy/pasted into any client thus making sure you don't accidently exclude some potential donators.

I will be updating my own example to reflect these suggestions, so please accept my apologies for the lack of detail.


Title: Re: Bitcoin donate widget for wordpress blog
Post by: garyrowe on December 12, 2011, 05:24:20 PM
Hat tip to Jim for a speedy response.


Title: Re: Bitcoin donate widget for wordpress blog
Post by: film2240 on December 12, 2011, 05:51:07 PM
Thanks for the quick reponse guys.I'll be adding an explanation for users unfamiliar to bitcoins as I feel it is high time this idea got more acceptance.Once I sort out the explanation with the link provided,I'll then be able to sort out the other issues that remain.

Thanks for the very helpful and quick responses guys :-)


Title: Re: Bitcoin donate widget for wordpress blog
Post by: film2240 on December 12, 2011, 05:57:48 PM
Update:The  guide has been added and embedded to the QR code so that when you hover over it,a caption tells the user to click on it to access the http://lovebitcoins.org/ link to read more about Bitcoins and guide the user.

I forgot to say thanks for the donation in my last post.Sorry about that.

The raw bitcoin address will be added alongside the QR code so that everyone has access to it.This should be done fairly soon.


Title: Re: Bitcoin donate widget for wordpress blog
Post by: film2240 on December 12, 2011, 06:25:58 PM
Update:The how to use link is now added underneath the QR code as that link contains the BTC address as well as QR code linking to http://lovebitcoins.org/ when clicked on and a blog post was made here http://film2240.wordpress.com/2011/12/12/featuredonate-via-qr-code/ outlining the change on the blog and how to use the feature basically.

If everything works out nicely for most users,then can my blog be added to the BTC accepting sites.I need people to test that the information is clear and easy to understand and that clicking the code sends you to this site http://lovebitcoins.org/ as intended thanks.

As for that how to use thing below it,I cant seem to make wordpress turn that into a link for some reason as that's plain text (that's embedded in the caption and captions aren't allowed to be text in wordpress.com blogs I think) that has to be copied into the address bar or just select and drag (or open new link after right clicking in your web browser).

I hope this makes life easier for people.Now if only the main payment processors (Paypal,banks,e.t.c) would make it this easy for other to donate :-)