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: Can i Change the user and pass table ????  (Read 4326 times)

0 Members and 1 Guest are viewing this topic.

Ares

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Can i Change the user and pass table ????
« 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....
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Can i Change the user and pass table ????
« Reply #1 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.
Logged

Ares

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Can i Change the user and pass table ????
« Reply #2 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
« Last Edit: December 24, 2005, 10:14:51 pm by Ares »
Logged

Nibbler

  • Guest
Re: Can i Change the user and pass table ????
« Reply #3 on: December 24, 2005, 10:43:02 pm »

I'll see if I can make a demo bridge file for you.
Logged

Ares

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Can i Change the user and pass table ????
« Reply #4 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 ^^
Logged

Ares

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Can i Change the user and pass table ????
« Reply #5 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...
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.