forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: nadavse on May 20, 2006, 02:35:41 pm

Title: q- about comments
Post by: nadavse 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
Title: Re: q- about comments
Post by: Joachim Müller 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.
Title: Re: q- about comments
Post by: nadavse 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.
Title: Re: q- about comments
Post by: Joachim Müller on May 21, 2006, 11:02:43 am
possible if you code it.