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.
Page rights and management had no effect on discussions.php
In an attempt to remove the 'Discussions' tab to make my Vanilla installation more 'normal' forum like, I edited the page access priveleges so no one could access the discussions.php page. But it didnt work. You can still see the discussions page but it did remove the tab to them.
So to completely prevent the user from ever seing the discussions page I had to make a new template and add code to redirect to categories.php id no querystring was present.
I am puzzled why there are no way to "turn off" that default discussions page. In other forums its more called an 'active thread list'. I don't se why Vanilla should "force" the users to have it without editing the php.
0
This discussion has been closed.
Comments
$Head->BodyId = 'DiscussionsPage'; $Menu->CurrentTab = 'discussions'; $Panel->CssClass = 'DiscussionPanel'; $Panel->BodyCssClass = 'Discussions';
...do a backup of index.php first!
$Configuration['FORWARD_VALIDATED_USER_URL'] = '/url/to/your/categories.php';
Change or add these values to your conf/settings.php:
$Configuration['TAB_POSITION_DISCUSSIONS'] = '20'; $Configuration['TAB_POSITION_CATEGORIES'] = '10';