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: Adding to database  (Read 2819 times)

0 Members and 1 Guest are viewing this topic.

Hamsterpants

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • My Staffie.com
Adding to database
« on: July 22, 2005, 12:18:36 pm »

Hi All,

Quick question. I want to add a new field "birthday" to the user info, is it ok just to add it to the user table or should I rather store custom info like that in a new table?

Thanks
Dill
« Last Edit: July 25, 2005, 07:52:27 am by GauGau »
Logged
Dillon Weyer
dill@mystaffie.com

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Adding to database
« Reply #1 on: July 24, 2005, 09:02:17 am »

I guess it's OK to store it into the existing table, although you'll have to add custom code as well, which will make upgrading hard. As far as I remember, cpg1.4.1 (beta, unsupported) has more custom user fields that could be used for this purpose.
Logged

Hamsterpants

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • My Staffie.com
Re: Adding to database
« Reply #2 on: July 24, 2005, 11:38:06 am »

Maybee I will justw ait for that version to be realsed.

Cool thanks for your reply.

Dill
Logged
Dillon Weyer
dill@mystaffie.com
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.