Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Category Hider
Category Hider
0
Comments
If I use the code snippet version will it work with 1.1.2?
I don't mind editing the code.
You will need to upload 1.1.4 (or possibly later) versions of
/themes/settings_category_edit.php,
/library/Vanilla/Vanilla.Control.CategoryForm.php and
/library/framework/Framework.Functions.php.
It still however, lists the category title that I wanted to hide, although the topics are hidden.
Is this how it's supposed to work?
If you see just the role and the save button instead of the hide option like in this picture then you have some old Vanilla files that need to be replaced with the ones listed a couple comments above.
I do not have that checkbox in my edit category list.
I think you mean these:
You will need to upload 1.1.4 (or possibly later) versions of
/themes/settings_category_edit.php,
/library/Vanilla/Vanilla.Control.CategoryForm.php and
/library/framework/Framework.Functions.php.
I am running 1.1.5 so it is ok to click on these links and download and replace the later 1.1.5 versions with the 1.1.4 versions supplied in those links to get it to work?
Dan
The only changes since 1.1.4 were on unrelated code in Framework.Functions.php, so I'm not quite sure why it would not be working, unless you had some older file or theme than 1.1.4 that was not completely upgraded to 1.1.5.
I will double check with a brand new 1.1.5 install to make sure it works.Works fine on 1.1.5a.
Specifically, you go to settings tab, categories in the panel, then edit on the category you wish to block, and find the checkbox at the bottom of the page.
Another thing you can try is add this line to conf/settings.php:
$Configuration['HiddenCategories'] = '2';
where the 2 is the category ID you wish to block (can be found in the categories' URL, and multiples can be blocked with commas, like: '1,2,4';)
Category hider will likely work fine with both extensions on, it just appears the showing of the checkbox won't work. All that the checkbox does is updates that config file line, so you can probably get by without it.