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: How do I get rid of entire "File description" & "Keywords" options for uploads?  (Read 2438 times)

0 Members and 1 Guest are viewing this topic.

fuzz

  • Coppermine newbie
  • Offline Offline
  • Posts: 1

Those two are not needed for the gallery's intended purpose & will just cause headaches with users.  Is there anyway to delete them?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

in upload.php find
Code: [Select]
        array($captionLabel, 'caption', 3, $CONFIG['max_img_desc_length']),
        array($lang_upload_php['keywords'], 'keywords', 0, 255, 1),
and
Code: [Select]
    array($captionLabel, 'caption', 3, $CONFIG['max_img_desc_length'], (isset($iptc['Caption'])) ? $iptc['Caption'] : ''),
    array($lang_upload_php['keywords'], 'keywords', 0, 255, 1,(isset($iptc['Keywords'])) ? implode(' ',$iptc['Keywords']): ''),


comment it out
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 21 queries.