Thanks! This is what worked for me:
On showthread.php replace
PHP Code:
$navbar = render_navbar_template($navbits);
with
Code:
$templater = vB_Template::create('navbar');
// Resolve the root segment
$templater->register('bbmenu', $vbulletin->options['bbmenu']);
$templater->register('ad_location', $GLOBALS['ad_location']);
$templater->register('foruminfo', $GLOBALS['foruminfo']);
$templater->register('navbar_reloadurl', $GLOBALS['navbar_reloadurl']);
$templater->register('thread', $thread);
$templater->register('navbits', $navbits);
$templater->register('notices', $GLOBALS['notices']);
$templater->register('notifications_menubits', $GLOBALS['notifications_menubits']);
$templater->register('notifications_total', $GLOBALS['notifications_total']);
$templater->register('pmbox', $GLOBALS['pmbox']);
$templater->register('return_link', $GLOBALS['return_link']);
$templater->register('template_hook', $GLOBALS['template_hook']);
$navbar = $templater->render();