Jump to content
View in the app

A better way to browse. Learn more.

IPBMafia.ru - поддержка Invision Community, релизы, темы, плагины и приложения

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Как отключить "Быстрый ответ" в теме?

Featured Replies

Posted

Как отключить "Быстрый ответ" в теме?

Отредактировать шаблон Темы --> topicViewTemplate

Найти:


<if test="fastReply:|:$displayData['fast_reply'] && $displayData['reply_button']['url']">
<hr />
<div class='ipsBox' id='fast_reply_wrapper'>
<div class='ipsBox_container ipsPad'>
<h1 class='ipsType_subtitle'>{$this->lang->words['topic_add_reply']}</h1>
<if test="isLockedFR:|:$topic['state'] == 'closed'"><span class='error'>{$this->lang->words['locked_reply_fr']}</span><br /></if>
<br />
<if test="isMember:|:$this->memberData['member_id']">
<a href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}' class='ipsUserPhotoLink left'><img src='{$this->memberData['pp_small_photo']}' alt="{parse expression="sprintf($this->lang->words['users_photo'],$this->memberData['members_display_name'])"}" class='ipsUserPhoto ipsUserPhoto_medium' /></a>
<else />
<div class='left'>{IPSMember::buildNoPhoto(0, 'small' )}</div>
</if>
<div class='ipsBox_withphoto clearfix'>
<form action="{parse url="" base="public"}" method="post" id='ips_fastReplyForm'>
<input type="hidden" name="app" value="forums" />
<input type="hidden" name="module" value="post" />
<input type="hidden" name="section" value="post" />
<input type="hidden" name="do" value="reply_post_do" />
<input type="hidden" name="f" value="{$forum['id']}" />
<input type="hidden" name="t" value="{$topic['tid']}" />
<input type="hidden" name="st" value="{$this->request['st']}" />
<input type="hidden" name="auth_key" value="{$this->member->form_hash}" />
<input type="hidden" name="fast_reply_used" value="1" />
<input type="hidden" name="enableemo" value="yes" />
<input type="hidden" name="enablesig" value="yes" />
<if test="$this->memberData['auto_track']">
<input type="hidden" name="enabletrack" value="1" />
<else />
<input type="hidden" name="enabletrack" value="{$topic['_isLiked']}" />
</if>
<if test="is_array($topic['_fastReplyStatusMessage']) AND count($topic['_fastReplyStatusMessage']) AND strlen($topic['_fastReplyStatusMessage'][0])">
<div class='message'>{parse expression="implode( '<br />', $topic['_fastReplyStatusMessage'] )"}</div>
</if>
{parse editor="Post" options="array( 'type' => 'full', 'minimize' => 1, 'isTypingCallBack' => 'ipb.topic.isTypingCallBack', 'height' => 180, 'legacyMode' => 'off', 'autoSaveKey' => 'reply-' . $topic[tid], 'warnInfo' => 'fastReply', 'modAll' => $topic['_fastReplyModAll'] )"}
<br />

<fieldset class='right' id='fast_reply_controls'>
<input type='submit' name="submit" class='input_submit' value='{$this->lang->words['qr_post']}' tabindex='50' accesskey='s' id='submit_post' />&nbsp;&nbsp;<input type='submit' name="preview" class='input_submit alt' value='{$this->lang->words['qr_more_opts']}' tabindex='51' id='full_compose' />
</fieldset>
</form>
</div>
<div id='ips_HasReplies'></div>
</div>
</div>
<script type='text/javascript'>
ipb.topic.fastReplyId = '{$this->settings['_lastEditorId']}';
</script>
<else />
<if test="loadJsManually:|:$displayData['load_editor_js']">
{parse template="editorLoadJs" group="editors" params="array( 'smilies' => $displayData['smilies'] )"}
</if>
</if>
Заменить на:

<if test="fastReply:|:$displayData['fast_reply'] && $displayData['reply_button']['url']">
<hr />
<div class='ipsBox' id='fast_reply_wrapper'>
<div class='ipsBox_container ipsPad'>
<h1 class='ipsType_subtitle'>{$this->lang->words['topic_add_reply']}</h1>
<if test="isLockedFR:|:$topic['state'] == 'closed'"><span class='error'>{$this->lang->words['locked_reply_fr']}</span><br /></if>
<br />
<if test="isMember:|:$this->memberData['member_id']">
<a href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}' class='ipsUserPhotoLink left'><img src='{$this->memberData['pp_small_photo']}' alt="{parse expression="sprintf($this->lang->words['users_photo'],$this->memberData['members_display_name'])"}" class='ipsUserPhoto ipsUserPhoto_medium' /></a>
<else />
<div class='left'>{IPSMember::buildNoPhoto(0, 'small' )}</div>
</if>
<div class='ipsBox_withphoto clearfix'>
<form action="{parse url="" base="public"}" method="post" id='ips_fastReplyForm'>
<input type="hidden" name="app" value="forums" />
<input type="hidden" name="module" value="post" />
<input type="hidden" name="section" value="post" />
<input type="hidden" name="do" value="reply_post_do" />
<input type="hidden" name="f" value="{$forum['id']}" />
<input type="hidden" name="t" value="{$topic['tid']}" />
<input type="hidden" name="st" value="{$this->request['st']}" />
<input type="hidden" name="auth_key" value="{$this->member->form_hash}" />
<input type="hidden" name="fast_reply_used" value="1" />
<input type="hidden" name="enableemo" value="yes" />
<input type="hidden" name="enablesig" value="yes" />

<fieldset class='right' id='fast_reply_controls'>
<input type='submit' name="preview" class='input_submit alt' value='{$this->lang->words['qr_more_opts']}' tabindex='51' id='full_compose' />
</fieldset>
</form>
</div>
<div id='ips_HasReplies'></div>
</div>
</div>
<script type='text/javascript'>
ipb.topic.fastReplyId = '{$this->settings['_lastEditorId']}';
</script>
<else />
<if test="loadJsManually:|:$displayData['load_editor_js']">
{parse template="editorLoadJs" group="editors" params="array( 'smilies' => $displayData['smilies'] )"}
</if>
</if>
[/code]

Проблема в том, что пользователь может все таки вернуть его обратно, так что это скорее сокрытие, чем отключение.

Но другого варианта нет.

Guest
This topic is now closed to further replies.

Последние посетители 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.