Hi Astghik,
I think wpdiscuz_mu_allowed_roles will not do what I need - it seems to be apply to all uploads whereas I want to restrict only a certain type of uploads.
Your response did help me discover what seems to be filetype filtering on the upload input:
$allowedExts = apply_filters("wpdiscuz_mu_allowed_extensions", "accept='image/*'");
The media uploader plugin currently does this:
add_filter("wpdiscuz_mu_allowed_extensions", function() {
return "";
});
This should allow me do what I want I think.
So thanks I think. :-). I'll update the post once I've had a go at it.
Ronny