1. Вот это я выполнил в файле /templates/smartDark/profilcp/register_body.tpl
Код: Выделить всё
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_add_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<!-- END switch_confirm -->
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN switch_textual_confirm -->
<tr>
<td class="row1"><span class="gen">{TEXTUAL_CONFIRMATION_QUESTION} * </span><br /><span class="gensmall">{L_TEXTUAL_CONFIRMATION_EXPLAIN}</td>
<td class="row2"><input type="text" class="post" style="width: 200px" name="tc_answer" size="25" value="" /></td>
</tr>
<!-- END switch_textual_confirm -->
Код: Выделить всё
#
#-----[ OPEN ]------------------------------------------
#
includes/constants.php
#
#-----[ FIND ]------------------------------------------
#
define('SMILIES_TABLE', $table_prefix.'smilies');
#
#-----[ AFTER, ADD ]------------------------------------------
#
define('TEXTUAL_CONFIRMATION_TABLE', $table_prefix.'textual_confirmation');
Код: Выделить всё
#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_register.php
#
#-----[ FIND ]------------------------------------------
#
$unhtml_specialchars_match = array('#>#', '#<#', '#"#', '#&#');
#
#-----[ BEFORE, ADD ]------------------------------------------
#
include($phpbb_root_path . 'includes/functions_tc.'.$phpEx);
#
#-----[ FIND ]------------------------------------------
#
$error = TRUE;
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Fields_empty'];
}
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
tc_hook_register();
#
#-----[ FIND ]------------------------------------------
#
$template->assign_vars(array(
'USERNAME' => isset($username) ? $username : '',
'CUR_PASSWORD' => isset($cur_password) ? $cur_password : '',
#
#-----[ 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'] : '',
'USERNAME' => isset($username) ? $username : '',
'CUR_PASSWORD' => isset($cur_password) ? $cur_password : '',
Код: Выделить всё
include($phpbb_root_path . 'includes/functions_tc.'.$phpEx);
Помогите плиз...