Bitcoin Forum
November 20, 2017, 10:11:04 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [ANN] MyBB mod: Credit From Coins - Buy forum points with BTC  (Read 6708 times)
weex
Legendary
*
Offline Offline

Activity: 1105


Give me your tired, your poor, your huddled...


View Profile
February 08, 2013, 05:43:12 AM
 #1

Hello,

Many forums have points, gold, nakamotos, whatever. They can be awarded for good forum behavior. They are sometimes sold to support the site. These points can confer benefits like badges, access to elite sub-forums, and more. Virtually all of these points systems that allow purchase have mods that let users pay with PayPal, but I found zero (0) that do the same for Bitcoin.

So as a small experiment, I set about converting one of these mods to work with Bitcoin. I wanted the mod to be simple to setup so integrated with the Blockchain.info API for accepting and forwarding payments. The plus is the forum admin doesn't have to run bitcoind. They must only supply one of their addresses so Blockchain.info can forward payments on. They can change this address any time from the plugin's settings to control the forum's financial privacy. Or they can publicize the address to show just how loving their members are. The drawback is they're dependent on Blockchain.info to properly report and forward payments.



The plugin I chose to modify, enables some sample package sizes to be offered so you can set that as well as a points to btc exchange rate in the plugin's settings. You can also set the name of your points and tell it which field in the `users` table of MyBB to increment. Anyway, you can get it here:

http://www.davidsterry.com/Credit%20From%20Coins.latest.zip

and the github is here if you want to contribute:

https://github.com/weex/mybb-credit-from-coins

Thanks for checking it out!


1511172664
Hero Member
*
Offline Offline

Posts: 1511172664

View Profile Personal Message (Offline)

Ignore
1511172664
Reply with quote  #2

1511172664
Report to moderator
1511172664
Hero Member
*
Offline Offline

Posts: 1511172664

View Profile Personal Message (Offline)

Ignore
1511172664
Reply with quote  #2

1511172664
Report to moderator
Join ICO Now A blockchain platform for effective freelancing
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511172664
Hero Member
*
Offline Offline

Posts: 1511172664

View Profile Personal Message (Offline)

Ignore
1511172664
Reply with quote  #2

1511172664
Report to moderator
1511172664
Hero Member
*
Offline Offline

Posts: 1511172664

View Profile Personal Message (Offline)

Ignore
1511172664
Reply with quote  #2

1511172664
Report to moderator
1511172664
Hero Member
*
Offline Offline

Posts: 1511172664

View Profile Personal Message (Offline)

Ignore
1511172664
Reply with quote  #2

1511172664
Report to moderator
Bit_Happy
Legendary
*
Offline Offline

Activity: 1638


A Great Time to Start Something!


View Profile
February 08, 2013, 07:04:50 AM
 #2

Great project! MyBB is the best Open Source forum, imo.
Can the admins' address be any BTC address or does it have to be a wallet at blockchain.info?

Will download and test soon, thanks.

weex
Legendary
*
Offline Offline

Activity: 1105


Give me your tired, your poor, your huddled...


View Profile
February 08, 2013, 07:15:55 AM
 #3

Can the admins' address be any BTC address or does it have to be a wallet at blockchain.info?

Any BTC address at all.

Sukrim
Legendary
*
Offline Offline

Activity: 2184


View Profile
February 08, 2013, 05:01:12 PM
 #4

As I get it - you tell blockchain.info an address where they should forward all payments and the users just get one-time addresses from blockchain.info so they can be distinguished from each other. Right?
Why not use BIP32 instead? This would also create a LOT of unique addresses, but you can keep the main key to yourself (even offline).

Also a bitcoin URI might be nice for people with desktop clients additionally to that QR code.

Is it possible to withdraw as well, or is this rather a one way money sink?

https://bitfinex.com <-- leveraged trading of BTCUSD, LTCUSD and LTCBTC (long and short) - 10% discount on fees for the first 30 days with this refcode: x5K9YtL3Zb
Mail me at Bitmessage: BM-BbiHiVv5qh858ULsyRDtpRrG9WjXN3xf
btharper
Sr. Member
****
Offline Offline

Activity: 389



View Profile
February 08, 2013, 05:59:44 PM
 #5

First off, this is an awesome looking project weex. Thanks.

As I get it - you tell blockchain.info an address where they should forward all payments and the users just get one-time addresses from blockchain.info so they can be distinguished from each other. Right?
Why not use BIP32 instead? This would also create a LOT of unique addresses, but you can keep the main key to yourself (even offline).

