forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: lordwulf on June 05, 2004, 12:48:01 am

Title: CCBill integration
Post by: lordwulf on June 05, 2004, 12:48:01 am
I am building a site using CCBill as my processor for the content and need to get the names of the username and password fields so they can do whatever it is they are trying to do.

Title: Re: CCBill integration
Post by: Joachim Müller on June 05, 2004, 03:36:15 pm
I don't know the app "CCBill", but I suggest you take a look at the current bridge files that supply integration with various bbs. You could modify one of those to work with your app.
(It'd be nice if you contributed your CCBill bridge if you succeed).

GauGau
Title: Re: CCBill integration
Post by: akuma13 on April 19, 2006, 02:42:47 pm
did you ever have any luck with this?  i am also trying to bridge some apps to ccbill:

coppermine
subdreamer
phpbb
xchat

they will all bridge to phpbb maybe the answer is solving the ccbill bridging with phpbb and having the others bridge off the BB?

J

I am building a site using CCBill as my processor for the content and need to get the names of the username and password fields so they can do whatever it is they are trying to do.


Title: Re: CCBill integration
Post by: Stramm on April 19, 2006, 03:55:31 pm
Bridging won't work cause CCBill (billing processor) uses htpasswd auth by default.
But there may be a possibility. I've never tried, just an idea...

With php you can read server variables that contain info if a user's logged in and what username/ pwd he used. Should be possible auto to log him in into coppermine with that ($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW'])

As far as I remember CCBIll offered a 'post back' cgi... search their site for more info. This you can use to create a coppermine user (you'll need some perl skills for that, how the user table looks).

Problems may arise if users sign up with the same name (different user management)