4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Releases & Support) => Plugins => Topic started by: V@no on January 18, 2009, 11:20:36 AM

Title: [Plugin] Valid file extensions manager v1.1 (2010-07-04)
Post by: V@no on January 18, 2009, 11:20:36 AM
This plugin will help manage "Allowed upload extensions". It will allow you edit and save includes/upload_definitions.php, update existing or create new media templates.
Also, it can automatically create/update mime type from an error message.

Download attached mime.zip package, extract mime.php and upload into admin/plugins/ directory.

Then login to ACP (Admin Control Panel), on left side you should see new menu "Valid file extensions manager"



Version history:

v1.1 (2010-07-04)
- added support for [MOD] Media sites (http://www.4homepages.de/forum/index.php?topic=24054.msg131715#msg131715)

v1.0 (2009-01-18)
- initial release
Title: Re: [Plugin] Valid file extensions manager v1.1 (2010-07-04)
Post by: nobby on January 18, 2009, 11:29:41 AM
V@no great

Plugins easy and fast integration  :wink:
Title: Re: [Plugin] Valid file extensions manager v1.1 (2010-07-04)
Post by: mawenzi on January 19, 2009, 12:00:56 PM
... a very nice plugin, clear and useful ...
... thanks for sharing ...
 
Title: Re: [Plugin] Valid file extensions manager v1.1 (2010-07-04)
Post by: dp on October 05, 2009, 08:10:48 AM
This is working perfectly!

Thank you very much for sharing it!
Title: Re: [Plugin] Valid file extensions manager v1.1 (2010-07-04)
Post by: Sunny C. on February 25, 2010, 09:59:46 AM
Ich würde gerne rar und zip Dateien hochladen können.
Diese soll man auch mit einem klick auf den Downloadbutton downloaden können.
Als Bild soll das Thumbnail angezeigt werden, aber wie soll das gehen?

Ich habe die RAR Erweiterung hinzugefügt mit der Hilfe des Plugins "Mime". Ein RAR File Hochladen geht, allerdings sagt das System das der Upload erfolgreich war. Ein Blick den dem Ordner verrät mir aber, dass es nicht so ist.

Wenn man aber dann trotzdem auf Download klickt, wird eine dateiname.rar heruntergeladen, aber es ist nichts im Ordner vorhanden.

Wie kann man das ganze bewerkstelligen?
Title: Re: [Plugin] Valid file extensions manager v1.1 (2010-07-04)
Post by: wasimkhan on January 04, 2011, 11:51:58 AM
Sir Plz help i search alot but cant find i m uploading the mp3 file it gives me the error Please recheck the marked fields.(image field ) and cannot be uploaded this plzzzzzzzzzzzzzzzzzzzzz help me
Title: Re: [Plugin] Valid file extensions manager v1.1 (2010-07-04)
Post by: V@no on January 04, 2011, 02:52:04 PM
and what field is marked? try upload a very small file
Title: Re: [Plugin] Valid file extensions manager v1.1 (2010-07-04)
Post by: tutton on January 04, 2011, 03:48:21 PM
Sir Plz help i search alot but cant find i m uploading the mp3 file it gives me the error Please recheck the marked fields.(image field ) and cannot be uploaded this plzzzzzzzzzzzzzzzzzzzzz help me

what other modifications (if any) have you added? that is usually the cause for an upload error.
Title: Re: [Plugin] Valid file extensions manager v1.1 (2010-07-04)
Post by: hummel on February 10, 2011, 10:44:41 AM

Hallo

ich habe mir gerade
http://www.4homepages.de/forum/index.php?topic=23909.0 (http://www.4homepages.de/forum/index.php?topic=23909.0)
runtergeladen...
ich möchte gerne php bilder erlauben,(nur für Admin)

was muss ich denn beim "Valid file extensions manager" einstellen?




Hello

I have just
http://www.4homepages.de/forum/index.php?topic=23909.0 (http://www.4homepages.de/forum/index.php?topic=23909.0)
Loading
but
I would like to allow php pictures, (only for admin)
what do I need for the "Valid file extensions manager" stall?

Thanks


Title: Re: [Plugin] Valid file extensions manager v1.1 (2010-07-04)
Post by: V@no on February 10, 2011, 02:05:11 PM
php pictures?
Title: Re: [Plugin] Valid file extensions manager v1.1 (2010-07-04)
Post by: kimchu on August 21, 2011, 06:21:03 PM
Hello,

I followed the instruction to load the plugin and added "avi" and "mpg" extensions. Install straight forward. However, when I go to add image to add an "avi" file, it doesn't add the avi file.  In the add images panel, I get in red

"Please recheck the marked fields."

The "images*" is highlighted in red.

Tried even "uploading" the video file, but still doesn't upload it. Do you use "add images" to add a video file or is there way to name the video file ?

Thanks.
Title: Re: [Plugin] Valid file extensions manager v1.1 (2010-07-04)
Post by: V@no on August 22, 2011, 02:04:22 AM
Hello and welcome to 4images forum.

This sounds like server's restrictions. Search in ACP (Admin Control Panel) -> phpinfo():
post_max_size
upload_max_filesize

And try upload a file smaller then set in these two settings. If it works, then it's definitely these settings. Then you can try these tweaks:

Cannot upload large files (larger than 2Mb) (http://www.4homepages.de/forum/index.php?topic=6840.0)
Fatal error: Allowed memory size of NN bytes exhausted (http://www.4homepages.de/forum/index.php?topic=24180.0)
 
Title: Re: [Plugin] Valid file extensions manager v1.1 (2010-07-04)
Post by: kimchu on August 23, 2011, 04:08:36 AM
Hi V@no,

Thank-you for the quick response. I had my hosting provider up the max file size to 10M and that seems to solve the upload problem. Using the default template and uploaded and configured the file extension manager plugin, but the video (AVI) doesn't play.

It starts and then stops after trying to "open media". Tried it both with Chrome and Mozilla and Explorer. Any suggestions as to what else needs to be configured would be appreciate it.

Thanks,

Kim
Title: Re: [Plugin] Valid file extensions manager v1.1 (2010-07-04)
Post by: V@no on August 24, 2011, 04:33:17 AM
The AVI containers cannot be used for online streaming, you should convert them into FLV for best compatibility.
Even if you manage fix the avi.html template to use Windows Media Player plugin (most likely) it still will have to download .avi file completely before it be able play it.