$userdata->set('signature', $signature);
if(empty($vbulletin->userinfo['signature'])) { $vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "post SET showsignature = '1' WHERE userid='" . $vbulletin->userinfo['userid'] . "'"); }