• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

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

Alfa1

Well-known member
#1
I would like to disallow the creation of new resources without files. I want resources with files only. How do I do this?
 

Alfa1

Well-known member
#3
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?
 

Brogan

XenForo moderator
Staff member
#4
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;