Если Вы желаете сделать IPB Портал индексной страницей конференции вместо главной страницы со списком форумов
<b>Следуйте приведённым ниже инструкциям:</b>
Откройте файл <u>index.php</u>, размещённый в корневой директории IPB.
Найдите следующий блок кода (строка 227):
<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->//---------------------------------------------------
// Check to make sure the array key exits..
//---------------------------------------------------
$ibforums->input['_low_act'] = strtolower( $ibforums->input['act'] );
if (! isset($choice[ $ibforums->input['_low_act'] ][0]) )
{
$ibforums->input['act'] = 'idx';
}<!--c2--></div><!--ec2-->
<b>Замените таким кодом:</b>
<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->//---------------------------------------------------
// Check to make sure the array key exits..
//---------------------------------------------------
$ibforums->input['_low_act'] = strtolower( $ibforums->input['act'] );
if (! isset($choice[ $ibforums->input['_low_act'] ][0]) )
{
$ibforums->input['act'] = 'home';
}<!--c2--></div><!--ec2-->
Сохраните изменения в файле <u>index.php</u> и загрузите его обратно на сервер.
<b>Следуйте приведённым ниже инструкциям:</b>
Откройте файл <u>index.php</u>, размещённый в корневой директории IPB.
Найдите следующий блок кода (строка 227):
<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->//---------------------------------------------------
// Check to make sure the array key exits..
//---------------------------------------------------
$ibforums->input['_low_act'] = strtolower( $ibforums->input['act'] );
if (! isset($choice[ $ibforums->input['_low_act'] ][0]) )
{
$ibforums->input['act'] = 'idx';
}<!--c2--></div><!--ec2-->
<b>Замените таким кодом:</b>
<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->//---------------------------------------------------
// Check to make sure the array key exits..
//---------------------------------------------------
$ibforums->input['_low_act'] = strtolower( $ibforums->input['act'] );
if (! isset($choice[ $ibforums->input['_low_act'] ][0]) )
{
$ibforums->input['act'] = 'home';
}<!--c2--></div><!--ec2-->
Сохраните изменения в файле <u>index.php</u> и загрузите его обратно на сервер.