Modifications of file description Modifications of file description
 

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]

Main Menu

Modifications of file description

Started by gos1, April 04, 2007, 04:01:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gos1

Hi 
  I made a research in the database fields and find out that _picture --> keywords table is the one showing in the image descriptions. Is it possible for me to change it to _picture --> key 
I mean I want to use some other field in the same table to be shown in image descriptions...

Joachim Müller


gos1

I will code it but I cannot find where the database field names etc are :And where the script insertsthe data in the _pictures table ?

gos1

#3
I found the file it is picmgmt.php but now I could not understand what the script is doing in these codes :
       $keywords=str_replace(chr(138), chr(228), $keywords);

$keywords=str_replace(chr(140), chr(229), $keywords);

Sami

what version of CPG you are using ?
there isn't any picmgmt.php on 1.4.10 instead we have picmgmt.inc.php and actually there isn't such code exist !!!
‍I don't answer to PM with support question
Please post your issue to related board

gos1

sorry I wrote the filename wrong it is pcmgmt.inc.php

Joachim Müller

You mis-spelled the name again, please be more carefull when composing your messages. As Sami suggested, there is no such code in our file.