Bitcoin Forum
May 26, 2024, 01:49:32 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Bounty] Donation Widjets  (Read 1247 times)
HELP.org (OP)
Hero Member
*****
Offline Offline

Activity: 510
Merit: 500



View Profile WWW
May 20, 2013, 09:09:22 AM
Last edit: September 20, 2013, 05:24:08 AM by HELP.org
 #1

..

Certified Bitcoin Professional
Bicoin.me - Bitcoin.me!
Mitchell
Copper Member
Legendary
*
Offline Offline

Activity: 3934
Merit: 2201


Verified awesomeness ✔


View Profile WWW
May 20, 2013, 10:02:12 AM
 #2

Use the BlockChain donate function:

In the header:
Code:
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
<script type="text/javascript" src="https://blockchain.info//Resources/wallet/pay-now-button.js"></script>

On the place where you want the donate button:
Code:
<div class="blockchain-btn"
     data-address="DONATEADDRESS">
    <div class="blockchain stage-begin">
        <img src="DONATE BUTTON IMAGE">
    </div>
    <div class="blockchain stage-loading" style="text-align:center">
        <img src="https://blockchain.info//Resources/loading-large.gif">
    </div>
    <div class="blockchain stage-ready">
        Please send your donation to bitcoin address <b>[[address]]</b>
    </div>
    <div class="blockchain stage-paid">
        Donation Received <b>[[value]] BTC</b>. Thank You So Much!
    </div>
    <div class="blockchain stage-error">
        <font color="red">[[error]]</font>
    </div>
</div>

.
Duelbits
            ▄████▄▄
          ▄█████████▄
        ▄█████████████▄
     ▄██████████████████▄
   ▄████▄▄▄█████████▄▄▄███▄
 ▄████▐▀▄▄▀▌████▐▀▄▄▀▌██

 ██████▀▀▀▀███████▀▀▀▀█████

▐████████████■▄▄▄■██████████▀
▐██████████████████████████▀
██████████████████████████▀
▀███████████████████████▀
  ▀███████████████████▀
    ▀███████████████▀
.
         ▄ ▄▄▀▀▀▀▄▄
         ▄▀▀▄      █
         █   ▀▄     █
       ▄█▄     ▀▄   █
      ▄▀ ▀▄      ▀█▀
    ▄▀     ▀█▄▄▄▀▀ ▀
  ▄▀  ▄▀  ▄▀

Live Games

   ▄▄▀▀▀▀▀▀▀▄▄
 ▄▀ ▄▄▀▀▀▀▀▄▄ ▀▄
▄▀ █ ▄  █  ▄ █ ▀▄
█ █   ▀   ▀   █ █  ▄▄▄
█ ▀▀▀▀▀▀▀▀▀▀▀▀▀ █ █   █
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█  █▄█
█ ▀▀█  ▀▀█  ▀▀█ █  █▄█

Slots
.
        ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄
        █         ▄▄  █
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄       █
█  ▄▄         █       █
█             █       █
█   ▄▀▀▄▀▀▄   █       █
█   ▀▄   ▄▀   █       █

Blackjack
|█▀▀▀▀▀█▄▄▄
       ▀████▄▄
         ██████▄
▄▄▄▄▄▄▄▄█▀    ▀▀█
████████▄        █
█████████▄        █
██████████▄     ▄██
█████████▀▀▀█▄▄████
▀▀███▀▀       ████
   █          ███
   █          █▀
▄█████▄▄▄ ▄▄▀▀
███████▀▀▀
.
                 NEW!                  
SPORTS BETTING 
|||
[ Đ ][ Ł ]
AVAILABLE NOW

Advertisements are not endorsed by me.
Mitchell
Copper Member
Legendary
*
Offline Offline

Activity: 3934
Merit: 2201


Verified awesomeness ✔


View Profile WWW
May 20, 2013, 03:20:17 PM
 #3

Goodluck with building your own system, using one that works is sometimes smarter then trying to invent the weel again.

.
Duelbits
            ▄████▄▄
          ▄█████████▄
        ▄█████████████▄
     ▄██████████████████▄
   ▄████▄▄▄█████████▄▄▄███▄
 ▄████▐▀▄▄▀▌████▐▀▄▄▀▌██

 ██████▀▀▀▀███████▀▀▀▀█████

▐████████████■▄▄▄■██████████▀
▐██████████████████████████▀
██████████████████████████▀
▀███████████████████████▀
  ▀███████████████████▀
    ▀███████████████▀
.
         ▄ ▄▄▀▀▀▀▄▄
         ▄▀▀▄      █
         █   ▀▄     █
       ▄█▄     ▀▄   █
      ▄▀ ▀▄      ▀█▀
    ▄▀     ▀█▄▄▄▀▀ ▀
  ▄▀  ▄▀  ▄▀

Live Games

   ▄▄▀▀▀▀▀▀▀▄▄
 ▄▀ ▄▄▀▀▀▀▀▄▄ ▀▄
