RM 1.2 Is there a way to disallow new resources without files?

Alpha1

Well-known member
I would like to disallow the creation of new resources without files. I want resources with files only. How do I do this?
 
I was afraid that you would say that, as I have quite a lot of categories. I guess this requires a query.
Do you know what query I can use to set all categories to 'uploaded file' only?
 
Take a backup first.

Code:
UPDATE xf_resource_category SET allow_local = 1;
UPDATE xf_resource_category SET allow_external = 0;
UPDATE xf_resource_category SET allow_commercial_external = 0;
UPDATE xf_resource_category SET allow_fileless = 0;
 
Top Bottom