Bitcoin Forum
December 05, 2016, 02:30:31 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: My PHP5 and Drupal Bitcoin APIs (beta)  (Read 3417 times)
m0Ray
Sr. Member
****
Offline Offline

Activity: 364



View Profile
January 17, 2011, 11:51:43 PM
 #1

Developed these packages for my projects. May be useful for community.

BitcoinShop can be found on phpclasses. It is a collection of PHP5 classes made for (primarily) online shops, social networks and auctions dealing with bitcoin. Controls bitcoind using JSON-RPC and uses accounts API.

Bitcoin module for Drupal is built on top of these classes and has flexible enough (I hope) settings and security restrictions. Can manage account address book, show transactions a make payments. Payments to local users are forced to be local (using move instead of sendfrom) when possible. Users are not forced to have bitcoin account.
This module will be uploaded to Drupal site after thorough testing.

Bug reports, optimization advices and feature requests are welcome.

IT-услуги широкого профиля за биткойн.
V for Vendetta, not for «vvhite ribbon»
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
dduane
Jr. Member
*
Offline Offline

Activity: 47



View Profile WWW
January 23, 2011, 01:28:56 AM
 #2

Wow, very cool.   Do you have CVS access on Drupal? 

Also, I've created a Bitcoin Address field type for CCK, hope you can use this.  See http://github.com/DarrellDuane/btc-address

I've created a Bitcoin group at  groups.drupal.org but they haven't approved it yet.

Will you be at DrupalCon Chicago?  I will have a Bitcoin BOF there. 

--Darrell
LZ
Staff
Legendary
*
Offline Offline

Activity: 1456


Satoshi everywhere!


View Profile WWW
January 23, 2011, 02:54:36 AM
 #3

You look almost identical on your photos, guys. Smiley

"Never invest unless you can afford to lose your entire investment." © S3052
Anonymous
Guest

January 23, 2011, 03:15:06 AM
 #4

You look almost identical on your photos, guys. Smiley

lol.

m0Ray
Sr. Member
****
Offline Offline

Activity: 364



View Profile
January 23, 2011, 06:35:35 AM
 #5

Wow, very cool.   Do you have CVS access on Drupal? 
No. I applied for it, but they don't like that fact I use my own classes there...

Will you be at DrupalCon Chicago?  I will have a Bitcoin BOF there. 
Don't think so. Too far, too expensive for me. The other side of the world...

You look almost identical on your photos, guys. Smiley
How can open source programmer live without a beard? Wink

IT-услуги широкого профиля за биткойн.
V for Vendetta, not for «vvhite ribbon»
dduane
Jr. Member
*
Offline Offline

Activity: 47



View Profile WWW
January 28, 2011, 04:33:36 AM
 #6

ya, beards are important for FOSS! 

I'd suggest you see what I did with the btc_address module regarding the issue about including classes. 


Also, have you seen mikegogulski's PHP class for bitcoin?  How does it compare to yours?  it'd be great if we could standardize on one library,
and also standardize on one bitcoin module that loads that library, and then for other bitcoin modules, just make them dependent on that module.

btc_address does load the PHP Bitcoin class

dduane
Jr. Member
*
Offline Offline

Activity: 47



View Profile WWW
February 19, 2011, 01:05:45 AM
 #7


I've started a Drupal/Bitcoin thread at groups.drupal.org, please join us if interested:

http://groups.drupal.org/node/128389
tedstein
Newbie
*
Offline Offline

Activity: 10


View Profile
February 19, 2011, 07:11:38 AM
 #8

No. I applied for it, but they don't like that fact I use my own classes there...

Can you explain this? And post a link to your CVS application so that I can comment on it? I want this on drupal.org.

Thanks for the module. I am happy to help with testing and any work that may need to be done on it.
tedstein
Newbie
*
Offline Offline

Activity: 10


View Profile
February 19, 2011, 07:13:13 AM
 #9

MoRay,

Are you OK with posting the source code on github so that we can work on it collaboratively, have an issue queue, etc?
m0Ray
Sr. Member
****
Offline Offline

Activity: 364



View Profile
February 19, 2011, 04:42:48 PM
 #10

Yes, but maybe I have to split the code into two repositories: general purpose classes and Drupal module.
What do you think?

IT-услуги широкого профиля за биткойн.
V for Vendetta, not for «vvhite ribbon»
m0Ray
Sr. Member
****
Offline Offline

Activity: 364



View Profile
February 19, 2011, 07:36:06 PM
 #11

General purpose classes are now published here: https://github.com/m0Ray/bitcoin_account

IT-услуги широкого профиля за биткойн.
V for Vendetta, not for «vvhite ribbon»
Satori
Jr. Member
*
Offline Offline

Activity: 51



View Profile
January 17, 2012, 10:21:55 PM
 #12

Documentation would be good.

Installed the BitCoin module, but hadn't realized there were Classes to install as well.

Where do they like to live?  PHP folder?  Somewhere in Drupal?

The Wolfpack Project: BitCoin + Crowdfunding = Political Accountability
btc_artist
Full Member
***
Offline Offline

Activity: 154


Bitcoin!


View Profile WWW
January 19, 2012, 03:00:24 PM
 #13

General purpose classes are now published here: https://github.com/m0Ray/bitcoin_account
That's the same as what you had posted to PHPClasses, right?

Also, thanks, I'll be taking a look at it.  Hopefully it can be a collaborative effort to make a canonical PHP Bitcoin library that can be universally reused.

BTC: 1CDCLDBHbAzHyYUkk1wYHPYmrtDZNhk8zf
LTC: LMS7SqZJnqzxo76iDSEua33WCyYZdjaQoE
Ferroh
Full Member
***
Offline Offline

Activity: 141



View Profile WWW
January 20, 2012, 06:53:40 PM
 #14

You use one space indentation? Huh
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!