Implemented Remove/Hide Arcade Tab?

You can, but you have to turn on debug mode to do it. In debug, simply uncheck the Code Event Listener for the Nav Tab. If you don't know how to turn on debug mode, let me know.
 
You can use CSS also, although as Edrondol posted above would be the better option.

Code:
.navTabs .publicTabs .arcade
{
    display: none !important;
}
 
Until 0.0.9 is released, another alternate method would be to disable the code that is actually adding the navbar (I prefer disabling code entirely rather than allowing the code to execute then hiding the already executed results).

In the file {xf}/library/Arcade/Listener.php find this chunk of code...
Code:
if (XenForo_Model::create('Arcade_Model_Game')->hasPermission('navbar')) {
        $tabId = 'arcade';
        $extraTabs[$tabId] = array(
                'href' => XenForo_Link::buildPublicLink("full:arcade"),
                'title' => new XenForo_Phrase('arcade'),
                'linksTemplate' => 'arcade_links',
                'selected' => ($seletectedTabId == $tabId),
                'links' => array(
                 ),
         );
}
... and either remove it or comment it out.
 
Back
Top