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 (;u=941)'s filetypes editor plugin for cpg1.4.x (,24186.html)
Inside the plugin package you'll find a changelog.
I have added the plugin to the subversion ( repository, so you can always check that out or browse it ( or download a tarball package (
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 ( 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.

Title: Re: "Filetypes editor" for cpg1.5.x
Post by: FBleu on December 13, 2010, 01:27:15 am

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  :)

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