• 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?


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?


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


XenForo moderator
Staff member
Take a backup first.

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;