Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Integrating CPG with existing user database  (Read 3389 times)

0 Members and 1 Guest are viewing this topic.

Mouth

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 5
    • Netrider
Integrating CPG with existing user database
« on: May 22, 2005, 02:58:59 pm »

Hi,

My website has an existing user database, for which users pay a small processing fee (essentially to make sure they are real) to become a member. I want to integrate CPG with that user database, so that logins refer to this database. I have set the config option "Allow new user registrations" to No, as a first start and am starting to review the code. Can anyone provide any pointers or links if this has been done before? Thx.
Logged

pulz

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: Integrating CPG with existing user database
« Reply #1 on: May 22, 2005, 03:48:02 pm »

Your post is very unclear about the kind of database you are currently using.

I would suggest search the board and read the forum part about bridging

http://forum.coppermine-gallery.net/index.php?board=24.0

By the way coppermine also got a system for confirming real submissions by sending confirmation code emails.

(Perhaps a mod can move this to the bridging section)
« Last Edit: May 22, 2005, 03:54:51 pm by pulz »
Logged
Don't ask me: Can you do this .... or Give me that...or I need Quick help in PM's. I'm not Santaclaus so post your questions on the board so it will be in the benefit for everyone.

Mouth

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 5
    • Netrider
Re: Integrating CPG with existing user database
« Reply #2 on: May 22, 2005, 04:19:12 pm »

Thanks, been through the bridging and it all seems related to integrating with forums or portals sich as phpBB, SMF, vbulletin, etc.

It's a simple table called "members" with id, email, password, etc.

I would like CPG to use this table, for user id, email address, password, etc. and it's own user table for the additional info. Thx
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Integrating CPG with existing user database
« Reply #3 on: May 22, 2005, 04:26:37 pm »

You have to write your own custom bridge file for it, or post a request in the freelancers/paid board.  Make sure to state how much you are willing to pay for that service.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Mouth

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 5
    • Netrider
Re: Integrating CPG with existing user database
« Reply #4 on: May 22, 2005, 04:31:59 pm »

You have to write your own custom bridge file for it, or post a request in the freelancers/paid board.  Make sure to state how much you are willing to pay for that service.
I'll do it myself, if it comes to that. I was merely trying not to re-invent the wheel if someone had already done something similiar or of there was some doco that described/highlighted the sections of code around logons, cookies, logged-on checks etc. I guess by your response teh answer to my query is that no-one has done it before and no doco is available. Thx.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Integrating CPG with existing user database
« Reply #5 on: May 22, 2005, 04:58:24 pm »

Every system is different, so there really isn't a standard way to go about it.  Sounds like you just have a user table and no login system with cookies that have to be taken into account, so it should be fairly straightforward to just pull from your table instead of the Coppermine usertable.

The dev team has made a bunch of bridge files for the more popular BBS apps, but we don't really do much for specific, one off systems.  Feel free to pull code from a bridge that gives you the most help.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 14 queries.