Modifications of file description Modifications of file description
 

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

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.