Advanced search  

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

Pages: [1]   Go Down

Author Topic: Adding to database  (Read 3298 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.021 seconds with 19 queries.