Code: Select all
$group_default = false;
Code: Select all
$groups_passwords = array( 'male' => 'securegroups',
'female' => 'femalesecurepass',
'history' => 'historyesecurepass',
'math' => 'algebra45',
);
Code: Select all
$pending = (in_array($row['group_id'], $groups_free)) ? 0 : 1;
Code: Select all
if (isset($user_fields['pf_' . $row['field_name'] . '_password']))
{
$pending = ($user_fields['pf_' . $row['field_name'] . '_password'] == $groups_passwords[$row['group_name']]) ? 0 : $pending;
}
I confirm this happens, it is due to phpBB3 cpf behaviour of saving dropdown custom profile fields settings. It resets the fields and loose previous group settings. I will add a warning to mod settings informing this issue.Jaifaime wrote:Other than redoing the cpf group links a bajillion times while I played with the Field names... this mod works very well for my needs, thank you ^^