
11-07-2007, 09:42 AM
|
 |
|
|
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
there is also a mistake in the modcp/banning.php instructions.
you said:
Quote:
4). FIND (~ line 339)
$vbulletin->input->clean_array_gpc('r', array(
'userid' => TYPE_INT,
'period' => TYPE_STR,
'threadid' => TYPE_INT
));
REPLACE with
// start code 'ban via post'
// added 'threadid' => TYPE_INT,
// end code 'ban via post'
$vbulletin->input->clean_array_gpc('r', array(
'userid' => TYPE_INT,
'period' => TYPE_STR,
'threadid' => TYPE_INT
));
|
and it should say:
Quote:
4). FIND (~ line 339)
$vbulletin->input->clean_array_gpc('r', array(
'userid' => TYPE_INT,
'period' => TYPE_STR,
));
REPLACE with
// start code 'ban via post'
// added 'threadid' => TYPE_INT,
$vbulletin->input->clean_array_gpc('r', array(
'userid' => TYPE_INT,
'period' => TYPE_STR,
'threadid' => TYPE_INT
));
// end code 'ban via post'
|
|