Direct from David Grove within the support ticket for this issue, the fix is a simple edit within 2 files for 4.0.4 & 4.0.5 until the next release comes out with it as default.
** These are PHP file edits, not template edits **
Original fix by David: http://tracker.vbulletin.com/browse/VBIV-7489
(1) Find the following code in /includes/class_dm_user.php
And replace with this:
(2) Find the following code in /includes/functions_facebook.php
Replace it with the following:
Thank you David for providing this prior to the next version.
** These are PHP file edits, not template edits **
Original fix by David: http://tracker.vbulletin.com/browse/VBIV-7489
(1) Find the following code in /includes/class_dm_user.php
PHP Code:
// check for empty required fields
if (($profilefield['required'] == 1 OR $profilefield['required'] == 3) AND $value === false AND $verify)
{
$this->error('required_field_x_missing_or_invalid', $profilefield['title']);
}
PHP Code:
// check for empty required fields
if (($profilefield['required'] == 1 OR $profilefield['required'] == 3) AND $value === false AND $verify)
{
if ($_POST['do'] == 'fbconnect' AND $this->registry->GPC['link'] AND !isset($values["$varname"]))
{
continue;
}
$this->error('required_field_x_missing_or_invalid', $profilefield['title']);
}
PHP Code:
$customfields = $userdata->set_userfields($vbulletin->GPC['userfield'], true, 'register');
PHP Code:
if ($_POST['do'] == 'fbconnect' AND $vbulletin->GPC['link'])
{
$customfields = $userdata->set_userfields($vbulletin->GPC['userfield'], true, 'normal');
}
else
{
$customfields = $userdata->set_userfields($vbulletin->GPC['userfield'], true, 'register');
}
Comment