Pages:
Author

Topic: Looking for WordPress plugin (or someone to write one) (Read 5643 times)

legendary
Activity: 1031
Merit: 1000
Yup, I just confirmed that all payments smaller than 0.001 BTC are just waiting and they are included in forward after the balance reaches 0.001 BTC.

It would be great if we could upload an Armory watching-only wallet and then tip addresses would be pulled from that pool of addresses.

In this case, instead of relying on the Blockchain.com API, where the service is known to go down from time to time, is to instead have the plugin author include the ability to upload an Armory watch-only wallet  and then draw from that pool of public keys each time a post needs a new bitcoin address.

This would remove the centralized point of failure, increase the privacy of the tip sender and receiver because the information would not be going through Blockchain's server, decrease miner fees and retain the same level of security because the Armory wallet could be stored by the tip receiver in offline cold storage.
newbie
Activity: 30
Merit: 0
I saw this talk as well considering adding some of these features to the Bitcoin plugin we released for WordPress .
hero member
Activity: 616
Merit: 522
I just published a new version with all the initial features that I felt were required to publicly announce the plugin. The new stuff is: collecting data about received tips, displaying simple stats in tipping widget, email notifications of received tips.

I created a dedicated thread for the plugin to start the discussion over: https://bitcointalksearch.org/topic/i-made-a-wordpress-plugin-to-receive-bitcoin-tips-from-your-blog-readers-237624
hero member
Activity: 616
Merit: 522
I'm knee-deep in work so this will have to wait until the weekend. Don't worry.
hero member
Activity: 742
Merit: 500
Any updates or should I set aside some time to start coding?
hero member
Activity: 742
Merit: 500
I didn't put it on GitHub as I read that Wordpress hosts all plugins from their directory in their svn and I think it's required if you want the plugin to be easily upgrade'able within Wordpress - so not sure if I want to manage the code in two repositories at the same time.

I plan to sit on this on Monday evening, finish some features and publish to the plugins directory.

Cool, glad to hear you're still around! I wasn't aware of the WordPress SVN thing, that's good to know (even though I despise SVN). Mostly I'm just glad to know you're still around, I was beginning to think you'd bailed and I was going to have to learn WordPress programming myself Tongue
hero member
Activity: 616
Merit: 522
I didn't put it on GitHub as I read that Wordpress hosts all plugins from their directory in their svn and I think it's required if you want the plugin to be easily upgrade'able within Wordpress - so not sure if I want to manage the code in two repositories at the same time.

I plan to sit on this on Monday evening, finish some features and publish to the plugins directory.
hero member
Activity: 742
Merit: 500
If I don't hear anything soon I'll put this up on GitHub and start working on it myself - not that I have the time, but I feel like it's an important project so I'll make the time.
hero member
Activity: 742
Merit: 500
Hey Terk, just wondering if there were any updates on this, maybe a wall you've run into we can help you through or something?
hero member
Activity: 742
Merit: 500
Can we add a custom address option to the feature list? Someone on Reddit made the point that since so many people aggregate Bitcoin content it would be cool if they could put in the author's tip address when they aggregate. It could also be useful for people who roll their own solutions on the BTC side etc. It would also be useful to be able to simply disable the widget on a post-by-post basis.
hero member
Activity: 742
Merit: 500
BTW Terk, did you ever get ahold of blockchain.info about your banned domain or whatever? I have a contact or two over there I could ping for you if you need it.

Actually I just found that it's an issue with my hosting provider who blocks anonymous proxies and foreign VPS services. They have resolved it just minutes ago so I can now implement the callback.

I also just noticed that blockchain.info has a callback url in their payments API that could be used to populate donation information instead of relying on a cron job, although I think I'd prefer to use both methods in case something goes wrong with the callback, at least I'd have good stats updated every n minutes/hours/days.

Blockchain.info expects the callback to return acknowledgement that notification was processed correctly. If it doesn't get that ack, it will repeat firing the callback at some interval until it gets expected response (or until it tries so many times that it puts your domain into a blacklist). So in theory that should work well even if you have temporary problems with your website.

I think not everyone has access to cron in their hosting environment and not everyone knows how to put something in cron. I think that since Blockchain.info repeats firing the callback if there's something wrong on your side, it should probably be enough to rely just on that callback. I may add additional checking by cron if there will be reports that stats are not always reliable.

