Okay, here's what I'm doing:
In modifyprofile_birthday, I'm changing
both instances of:
Code:
<option value="0" $sbselected[0]>$vbphrase[hide_age_and_dob]</option>
<option value="1" $sbselected[1]>$vbphrase[display_age]</option>
<option value="3" $sbselected[3]>$vbphrase[display_day_and_month]</option>
<option value="2" $sbselected[2]>$vbphrase[display_age_and_dob]</option>
to:
Code:
<option value="0" $sbselected[2]>$vbphrase[hide_age_and_dob]</option>
<option value="1" $sbselected[1]>$vbphrase[display_age]</option>
<option value="3" $sbselected[3]>$vbphrase[display_day_and_month]</option>
<option value="2" $sbselected[0]>$vbphrase[display_age_and_dob]</option>
At first, that seems to work. I register as a new user, go to usercp, and the selected option is "Display age and date of birth"
But when I look at the user in AdminCP, it shows them as having selected "Hide Age and date of birth"
So what am I doing wrong?