$vbulletin->options['maxthreads'] = $vbulletin->userinfo['field5'];
$vbulletin->options['maxthreads'] = (intval($vbulletin->userinfo['field5']) > 0 ? intval($vbulletin->userinfo['field5']) : $vbulletin->options['maxthreads']);