forum.coppermine-gallery.net

Support => cpg1.5 plugins => cpg1.5.x Support => cpg1.5 plugin contributions => Topic started by: Joachim Müller on June 05, 2009, 01:14:11 pm

Title: "Filetypes editor" for cpg1.5.x
Post by: Joachim Müller on June 05, 2009, 01:14:11 pm
This plugin provides the admin with an easy to use interface to Coppermine's filetypes table, avoiding the need to use phpmyadmin. You can add, edit and delete file types and set the default player for each type of file.
Usefull to associate MIME types with particular players or to add support for particular file extensions that coppermine doesn't support out of the box.
This plugin creates a new button at the end of your admin menu called "Filetypes editor".  Click this button to actually make use of this plugin. Alternatively, you can access it directly as well by going to http://yoursite.tld/your_gallery/index.php?file=filetypes_editor/editor
This plugin is a port of Nibbler (http://forum.coppermine-gallery.net/index.php?action=profile;u=941)'s filetypes editor plugin for cpg1.4.x (http://forum.coppermine-gallery.net/index.php/topic,24186.html)
Inside the plugin package you'll find a changelog.
I have added the plugin to the subversion (http://documentation.coppermine-gallery.net/en/dev_subversion.htm) repository, so you can always check that out or browse it (http://coppermine.svn.sourceforge.net/viewvc/coppermine/branches/cpg1.5.x/plugins/filetypes_editor/) or download a tarball package (http://coppermine.svn.sourceforge.net/viewvc/coppermine/branches/cpg1.5.x/plugins/filetypes_editor.tar.gz?view=tar).
I'm attaching a zip archive to this thread for those who have no idea what a tarball is. For all others: use the most recent version by clicking on above tarball link; download to your PC, extract and then upload. For details on plugins, read up the corresponding section of the docs (http://documentation.coppermine-gallery.net/en/plugins.htm) first.
Please do not clutter this thread with individual issues: questions about particular mime types, players or similar should not be posted in this thread.

Download: http://sourceforge.net/projects/coppermine/files/Plugins/1.5.x/cpg1.5.x_plugin_filetypes-editor_v2.1.zip/download
Title: Re: "Filetypes editor" for cpg1.5.x
Post by: FBleu on December 13, 2010, 01:27:15 am
Hello


filetypes-editor_v2.1
Lang files are not identical (english-german)
It seems to be missing two lines in the English file

I would do the translation of plugins, so I need to know which one is good  :)

Franck
Title: Re: "Filetypes editor" for cpg1.5.x
Post by: Αndré on December 13, 2010, 04:22:03 pm
Use english.php as base. It has 2 lines more than german.php:
Code: [Select]
$lang_plugin_filetypes_editor['htmlaudio'] = 'HTML5 audio tag';
$lang_plugin_filetypes_editor['htmlvideo'] = 'HTML5 video tag';
Title: Re: "Filetypes editor" for cpg1.5.x
Post by: FBleu on December 14, 2010, 12:02:15 am
Thank you andré
I'll see to send the file lang in the week has François  :)
Title: Re: "Filetypes editor" for cpg1.5.x
Post by: François Keller on December 19, 2010, 03:42:26 pm
French lang file added to the SVN