Keywords add. Add keywords and modify Custom fields for image description Keywords add. Add keywords and modify Custom fields for image 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

Keywords add. Add keywords and modify Custom fields for image description

Started by François Keller, October 08, 2006, 08:19:47 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

François Keller

Hi all,

This plugin allow to add  key words for the whole pictures of an selected album in one time.
The existing keywords are not deleted
If you use Custom fields for image description, you will be able also to modify them.
For this fields, the new value replace the old if he exist. Leave blank for no change.
English and French language files are avaible. Feel free to translate in other language.
Install the plugin from the Coppermine plugin manager (on config page). A new keyword add button appears on admin menu. Click it to use the plugin.

Italian language file added (thank's Lontano)
Dutch language file added (Thank's Hein)
English language file corrected (Thank' Hein for bug report)
German language file corrected (Thank's AlexL and nointerest)
Turkish language file addes (Thank's Mywedding)
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Davide Renda

great work Frantz  ;)
italian translation attached

François Keller

Quote from: lontano on October 08, 2006, 11:13:15 PM
great work Frantz  ;)
italian translation attached
Thank's Lontano for your contribution
I'll update the plugin attached on first post with your Italian language file
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Pascal YAP


Hein Traag

Frantz,

have not translated yet but this line puzzled me a bit ;)

  'config_title'    => 'Configure Final Extract', // Title of the button on the gallery config menu
Shouldn't that be "Configure Keywords" ??

Cheers!
Hein

François Keller

Hein,

You're right, but this line is not used in this plugin (I've forgotten to delete it  :-\)
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Hein Traag

Frantz,

i attached the dutch.php file to this post.

I do get some minor errors.
The submit button stays empy, no text in , it's just a grey button.
Also i get this Select the album in which you want add information:           /> it's the /> part that does not belong there.

Also it gives two rows in which to enter info. The keywords and another box which says Leeftijd (age in english).
What is the second box used for ?

Cheers!
Hein

p.s. Updated dutch.php to resolve empty submit button

Hein Traag

I got rid of the extra /> by searching for this line in plugin_config.php
        echo '</select> &nbsp;&nbsp;&nbsp;&nbsp; /> ';
And removing the /> at the end.

Solved the empty Submit button problem.
In english.php find $lang_plugin_keywors_add_config = array(
and change into $lang_plugin_keywords_add_config = array(

Updated dutch.php in previous post.

Cheers!
Hein

François Keller

Thank's Hein,
the original pack will be corrected soon
QuoteAlso it gives two rows in which to enter info. The keywords and another box which says Leeftijd (age in english).
What is the second box used for ?
the plugin display the personalized fields if you gave them a name in the config
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Hein Traag

Quote from: Frantz on November 20, 2006, 01:24:50 PM
Thank's Hein,
the original pack will be corrected soonthe plugin display the personalized fields if you gave them a name in the config

I got a second input field right from the start without editing config for it. If i only want a field for adding keywords, what then needs to be "deleted" or commented out to prevent personalized fields to be displayed ?


Solved. The extra field came from the configuration page of CPG itself. If you entered extra fields at "Custom fields for image description (leave blank if unused)" then they appear also at the keyword adding page. My mistake.

I do have one question. I do not see a configuration button and also do not see a extra button appear. There is 'config_title' part in the lang file which suggests there is one.. or not ;). Also there is this // add admin button to start of each page and this // add config button in the codebase but i do not see the end result.

Cheers!
Hein

François Keller

QuoteI do have one question. I do not see a configuration button and also do not see a extra button appear. There is 'config_title' part in the lang file which suggests there is one.. or not Clin d'oeil. Also there is this // add admin button to start of each page and this // add config button in the codebase but i do not see the end result.
Did you not see the keyword add button on admin menu ? (see capture below)
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Hein Traag

Got it solved. I am using a slight mod to display admin menu in a dropdown menu. I redid that and now it does show keyword add (in my language).

Problems solved. Plugin is working perfect now. It's a winner.

Cheers!
Hein

François Keller

Hein,
Original pack updated with Dutch language file, others little bugs corrected, Thank's
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

AlexL

Thank's Frantz for this nice and useful plugin.

Enclosed the first shot of a german translation. I leave the description for the button on "Keywords add" because I think "Stichworte hinzufügen" is to long for a button. Furthermore I've a little problem with the translation for the plugin or with the plugin self. The most of the things to translate I've never see before - only in the language file. I've read "Configure plugin using button on Admin toolbar." But I don't find a button to configure "keywords add". The only button I've found is the button to use the plugin - not to configure this. In the PlugInsManager are no Buttons for Install or Dokumentation or Readme and so on...
I'm not sure what's wrong - the plugin or me? Maybe the german environment is the reason for that behaviour. But the PlugIn works fine - this is the most important.

And now a little request. For me the plugin ist useful for keywords - but my bigger problem is the titel and the description for the photos.
I have many photos with the same titel and description, because my gallery is for concertfotos. And therefore the titel is for example "Nick Cave" and the Description is "Berlin, Friedrichstadtpalast" for all the photos on the album. Maybe it's able to extends your plugin for this purpose? Is this a big job or a little?

Greetings AlexL

François Keller

AxelL,

Thank's for your contribution. Your file will be added to the pack asp. done
For your translation question. In this plugin, they are some things who are not used by the plugin (its a part from a copy/past from anothe plugin and some fonction are not used. I must clean up the language file  :-\)
For your second question, its not a to big job to do this. You can make it if you understant a little with php. If not i can have a look if i find time to do this  ;)
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

AlexL

Hello Frantz

QuoteIn this plugin, they are some things who are not used by the plugin

with this sentence in this forum you have explain enough. I think it's not necessary to clean up the lang files.
Everybody understand that there are things that's more importend to do in your short time.
For example to do the little job ;)
Because my php is not so well to do this self. :-[
Maybe you find the time - I'll be in your debt. And to do anything to decrease this debt I'll do some translations for your plugins.

François Keller

QuoteFor example to do the little job
:D :D :D
I'll see what i can do this week end.
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

François Keller

@AlexL

Your little job is done  ;) Try this new version from this plugin. Simply replace keywords_add folder with the attached files. Caution, they are some modifications in the language files (French and English files are modified). You must modify your language file (adding two entry: 'title' and 'description', modifying 'caution'
I hope it's what you search  ;)

German language file modified by AlexL
Dutch language file added (thank's Hein)
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

AlexL

Mega Thanks to You Frantz

enlarged german.php attached

You have to think about a new name for the PlugIn - Keywords add is to little - Info Add is my proposal

No time at this moment - test report asp

Greetings AlexL

François Keller

QuoteYou have to think about a new name for the PlugIn - Keywords add is to little - Info Add is my proposal
It's a good idea, but i'll make a few changes before giving a new plugin name.
Quoteenlarged german.php attached
added in the pack (version 1.1)
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog