coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: Ares on December 24, 2005, 06:07:46 AM

Title: Can i Change the user and pass table ????
Post by: Ares on December 24, 2005, 06:07:46 AM
I already have a sql database from another thing.. and i want to use the same login and password with the coopermine ... the problem is that im my table...
The id column is `account_id`(instead of `user_id`),
the login column is `userid` (instead of `user_name`) and
password column is `user_pass` (instead of `user_password`)....
and they are not on the `users` table.. but in the `login`table....

All other tables can be on the same place....

can i change this in the source berofe installing?? is yes.. can you help me??

Sorry for my bad english... but i need help with this....
Title: Re: Can i Change the user and pass table ????
Post by: Joachim Müller on December 24, 2005, 12:47:09 PM
you'll need to create a bridge file that fits your needs - take a look at the existing bridge files. Modifying coppermine's core code is not recommended, as you'd have to modify a lot of code and you'd be having a hard time upgrading. Create a bridge file instead, it's not that hard.
Title: Re: Can i Change the user and pass table ????
Post by: Ares on December 24, 2005, 09:48:27 PM
Sorry for doing this.. but im quite noob in this...

Can you indiccate one that should be easyer for the things that  i want to do ??

And how can i start to use that bridge???

I tried to change some bridges that was already done... but all the time.. the login page comes off
Title: Re: Can i Change the user and pass table ????
Post by: Nibbler on December 24, 2005, 10:43:02 PM
I'll see if I can make a demo bridge file for you.
Title: Re: Can i Change the user and pass table ????
Post by: Ares on December 24, 2005, 10:56:27 PM
Maaan.. if you can do this for me ill save my job for the next 2 months at least ^^
Title: Re: Can i Change the user and pass table ????
Post by: Ares on December 26, 2005, 05:19:32 PM
Do you need some additional information to do this???

If you need anything just post.. and ill send the information...