RM 1.0 "Add Resource" everywhere


Well-known member
I am still running the 1.0 version of the RM so i am not sure if this has been addressed in the latest release, neither could I find a thread about this.

Our users, especially newly registered users, are confused when they first enter the RM to try and upload a file. When they enter the "root" of the RM there is a "add resource" button but one level lower, the main category for our game files this button is missing as the category itself cannot contain resources obviously.

Only when they go one level deeper to a subcategory that can contain files they see it. Would be it be possible with a template edit (or something else) to add this "add resource" button on all categories and subcategories?


Which edit would that be?
In Model/Category function canAddResource()
Remove or comment out the following:
if (!isset($category['allowResource']))
    $category['allowResource'] = (
        || $category['allow_external']
        || $category['allow_commercial_external']
        || $category['allow_fileless']

if (!$category['allowResource'])
    $errorPhraseKey = 'category_not_allow_new_resources';
    return false;