Currently, there are 0 users and 1 guest visiting this topic.
Author
Topic
#11873

Is there a way to restrict file types that a user can upload through GD bbPress Attachments? I don’t think I would like users to be able to upload zip and other files.

Topic Information
Viewing 4 replies - 1 through 4 (of 4 total)
Author
Replies
  • #11875

    Right now it can’t be done through the plugin interface (coming soon). But it can be done using filters for file types built in WordPress.

    Dev4Press - Premium plugins for WordPress.

  • #11880

    Thank you!

  • #20197

    Can you provide more information on how to do this. What are the filters that we can use? I need to allow a certain filetype that is currently not allowed (.plist). Can I do this with a filter as well?

  • #20198

    Here are some articles on the subject:

    http://wpengineer.com/2369/restrict-mime-types-on-wordpress-media-upload/
    http://wpsnipp.com/index.php/functions-php/restrict-uploads-to-specified-file-types-only-jpg-gif/
    http://msyk.es/blog/adding-removing-allowed-filetypes-wordpress-media-library/

    Dev4Press - Premium plugins for WordPress.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Restrict file types?’ is closed to new replies.