ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Allowed filetypes in forum attachments

September 13, 2010 10:57am

Subscribe [2]
  • #1 / Sep 13, 2010 10:57am

    eeart

    257 posts

    In the Default Preferences of the Discussion Forum module we have set Allowed File Types to “All File Types”, but when you try to attached a RAR file to a forum post it gives the error:

    Error Message:  The filetype you are attempting to upload is not allowed

    Allowed Filetypes: psd, pdf, swf, sit, tar, tgz, zip, gzip, bmp, gif, jpeg, jpg, jpe, png, txt, html, doc, docx, xl, xls, flv, mov, qt, mpg, mpeg, mp3, aiff, aif, aac,

    Where can we specify that RAR types are allowed? This is on EE 1.6.9 build 20100430 and Discussion Forum 2.1.2

    Thank you

  • #2 / Sep 13, 2010 4:19pm

    Ingmar

    29245 posts

    You’ll need to edit /system/lib/mimes.php and add those mime types.

  • #3 / Sep 14, 2010 11:11am

    eeart

    257 posts

    Thank you!

  • #4 / Sep 14, 2010 9:21pm

    Brandon Jones

    5500 posts

    Glad Ingmar helped!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases