q- about comments q- about comments
 

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

Main Menu

q- about comments

Started by nadavse, May 20, 2006, 02:35:41 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

nadavse

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

Joachim Müller

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.

nadavse

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.

Joachim Müller

possible if you code it.