// make sure the fbuid = 0 when there is a new session $vbulletin->session->vars['fbuid'] == null ? 0 : $vbulletin->session->vars['fbuid'];