▄▀ █ ▄  █  ▄ █ ▀▄
█ █   ▀   ▀   █ █  ▄▄▄
█ ▀▀▀▀▀▀▀▀▀▀▀▀▀ █ █   █
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█  █▄█
█ ▀▀█  ▀▀█  ▀▀█ █  █▄█

Slots
.
        ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄
        █         ▄▄  █
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄       █
█  ▄▄         █       █
█             █       █
█   ▄▀▀▄▀▀▄   █       █
█   ▀▄   ▄▀   █       █

Blackjack
|█▀▀▀▀▀█▄▄▄
       ▀████▄▄
         ██████▄
▄▄▄▄▄▄▄▄█▀    ▀▀█
████████▄        █
█████████▄        █
██████████▄     ▄██
█████████▀▀▀█▄▄████
▀▀███▀▀       ████
   █          ███
   █          █▀
▄█████▄▄▄ ▄▄▀▀
███████▀▀▀
.
                 NEW!                  
SPORTS BETTING 
|||
[ Đ ][ Ł ]
AVAILABLE NOW

Advertisements are not endorsed by me.
Mitchell
Copper Member
Legendary
*
Offline Offline

Activity: 3934
Merit: 2201


Verified awesomeness ✔


View Profile WWW
May 20, 2013, 04:13:17 PM
 #4

Goodluck with building your own system, using one that works is sometimes smarter then trying to invent the weel again.

it doesn't seem to work.  But even if it did it depends on something from a third part and leaks data to them.  I notices your site uses coinwidget which also uses a third party.  They seem to be down at the moment so the donation button is not showing up on your site at the moment.  These are the issues I want to avoid.
Works for me and it is basically just a nice button which shows the donation address. I could remake it, but why should I? If it works 99% of the time, I am happy. And the BlockChain Donation button works. I use it on an other site.

Anyway, goodluck creating a new system, which doesn't use an API from any website. You could just paste your address but that doesn't look fancy, nor does it check if someone send a donation. To check if someone send a donation you will have to use a third party or setup your own bitcoin server.

.
Duelbits
            ▄████▄▄
          ▄█████████▄
        ▄█████████████▄
     ▄██████████████████▄
   ▄████▄▄▄█████████▄▄▄███▄
 ▄████▐▀▄▄▀▌████▐▀▄▄▀▌██

 ██████▀▀▀▀███████▀▀▀▀█████

▐████████████■▄▄▄■██████████▀
▐██████████████████████████▀
██████████████████████████▀
▀███████████████████████▀
  ▀███████████████████▀
    ▀███████████████▀
.
         ▄ ▄▄▀▀▀▀▄▄
         ▄▀▀▄      █
         █   ▀▄     █
       ▄█▄     ▀▄   █
      ▄▀ ▀▄      ▀█▀
    ▄▀     ▀█▄▄▄▀▀ ▀
  ▄▀  ▄▀  ▄▀

Live Games

   ▄▄▀▀▀▀▀▀▀▄▄
 ▄▀ ▄▄▀▀▀▀▀▄▄ ▀▄
▄▀ █ ▄  █  ▄ █ ▀▄
█ █   ▀   ▀   █ █  ▄▄▄
█ ▀▀▀▀▀▀▀▀▀▀▀▀▀ █ █   █
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█  █▄█
█ ▀▀█  ▀▀█  ▀▀█ █  █▄█

Slots
.
        ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄
        █         ▄▄  █
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄       █
█  ▄▄         █       █
█             █       █
█   ▄▀▀▄▀▀▄   █       █
█   ▀▄   ▄▀   █       █

Blackjack
|█▀▀▀▀▀█▄▄▄
       ▀████▄▄
         ██████▄
▄▄▄▄▄▄▄▄█▀    ▀▀█
████████▄        █
█████████▄        █
██████████▄     ▄██
█████████▀▀▀█▄▄████
▀▀███▀▀       ████
   █          ███
   █          █▀
▄█████▄▄▄ ▄▄▀▀
███████▀▀▀
.
                 NEW!                  
SPORTS BETTING 
|||
[ Đ ][ Ł ]
AVAILABLE NOW

Advertisements are not endorsed by me.
Fizpok
Sr. Member
****
Offline Offline

Activity: 344
Merit: 250


View Profile WWW
May 23, 2013, 04:34:59 PM
 #5

Take a look at snowcron.com
"Donate" is in the site's wish list, so if you like the way it operates, I will make it first priority (what is the bounty?)

The way it will work:
1. You register, in order to be able to enter a) your receiving bitcoin address and b) the template of a "thank you" e.mail.
2. You generate "donate" buttons.
3. When the person clicks the button, he/she is asked for an e.mail. It will be used to send a "thank you" letter. Then the user gets the "please send money to XXX address" page.
4. Upon receiving money (by you), we automatically send "thank you" e.mail.

Buttons are customizable.

As I said, so far there is no "donate", only "buy", but if you follow the "Tutorial" link from the main page, you will be able to get a pretty good idea of how it will work.


