specify keyword delimiter specify keyword delimiter
 

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

specify keyword delimiter

Started by Joachim Müller, October 26, 2003, 12:01:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Joachim Müller

Currently, the keywords can only be separated by spaces. In a future version I'd like to have the option to specify the keyword delimiter in the config page.
There has been a discussion on this on the old board, please refer to http://coppermine.sourceforge.net/oldboard/viewtopic.php?t=1914
Please also take into account the "umlauts" problem.

Anyone of the dev team wants to volunteer on this issue?

GauGau

Tarique Sani

Err... future version <> 1.2.0 OR I am worng?
SANIsoft PHP applications for E Biz

Joachim Müller

hehe, any dev version is fine by me;
I was just trying to clarify that this won't go into the cpg1.2.0Final :wink:

GauGau

Joachim Müller

just to get an idea: I've already included the hack from the old board into my existing install, but there's a problem with the Umlauts - see http://www.gaugau.de/galerie/displayimage.php?pos=-3422 as an example (look at the keyword section)...

GauGau

Tarique Sani

OK I will look into this sometime next week...

P.S. Wife looked over the shoulder and wants to know the mystery behind the word "Gaugau"
SANIsoft PHP applications for E Biz

Tarique Sani

Quote from: "gaugau"just to get an idea: I've already included the hack from the old board into my existing install, but there's a problem with the Umlauts

Line 248 the regex /(\S+)/  - what did you replace that with?
SANIsoft PHP applications for E Biz

Joachim Müller

currently, the regex is        $info[$lang_picinfo['Keywords']]   = '<span class="alblink">'.preg_replace("/(\w+)/","<a href=\"thumbnails.php?album=search&search=\\1\">\\1</a>" , $CURRENT_PIC_DATA['keywords']).'</span>';

@Swati: "GauGau" is my nickname - it's pronounced like "gow gow" (like "cow", only with "g"). My "realname" is "Joachim", which is a common German name, often nicknamed "jojo" (hear pronounciation). This has changed (during school) over "jaujau" to "gaugau" (I didn't choose this name!). First I wasn't to happy with this nickname, but people hardly know me by my realname, so I got used to it (see this in detail on the German page http://gaugau.de/specials/faq/gaugau.htm )

GauGau