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] 2 3 4   Go Down

Author Topic: Keywords add. Add keywords and modify Custom fields for image description  (Read 132459 times)

0 Members and 2 Guests are viewing this topic.

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie

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)
« Last Edit: July 14, 2008, 08:10:34 am by François Keller »
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1427
  • aka "Lontano"
    • www.daviderenda.eu

great work Frantz  ;)
italian translation attached

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie

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
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website

Frantz,

Yo Man  ;D
Nice Job !
Maybe in cpg 1.5 ? wish !

PYAP
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl

Frantz,

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

Code: [Select]
  'config_title'    => 'Configure Final Extract', // Title of the button on the gallery config menuShouldn't that be "Configure Keywords" ??

Cheers!
Hein
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie

Hein,

You're right, but this line is not used in this plugin (I've forgotten to delete it  :-\)
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl

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
Code: [Select]
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
« Last Edit: November 20, 2006, 01:21:38 pm by Hein »
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl

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

Solved the empty Submit button problem.
In english.php find
Code: [Select]
$lang_plugin_keywors_add_config = array(and change into
Code: [Select]
$lang_plugin_keywords_add_config = array(
Updated dutch.php in previous post.

Cheers!
Hein
« Last Edit: November 20, 2006, 01:08:40 pm by Hein »
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie

Thank's Hein,
the original pack will be corrected soon
Quote
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 ?
the plugin display the personalized fields if you gave them a name in the config
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl

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
« Last Edit: November 20, 2006, 01:53:09 pm by Hein »
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Keywords add. Add keywords and modify Custom fields for image description
« Reply #10 on: November 20, 2006, 08:51:08 pm »

Quote
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 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)
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Keywords add. Add keywords and modify Custom fields for image description
« Reply #11 on: November 20, 2006, 09:50:14 pm »

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
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Keywords add. Add keywords and modify Custom fields for image description
« Reply #12 on: November 20, 2006, 10:08:17 pm »

Hein,
Original pack updated with Dutch language file, others little bugs corrected, Thank's
Logged
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

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 189
    • Velvet Photos
Re: Keywords add. Add keywords and modify Custom fields for image description
« Reply #13 on: February 13, 2007, 10:14:00 pm »

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
« Last Edit: February 16, 2007, 09:49:05 pm by AlexL »
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Keywords add. Add keywords and modify Custom fields for image description
« Reply #14 on: February 14, 2007, 07:03:17 am »

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  ;)
« Last Edit: February 14, 2007, 08:57:07 pm by Frantz »
Logged
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

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 189
    • Velvet Photos
Re: Keywords add. Add keywords and modify Custom fields for image description
« Reply #15 on: February 14, 2007, 03:43:18 pm »

Hello Frantz

Quote
In 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.
« Last Edit: February 15, 2007, 12:33:17 pm by AlexL »
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Keywords add. Add keywords and modify Custom fields for image description
« Reply #16 on: February 14, 2007, 08:59:38 pm »

Quote
For example to do the little job
:D :D :D
I'll see what i can do this week end.
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Keywords add. Add keywords and modify Custom fields for image description
« Reply #17 on: February 17, 2007, 12:57:26 pm »

@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)
« Last Edit: February 19, 2007, 09:55:01 am by Frantz »
Logged
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

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 189
    • Velvet Photos
Re: Keywords add. Add keywords and modify Custom fields for image description
« Reply #18 on: February 17, 2007, 05:24:13 pm »

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
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Keywords add. Add keywords and modify Custom fields for image description
« Reply #19 on: February 17, 2007, 05:57:20 pm »

Quote
You 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.
Quote
enlarged german.php attached
added in the pack (version 1.1)
Logged
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
Pages: [1] 2 3 4   Go Up
 

Page created in 0.024 seconds with 19 queries.