This is the cpg1.5.x port of the
keywords_add plugin by François Keller:
Quote from: François Keller on October 08, 2006, 08:19:47 PM
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)
Danish lang file added to the SVN (Thanks Mimer)
Danish languagefile for Keywords add plugin.
I've noticed this in the English languagefile line 22:
'config_title' => 'Configure Final Extract', // Title of the button on the gallery config menu
I guess it should be:
'config_title' => 'Configure Keywords Add', // Title of the button on the gallery config menu
Thanks Mimer for your translation, i'll add this in the pack and will look at the "problem" in the english lang file...
It's a great plugin, but it doesn't remove the old keywords, it just adds to the existing keywords.
The Title and Description however do change.
http://www.mess-hall.co.uk/gallery/thumbnails.php?album=88
QuoteIt's a great plugin, but it doesn't remove the old keywords, it just adds to the existing keywords.
as explain in the plugin description ;)
QuoteThis plugin allow to add key words for the whole pictures of an selected album in one time.
The existing keywords are not deleted
I have just installed and used this plug-in, and wanted to say how useful it has proved to be. It has saved me a lot of time - many thanks to those responsible.
Just one point - it selects an album by default, and if you don't notice this it could change a lot of info in error. Would it better not to have a default album (like the batch upload procedure), to ensure that users do select the correct one.
Version 1.3 attached to initial post. It doesn't select an album by default and returns an error message if no album has been selected.
Thanks for the prompt response!
I have downloaded and installed the new version, and await the opportunity to try it in the next couple of days.
I did make a small change to the English language file, which you might like to consider:
'caution' => 'Caution: Information which is already entered into the title, description and user fields will be replaced by the new words. <br>Leave fields blank to avoid changing existing content.',
Best wishes,
Quote from: roaftech on March 13, 2012, 08:23:44 PM
'caution' => 'Caution: Information which is already entered into the title, description and user fields will be replaced by the new words. <br>Leave fields blank to avoid changing existing content.',
This seems to be wrong, see http://forum.coppermine-gallery.net/index.php/topic,70360.msg352069.html#msg352069
I installed v1.3 of the plugin. It works great, but uses a space as a keyword separator and I am using semicolon.
I changed this line in the plugin_config.php file:
$keyword = $row['keywords']." ".$superCage->post->getRaw('keyword');
to
$keyword = $row['keywords'].";".$superCage->post->getRaw('keyword');
... and it works great.
http://www.tfahouston.com/cmtgarchivecat/
Quote from: alexis on December 11, 2016, 11:41:56 PM
I installed v1.3 of the plugin. It works great, but uses a space as a keyword separator and I am using semicolon.
I changed this line in the plugin_config.php file:
$keyword = $row['keywords']." ".$superCage->post->getRaw('keyword');
to
$keyword = $row['keywords'].";".$superCage->post->getRaw('keyword');
... and it works great.
...
I'd suggest the following which will use the config defined separator and should work for everyone...
(CPG used space as the default thru 1.4 - and maintained that for upgrades of older installs - and semicolon in 1.5 and later.)
$keyword = $row['keywords'].$CONFIG['keyword_separator'].$superCage->post->getRaw('keyword');
Quote from: gmc on December 13, 2016, 03:37:14 AM
I'd suggest the following which will use the config defined separator and should work for everyone...
(CPG used space as the default thru 1.4 - and maintained that for upgrades of older installs - and semicolon in 1.5 and later.)
$keyword = $row['keywords'].$CONFIG['keyword_separator'].$superCage->post->getRaw('keyword');
Applied to version 1.4 (attached to initial post).