<!-- swich_on_new_topic -->
и
<!-- swich_off_new_topic -->
и при просмотре ваще не было никакого "заголовок сообщения"
Заранее спасибо, господа... Если нет времени намекните как делать

This hack can activate an extra button next to the "quote" button in view topic that will allow users to reply to the post with the posters username or post subject as the subject of this new post.
This allows other users to see which post someone is replying to, without the whole message being quoted.
As an alternative option, the administrator can also completely disable the subject line for all normal replies when a post subject is not specified.
#
#----- [ Open ] -------------------
#
posting_body.tpl
#
#----- [ FIND ] -------------------
#
<input type="text" name="subject"
#
#----- [ IN LINE, FIND ] -------------------
#
name="subject"
#
#----- [ AFTER, ADD ] -------------------
#
disabled="disabled"
#
#-----[ OPEN ]------------------------------------------
#
posting.php
#
#-----[ FIND ]------------------------------------------
#
if ( $mode == 'newtopic' || ( $mode == 'editpost' && $post_data['first_post'] ) )
{
$template->assign_block_vars('switch_type_toggle', array());
#
#-----[ AFTER, ADD ]------------------------------------------
#
// [start] Hide subject field on reply
$template->assign_block_vars('switch_allow_subject_on', array());
// [end] Hide subject field on reply
#
#-----[ OPEN ]------------------------------------------
#
templates/xxx/posting_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_SUBJECT}</b></span></td>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
<!-- BEGIN switch_allow_subject_on -->
#
#-----[ FIND ]------------------------------------------
#
<input type="text" name="subject" size="45" maxlength="120" style="width:450px" tabindex="2" class="post" value="{SUBJECT}" />
</span> </td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- END switch_allow_subject_on -->
#
#-----[ OPEN ]------------------------------------------
#
privmsg.php
#
#-----[ FIND ]------------------------------------------
#
$template->assign_block_vars('switch_privmsg', array());
#
#-----[ AFTER, ADD ]------------------------------------------
#
// [start] Hide subject field on reply
$template->assign_block_vars('switch_allow_subject_on', array());
// [end] Hide subject field on replyMXM писал(а):А пишет Б, Б открывает и все равно при ответе у Б есть возможность изменить тему, и еще есть возможность выбрать кому отправит
Вернуться в Запросы модов для phpBB 2.0.x
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 0