Hi All
I'm wanting to add the text "
SEE YOUR LAST THREAD FOR INSTRUCTIONS" to the
Lift Ban After... drop-down list in the Admin Control Panel under
Users>Ban.
I'm pretty sure it involves code modification, but not sure what and where? Thanks
--------------- Added [DATE]1206416872[/DATE] at [TIME]1206416872[/TIME] ---------------
1) Add a New Phrase with the needed text. I.e:
see_last_thread
2) Add new phrase to modcp>banning.php. I.e;
PHP Code:
// make a list of banning period options
$periodoptions = array(
$temporary_phrase => array(
"$vbphrase[see_last_thread]",
'D_1' => "1 $vbphrase[day]",
'D_2' => "2 $vbphrase[days]",
'D_3' => "3 $vbphrase[days]",
'D_4' => "4 $vbphrase[days]",
'D_5' => "5 $vbphrase[days]",
'D_6' => "6 $vbphrase[days]",
'D_7' => "7 $vbphrase[days]",
'D_10' => "10 $vbphrase[days]",
'D_14' => "2 $vbphrase[weeks]",
'D_21' => "3 $vbphrase[weeks]",
'M_1' => "1 $vbphrase[month]",
'M_2' => "2 $vbphrase[months]",
'M_3' => "3 $vbphrase[months]",
'M_4' => "4 $vbphrase[months]",
'M_5' => "5 $vbphrase[months]",
'M_6' => "6 $vbphrase[months]",
'Y_1' => "1 $vbphrase[year]",
'Y_2' => "2 $vbphrase[years]",