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?
Okay we will add the .psd extension too in the next update of wplms assignment plugin .
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.
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.
Hey, I really need the PSD file types ability. Are you any closer to completion? It's been over a month ago.
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 .