Adding custom comment fields.. Adding custom comment fields..
 

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

Adding custom comment fields..

Started by jjkatrina, July 09, 2005, 12:59:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jjkatrina

I am sorry to spam for help, hehe..but would anyone know of a way to edit the displayimage.php file, in the comment area so that you could:

1) Extend the "Name" field to just be a bit longer (I didn't see any number areas when i searched the code that looked like it would extend it).

2) Add an additional text box just like the Name one, but for the persons email? (I am havings people type their email in the Name box somtimes!  :P )

The closest forum thread I could find about these was http://forum.coppermine-gallery.net/index.php?topic=18217.0 - but it didn't explain how to add any aditional areas for submitting of comments!

Thank you wonderful people who work on this..I am so very lookking forward to new version of Coppermine!  :-*

jjkatrina


Joachim Müller

1) http://coppermine.sourceforge.net/faq.php#lamesupport
2) Only one question per thread!
3) To widen the name field, edit displayimage.php, find$user_name_input = '<input type="hidden" name="msg_author" value="' . USER_NAME . '">';and add a width attribute (either using html's size attribute or by using css.
4) An additional text input field to hold the email would take a lot of modifications. Instead I'd recommend to allow comments only for registered users.

jjkatrina

<salutes> will do, and thank you much for the help in this!  8)