Didn't know they repeated the callback, that should be adequate then. For the record, though, WordPress has a pseudo-cron built in since they expect that not everyone will have access to cron. It fires at intervals but can only fire on a page load.
hero member
Activity: 616
Merit: 522
BTW Terk, did you ever get ahold of blockchain.info about your banned domain or whatever? I have a contact or two over there I could ping for you if you need it.

Actually I just found that it's an issue with my hosting provider who blocks anonymous proxies and foreign VPS services. They have resolved it just minutes ago so I can now implement the callback.

I also just noticed that blockchain.info has a callback url in their payments API that could be used to populate donation information instead of relying on a cron job, although I think I'd prefer to use both methods in case something goes wrong with the callback, at least I'd have good stats updated every n minutes/hours/days.

Blockchain.info expects the callback to return acknowledgement that notification was processed correctly. If it doesn't get that ack, it will repeat firing the callback at some interval until it gets expected response (or until it tries so many times that it puts your domain into a blacklist). So in theory that should work well even if you have temporary problems with your website.

I think not everyone has access to cron in their hosting environment and not everyone knows how to put something in cron. I think that since Blockchain.info repeats firing the callback if there's something wrong on your side, it should probably be enough to rely just on that callback. I may add additional checking by cron if there will be reports that stats are not always reliable.
hero member
Activity: 742
Merit: 500
BTW Terk, did you ever get ahold of blockchain.info about your banned domain or whatever? I have a contact or two over there I could ping for you if you need it.
hero member
Activity: 742
Merit: 500
Yup, I just confirmed that all payments smaller than 0.001 BTC are just waiting and they are included in forward after the balance reaches 0.001 BTC.

Good to know, I'll go update my article. Thanks!

I also just noticed that blockchain.info has a callback url in their payments API that could be used to populate donation information instead of relying on a cron job, although I think I'd prefer to use both methods in case something goes wrong with the callback, at least I'd have good stats updated every n minutes/hours/days.
hero member
Activity: 616
Merit: 522
Yup, I just confirmed that all payments smaller than 0.001 BTC are just waiting and they are included in forward after the balance reaches 0.001 BTC.
hero member
Activity: 616
Merit: 522
Found a problem. The blockchain.info payments API won't forward any amount less than 0.001BTC, currently worth about 13 cents. I know this because someone tried to donate 0.00015384 BTC to me, worth about 2 cents. I'm not such a broke blogger that I care about 2 pennies, but I don't like that blockchain.info is apparently microtransaction hostile. Time to go email Ben  Grin

I think it's just being held until the balance to forward reaches 0.001 BTC or more, so nothing's lost.

Keep in mind that blockchain.info provides this service for free. It requires not only computing power to constantly monitor millions of addresses and forward all incoming money. They also pay fees for forwarding transaction. So each forward cost them 0.0001 BTC, and you get that for free.
hero member
Activity: 742
Merit: 500
Found a problem. The blockchain.info payments API won't forward any amount less than 0.001BTC, currently worth about 13 cents. I know this because someone tried to donate 0.00015384 BTC to me, worth about 2 cents. I'm not such a broke blogger that I care about 2 pennies, but I don't like that blockchain.info is apparently microtransaction hostile. Time to go email Ben  Grin
edd
donator
Activity: 1414
Merit: 1002
I'd love a "Donate" or "Tip" button that, when clicked, caused the existing btc address and QR code to pop up. As it is, it takes up a lot of space.
hero member
Activity: 742
Merit: 500
Thank both of you!

Yup, I figured that I should use as much standard Wordpress features as possible and not reinvent the wheel. wp_postmeta seems perfect for storing post addresses.

I think I'll create a new data structure for storing info about collected tips, so that it would be easily sortable/filterable by time, easy to make sums, averages, etc. Meta data won't give much flexibility here.

Assuming you already know the blockchain API it shouldn't be too hard to pull the # and btc amount of tips and add those to wp_postmeta too, right? Toss something like that in wpcron? This is all coming together so much faster and easier than I thought it would  Grin
hero member
Activity: 616
Merit: 522
Thank both of you!

Yup, I figured that I should use as much standard Wordpress features as possible and not reinvent the wheel. wp_postmeta seems perfect for storing post addresses.

I think I'll create a new data structure for storing info about collected tips, so that it would be easily sortable/filterable by time, easy to make sums, averages, etc. Meta data won't give much flexibility here.
Pages:
Jump to: