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: q- about comments  (Read 2449 times)

0 Members and 1 Guest are viewing this topic.

nadavse

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
q- about comments
« on: May 20, 2006, 02:35:41 pm »

Hello!
When non-registerd users want to add a comment to a picture, they enter just their first name and their comment.
I want them to enter one more detail about them-selves. For example age etc.
Can you please help me about how to create such a extra field?
Thanks
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: q- about comments
« Reply #1 on: May 20, 2006, 03:53:58 pm »

creating such a field to show up in the html output of the page is easy, the hard thing is: where is it suppossed to be stored? You'd have to come up with another database field. This is easier said then done, as it would require a lot of code modifications in many places. I rather suggest disallowing anonymous comments entirely.
Logged

nadavse

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: q- about comments
« Reply #2 on: May 20, 2006, 04:32:55 pm »

Hi,
Is it possible to add a field like "age"? but, no new database field will be added. The age number will be added as 23 (for axample) to the name. Therefore "Jhon White" age of "23" will appear at the name field at the data base as" Jhon White - 23".
If it's possible, please tell me how to do it.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: q- about comments
« Reply #3 on: May 21, 2006, 11:02:43 am »

possible if you code it.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.