How can I do this with this mod.....
Spammers 99% of the time put a url in my FULL NAME field, and I would like to use this mod if possible. I installed it, and want any user that enters "http" in the FULL NAME field to be moved to the banned usergroup. This is the code I'm using but it doesn't work:
HTML Code:
// Get the value for field 6
$user = $db->query_first("
SELECT field6
FROM " . TABLE_PREFIX . "userfield
WHERE userid = " . $vbulletin->userinfo['userid'] . "
");
if ($user['field6'] == 'http')
{
$userdata->set('usergroupid', 8);
}