Assignment "Valid attachment types"

Home Forums Legacy Support Support queries How-to & Troubleshooting Assignment "Valid attachment types"

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #8202
    peppies
    Spectator
    I need our students to upload Phototshop .psd files for assignments. However the .psd extension is not defined in as valid attachment type. How can I add this kind of attachment?
    #8387
    Anshuman Sahu
    Keymaster
    Okay we will add the .psd  extension too in the next update of wplms assignment plugin .
    #8388
    peppies
    Spectator
    Thank you! In the meantime, is there a quick and easy fix to add this now? I would like to start using it as it's not known when the update comes out.
    #8660
    MrVibe
    Keymaster
      There are multiple changes for this, so I would not advise for any quick ad-hoc fix . We can release the WPLMS Assignments plugin update early for this.
    #14886
    peppies
    Spectator
    Hey, I really need the PSD file types ability. Are you any closer to completion? It's been over a month ago.
    #15137
    Anshuman Sahu
    Keymaster
    add this code in your wplms-customizer.php file in wplms customizer plugin  at the end and before "?>" : add_filter('wplms_wplms-assignment_metabox','add_psd_metabox'); function add_psd_metabox($settings){ $settings[7]['options'][]=array ( 'value'=> 'PSD', 'label'=> 'PSD' ); return $settings; } and then replace your assignment plugin with the attached one .
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Assignment "Valid attachment types"’ is closed to new replies.