When I go to the Plugin section and choose edit plugin, this is what I see:
Code:
// #### Force Current Members To Fill Out Required Profile Field ####
if ($vbulletin->userinfo['userid'] > 1)
{
$zzz_regex = "(profile|usercp).php";
if (isset($_SERVER['REQUEST_URI']) && !eregi($zzz_regex,$_SERVER['REQUEST_URI']))
{
$zzz_reqfields = $db->query_read("SELECT profilefieldid ".
"FROM ".TABLE_PREFIX."profilefield ".
"WHERE required = 1");
if ($db->num_rows($zzz_reqfields))
{
while ($zzz_reqfield = $db->fetch_array($zzz_reqfields))
{
$zzz_fieldname = "field".$zzz_reqfield['profilefieldid'];
$zzz_userfield = $vbulletin->userinfo["$zzz_fieldname"];
if (empty($zzz_userfield) && $zzz_userfield != "0")
{
eval(standard_error(fetch_error('zzz_update_profile',$vbulletin->options['bburl'],$vbulletin->session->vars['sessionurl'])));
}
}
}
}
}
// #### Force Current Members To Fill Out Required Profile Field ####