2009-11-09, 06:29 PM
2009-11-09, 08:40 PM
I think you need to edit your member_register_coppa templates:
Remove the code.
{$lang->coppa_desc}
Remove the code.
2009-11-09, 08:50 PM
They want it to only ask the year, not remove all the text about COPPA.
It needs a core file edit, line 347 of ./member.php, change:
to:
and line 353:
to:
So then it's just checking the year.
Then from the member_register_coppa template, find and remove:
and:
See how that goes.
It needs a core file edit, line 347 of ./member.php, change:
$bdaytime = @mktime(0, 0, 0, $mybb->input['bday2'], $mybb->input['bday1'], $mybb->input['bday3']);
to:
$bdaytime = @mktime(0, 0, 0, 0, 0, $mybb->input['bday3']);
and line 353:
if($bdaytime >= mktime(0, 0, 0, my_date('n'), my_date('d'), my_date('Y')-13))
to:
if($bdaytime >= mktime(0, 0, 0, 0, 0, my_date('Y')-13))
So then it's just checking the year.
Then from the member_register_coppa template, find and remove:
<td class="smalltext"><label for="day">{$lang->day}:</label></td>
<td class="smalltext"><label for="month">{$lang->month}:</label></td>
and:
<td>
<select name="bday1" id="day">
<option value=""> </option>
{$bdaysel}
</select>
</td>
<td>
<select name="bday2" id="month">
<option value=""> </option>
<option value="1" {$bdaymonthsel['1']}>{$lang->month_1}</option>
<option value="2" {$bdaymonthsel['2']}>{$lang->month_2}</option>
<option value="3" {$bdaymonthsel['3']}>{$lang->month_3}</option>
<option value="4" {$bdaymonthsel['4']}>{$lang->month_4}</option>
<option value="5" {$bdaymonthsel['5']}>{$lang->month_5}</option>
<option value="6" {$bdaymonthsel['6']}>{$lang->month_6}</option>
<option value="7" {$bdaymonthsel['7']}>{$lang->month_7}</option>
<option value="8" {$bdaymonthsel['8']}>{$lang->month_8}</option>
<option value="9" {$bdaymonthsel['9']}>{$lang->month_9}</option>
<option value="10" {$bdaymonthsel['10']}>{$lang->month_10}</option>
<option value="11" {$bdaymonthsel['11']}>{$lang->month_11}</option>
<option value="12" {$bdaymonthsel['12']}>{$lang->month_12}</option>
</select>
</td>
See how that goes.