Ethereum Programming Guide
Create Solidity contracts: Step-by Step Hands-on Guides.
Silfax
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
May 24, 2013, 06:28:02 AM
 #6

Hey! I've done this at bitcointipper.appspot.com

Take a look. At the moment, it generates a single script tag that can be entered on any webpage to hold a donation widget, of two different sizes, either for BTC or LTC.

If you wanted the code to be hosted on the user's website, I could make it open-source! (for a tip)

Thanks.
amincd
Hero Member
*****
Offline Offline

Activity: 772
Merit: 501


View Profile
May 24, 2013, 07:03:55 AM
 #7

There's this tutorial on how to create a donation widget, and a working example, here:

http://leo.bogert.de/2012/02/22/simple-bitcoin-donate-button/

And another donation widget that was recently released:

http://bittip.net78.net/
akabmikua
Full Member
***
Offline Offline

Activity: 223
Merit: 100



View Profile
May 24, 2013, 09:29:07 AM
 #8

Consider CoinWidget, this is JS based, so I can easily modify it as per the needs.

I can easily make a web script/app that will give you the code to insert into webpage. I can even create a Wordpress Plugin version that can insert this widget into post/page with a shortcode.

For advance users, the web script/app can contain advance features such as custom styling and code edit, while in WP plugin version, they can use the settings to customize according to their needs.

Will this thing work for you??

BTC: 16V3WVdW1oXbgAdDHKHdvJ9Msm4CSDrigf
Always, respect. Join CEX.IO and we both get advatage.
Fizpok
Sr. Member
****
Offline Offline

Activity: 344
Merit: 250


View Profile WWW
May 27, 2013, 09:41:22 AM
 #9

Please describe what the user should see (UI flow)

Ethereum Programming Guide
Create Solidity contracts: Step-by Step Hands-on Guides.
blindfaith
Member
**
Offline Offline

Activity: 84
Merit: 10


www.coincloud.tk :)


View Profile
May 27, 2013, 09:56:30 AM
Last edit: May 27, 2013, 10:34:36 AM by blindfaith
 #10

Bitcoin:


Code:
<a href="javascript:void(0);" onclick="javascript:window.prompt ('To donate, please copy-paste my Bitcoin address to your Bitcoin software - I cannot do it automatically.\nTo copy it, right-click the selected text and select \'Copy\'.\nThen right-click the address field in your Bitcoin software and select \'Paste\'.', '[color=red]WalletAddress[/color]');">
<img src="yourURL" width="176" height="72" alt="Donate Bitcoin" />
</a>

Litecoin:


Code:
<a href="javascript:void(0);" onclick="javascript:window.prompt ('To donate, please copy-paste my Litecoin address to your Litecoin software - I cannot do it automatically.\nTo copy it, right-click the selected text and select \'Copy\'.\nThen right-click the address field in your Litecoin software and select \'Paste\'.', '[color=red]WalletAddress[/color]');">
<img src="yourURL.png" width="176" height="72" alt="Donate Litecoin" />
</a>

When Clicked:



You could also use something similar to:
Code:
[url=bitcoin:Address?=AmountToDonate]Click here to donate![/url]
which would open the Bitcoin client with the amount and address filled in, ready to send!

A Ship Is Safe In The Harbor,  But That's Not What Ships Are For | PrimeDice.com | The New Way To Roll
~ 3 BTC Raffle! Free Entry! > here! .. Also check out my own little project here & find out how to earn mBTC by chatting here ~ Smiley
akabmikua
Full Member
***
Offline Offline

Activity: 223
Merit: 100



View Profile
May 27, 2013, 10:58:49 AM
 #11

These solutions are not really what I want.  They all require a third party download, permission, linkback. etc.  I want something completely stand alone that does not depend on another site or service.  I can pay to develop the script but once I do that I want to give it away 100% free with no advertising, linkbacks, or other requirements.  Users should be able to install the script on their server so a call-back to another site is not necessary. 

Okay, I'll build one for you. Send me PM with more details and a list of features you want. I will try my best to make it.

BTC: 16V3WVdW1oXbgAdDHKHdvJ9Msm4CSDrigf
Always, respect. Join CEX.IO and we both get advatage.
Silfax
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
May 28, 2013, 11:29:38 AM
 #12

The idea behind the widget is that it also would say how many bitcoins the owner has received - and the only way to do that, short of implementing bitcoinqt in Javascript (silly idea), is to use a blockchain explorer like blockchain.info.

Otherwise it really isn't a widget. My widget at bitcointipper.appspot.com is nice and clean, and the only things it uses is a website to generate QR codes, and blockchain.info to find the current balance. Other than that, it doesn't rely on anything else (i.e. me)
graghav2010
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
May 28, 2013, 06:21:53 PM
 #13

u can have the script from the source code of page of various widgets and combine it to get what you want or use one which suits you. Script copied dis way will be valid for a particular address so one can change the address in script.
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!