Custom Tabs

Custom Tabs 1.6.3

No permission to download


Well-known member
@Ludachris, try this code (replace the uriMatch method):
public static function uriMatch($uri)
        $requestPaths  = XenForo_Application::get('requestPaths');
        $requestUri    = $requestPaths['requestUri'];
        $fullUri       = $requestPaths['fullUri'];
        $noBasePathUri = substr($requestUri, strlen($requestPaths['basePath']), strlen($requestUri));

        if ($uri == $requestUri
            || $uri == $fullUri
            || $uri == $noBasePathUri
            || preg_match('/[?&]/', $noBasePathUri) && preg_match('@^/?' . preg_quote($uri) . '@', $noBasePathUri))

            return true;

This will work with routes, not full URLs.
That didn't seem to work either. If I create a child tab for each filtering option the tab will stay selected because the URL matches. But that isn't ideal, as there will eventually be a LOT of filtering options, and creating child tabs for all of them doesn't make sense.

Here's an example of a filtered URL that isn't working:


Well-known member
When this is showing in responsive mode, does the burger menu (or is it supposed to) display child items?


Those menu items have chillden, which aren't displayed inside the burger menu.


Well-known member
Is there any way to create secondary navigation dropdowns?
i.e. when you click on secondary level tab, then open tertiary level links in dropdown.


Well-known member
Not with the current setup. It would require custom changes in order to do that. Unfortunately, I don't have the time to do play with it so I won't be able to help you with that feature.