Integrating CPG with existing user database Integrating CPG with existing user database
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Integrating CPG with existing user database

Started by Mouth, May 22, 2005, 02:58:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mouth

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.

pulz

#1
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)
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

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

kegobeer

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.
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

Quote from: kegobeer 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.
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.

kegobeer

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.
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