Since elgg 1.7 there has been several requests about how to restrict some file types to be uploaded with the file plugin.
Now, in elgg 1.8 the situation is pretty much the same. There's no tool available that will let you choose which file types can be uploaded in your elgg network.
For that reason, SW Social Web brings you this plugin, which will filter which file types can be uploaded. It's pretty simple: You can select any file type without having to find or type its MIME type.
Please keep in mind that it has to process the file first before it detects what kind of file it is. This is a standard and accepted procedure. I read many tech forums, and they strongly recommend to rely on server, if we want to filter file types.
We really hope you find it useful.
Thanks Dhrup for the help! =D
-Filtering file types. Admin can choose which he can allow.
-No themes conflicts
-No plugins conflicts
-Files plugin required
I made this plugin because there have been tons of requests since elgg 1.7 to filter MIME Types. It might not be the 'prettiest' code but it works.
The file has to be uploaded before filtering. This is standard for filtering file types. I was planning to filter via browser, but it is widely recommended to rely on the server, rather than on the web browser.
Ideally, a Flash Uploader will be better, 'cause you could 'hide' non-allowed files. But this works.
I will add more MIME types in a week.