Also a bitcoin URI might be nice for people with desktop clients additionally to that QR code.

Is it possible to withdraw as well, or is this rather a one way money sink?
+1 for BIP 32, this would be a great use case for BIP 32 and a great place to show it off (both of these are also true for any website that needs any real speed generating keys without trusting the server with the private key).

https://en.bitcoin.it/wiki/BIP_0032 - Short version: Using math to generate keys in a deterministic fashion. More private or public keys can be generated from an extended private key, and more public keys can be generated from an extended public key. The server can make new addresses on the fly without any sensitive information.

I would assume this would usually be one-way, though bi-directional exchange would be an interesting way to reward people, although a certain exchange rate would have to be picked and may need to be changed each time someone withdrawals. And since forum points are usually unlimited while money is not it may be hard to balance.
weex
Legendary
*
Offline Offline

Activity: 1105


Give me your tired, your poor, your huddled...


View Profile
February 08, 2013, 09:28:18 PM
 #6

As I get it - you tell blockchain.info an address where they should forward all payments and the users just get one-time addresses from blockchain.info so they can be distinguished from each other. Right?
Mostly. The different addresses are more so the site has control over their privacy. Blockchain.info's API actually calls back with the userid once payment is seen to the address but yes Blockchain.info uses the address to know what to send in the callback.

Why not use BIP32 instead? This would also create a LOT of unique addresses, but you can keep the main key to yourself (even offline).

Also a bitcoin URI might be nice for people with desktop clients additionally to that QR code.

Is it possible to withdraw as well, or is this rather a one way money sink?
BIP32 is a great idea and I am aware of that protocol. For this initial mod, I wanted something simple to code but more importantly simple for the forum admin to setup.

What is the simplest way for someone to get a BIP32 key? Is this going in bitcoin-qt/bitcoind in the foreseeable future?

Sukrim
Legendary
*
Offline Offline

Activity: 2184


View Profile
February 08, 2013, 10:03:20 PM
 #7

Afaik the only client supporting BIP32 currently is Electrum. I didn't do too much research though.

https://bitfinex.com <-- leveraged trading of BTCUSD, LTCUSD and LTCBTC (long and short) - 10% discount on fees for the first 30 days with this refcode: x5K9YtL3Zb
Mail me at Bitmessage: BM-BbiHiVv5qh858ULsyRDtpRrG9WjXN3xf
Bit_Happy
Legendary
*
Offline Offline

Activity: 1638


A Great Time to Start Something!


View Profile
January 13, 2014, 03:30:11 AM
 #8

Just rediscovered this and will use it soon, thank you.

kezzyp
Jr. Member
*
Offline Offline

Activity: 56

Get down on your knees and pray!!!


View Profile
January 15, 2014, 09:04:55 PM
 #9

This is good, and creative!

BTC: 1Njn6zsPbvAXsfwMdvgn7Ytb8r9tv1Fy6
Dogecoin: D6Hk6Nb9TPseraGqknU2zZBV7EA3ECyQMY
DOGE! DOGE!! DOGE!!!--->>TO THE MOOOON!!!!

No one is wisest, no one is perfect, we all trying to succeed, if you think you got enough and own all you need this world then Die/leave the world let others continue.
No pain, No gain.
I am a game changer donate to me i ll keep ya updated, ya maybe!!!
weex
Legendary
*
Offline Offline

Activity: 1105


Give me your tired, your poor, your huddled...


View Profile
February 14, 2014, 01:51:22 AM
 #10

Thinking of updating this to use Coinbase and possibly gocoin. Anybody using this?

Bit_Happy
Legendary
*
Offline Offline

Activity: 1638


A Great Time to Start Something!


View Profile
March 29, 2014, 07:57:35 PM
 #11

Thinking of updating this to use Coinbase and possibly gocoin. Anybody using this?
I have it on a dev project and expecting to use it live.
MyBB is a great forum, thanks for making this.

blockchain.info vs Coinbase API?
Any chance you could have a primary and a secondary, so if blockchain.info is down then another option is there?
Thanks again.

b1naryn1ghtmar3
Newbie
*
Offline Offline

Activity: 21

Tha Pussy Flikka


View Profile
August 30, 2016, 09:50:12 AM
 #12

@weex
Thinking of updating this to use Coinbase and possibly gocoin. Anybody using this?

PLEASE update this. i would even give you some coin to do so. I KNOW this is grave digging at its finest but this would be badass!

https://billing.seedboxes.co/aff.php?aff=728
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!