Вообщем, нет никаких проблем.
Profile Control Panel встал на чистый 2.0.23 без проблем.
TC поверх Profile Control Panel встаёт нормально.
Вместо includes/usercp_register.php редактируется profilcp_register.php
Инструкция
Код: Выделить всё
#
#-----[ OPEN ]------------------------------------------
#
profilcp/profilcp_register.php
#
#-----[ FIND ]------------------------------------------
#
$unhtml_specialchars_match = array('#>#', '#<#', '#"#', '#&#');
#
#-----[ BEFORE, ADD ]------------------------------------------
#
include_once($phpbb_root_path . 'includes/functions_tc.'.$phpEx);
#
#-----[ FIND ]------------------------------------------
#
// create : new and confirm password should be set
if ( $create_user && ( empty($new_password) || empty($password_confirm) ) )
{
$password_error = true;
$error = true;
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Fields_empty'];
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
tc_hook_register();
#
#-----[ FIND ]------------------------------------------
#
$template->assign_vars(array(
'S_HIDDEN_FIELDS' => $s_hidden_fields,
#
#-----[ REPLACE WITH ]------------------------------------------
#
tc_hook_template($mode, $template, $s_hidden_fields, $tc_question);
$template->assign_vars(array(
'TEXTUAL_CONFIRMATION_QUESTION' => isset($tc_question) ? $tc_question : '',
'L_TEXTUAL_CONFIRMATION_EXPLAIN' => isset($lang['tc_explain']) ? $lang['tc_explain'] : '',
'S_HIDDEN_FIELDS' => $s_hidden_fields,
инструкция
Код: Выделить всё
#
#-----[ FIND ]------------------------------------------
#
<!-- END switch_anti_robotic -->