Plugin: BuddyPress ScholarPress Courseware

Join this plugin group to follow comments, support topics and reviews.

Unable to Upload documents to assignments (7 posts)

Started 11 months, 1 week ago by: stephenbuck415

  • Profile picture of stephenbuck415 stephenbuck415 said 11 months, 1 week ago:

    I created an assignment that requires the member to upload their response as a document such as a .txt, .pdf, .doc or .docx, but when anyone tries to do so, an error message is generated:

    “FILENAME.doc” has failed to upload due to an error
    Sorry, this file type is not permitted for security reasons.

    Are there settings that grant file upload permissions somewhere in Courseware or Wordpress?

    Do I need to CHMOD a directory, if so, what is its location?

    Thanks,
    Buck

  • Profile picture of Stas Sușcov Stas Suscov said 11 months, 1 week ago:

    Hmm, nope, this is a WordPress restriction that can be fixed by some plugins.
    Imho, it sounds fair to add such an option into Courseware, but it doesn’t have one right now.

  • Profile picture of stephenbuck415 stephenbuck415 said 11 months, 1 week ago:

    Excellent lead, thank you.

  • Profile picture of stephenbuck415 stephenbuck415 said 11 months, 1 week ago:

    Hi, just for additional feedback:

    I found a plug-in that allows the uploading of files. I was able to add PDF, DOC, and DOCX to it and now the Upload/Insert button in the Courseware Add a Response (to an assignment) section works. Files can be uploaded, but unfortunately the plugin I installed also gives the URL to the upload.

    If you are going to consider adding a feature to Courseware that enables the Upload/Insert button to work, then please consider making the upload secure and not readily accessible through a URL. The reason I am offering this suggestion is because I am starting an online writing school and students would upload their creative (copyrighted) writing–in the genre of Memoir, the writing can contain extremely personal details that would be inappropriate for others to have access to (regardless of copyright).

    Thanks

  • Profile picture of Stas Sușcov Stas Suscov said 11 months, 1 week ago:

    Hmm, I did a quick search on wp.org/extend/plugins, and it looks like there’s no plugin that masks upload path and extends allowed file types list (or some bloated plugins have it, but I was not able to get there quickly). So I will probably write a quick one that does that job. Courseware needs serious security support on the uploads functionality, so I’m putting this on my to do list.

  • Profile picture of Stas Sușcov Stas Suscov said 10 months, 2 weeks ago:

    @stephenbuck415 can you test this plugin I wrote especially to solve the upload related problems.

    This plugin allows you to:
    * Manage allowed file extensions for uploads
    * Mask files location
    * Disable uploads at all

    A screenshot

    http://i.imgur.com/Szhlo.png

  • Profile picture of stephenbuck415 stephenbuck415 said 3 months, 2 weeks ago:

    I will test the plugin. Thank you.