In case you want to add the "Connect with Facebook" button up to the top, create new plugin for parse_template and use this code
PHP Code:
if ($vbulletin->fbb['runtime']['navbar_button_needed'] AND $vbulletin->fbb['runtime']['vb4']) {
$fbb_navbar_button = vB_Template::create('fbb_vb4_navbar_button')->render();
$search = 'if ($show[\'registerbutton\']) {';
$vbulletin->templatecache['header'] = str_replace(
$search
,$search . '$final_rendered .= "' . addslashes($fbb_navbar_button) . '";'
,$vbulletin->templatecache['header']
);
}
*Note: If you are not sure that I'm talking about, it's highly recommend that you shouldn't follow this instruction. The feature will be added in next version of YAFB