Haha so the part about the "!$vbulletin->options['verifyemail']" I actually copied from your post a year ago here:
https://vborg.vbsupport.ru/showpost....76&postcount=2 but am not sure what it means. I figured it meant that if the user no longer needs to verify their e-mail address (meaning they already have done it).
For the code that sets the user title to 'Deactivated', I believe it works like this--I have a custom usertitle for users in the usergroup Awaiting Moderation.
And I believe this code below changes the user to the Awaiting Moderation group (and then sets the usertitle):
PHP Code:
if ($vbulletin->usergroupcache["{$prevent_group}"]['usertitle'] != '')
{
$prevuserdm->set('usertitle', $vbulletin->usergroupcache["{$prevent_group}"]['usertitle']);
$prevuserdm->set('customtitle', 0);
}