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

Хотелось бы узнать как изменить показ сообщений,Благодарностей хука "Ajax_Thanks_1.0.7_Rus"

на что то подобное этому :

Вместо :

545 сообщений

Сделать

Сообщений: 545

0 благодарностей

Сделать

Благодарностей : 0

и еще хотелось бы узнать как отключить показ предупреждений под аватаром

1. АЦ -> Внешний вид -> Шаблон -> Глобальные -> userInfoPane

{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} {$this->lang->words['m_posts']}
-->>
Сообщений: {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}

2. Либо в самом хуке поменять местами нужно значение и слово, либо в шаблоне.

1) Открываем шаблон userInfoPane из группы Глобальные:

Найти:


{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} {$this->lang->words['m_posts']}
Заменить на:

Сообщений: {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}
[/code] 2) Открываем шаблон ajaxThankedCount из группы Темы: Найти:
[code]
{$author['thanked']} {$this->lang->words['en30_thanks']}
[/code]
Заменить на:
[code]
Благодарностей: {$author['thanked']}
[/code]
3) Отключаем отображение предупреждений: в шаблоне userInfoPane найти:
[code]
<if test="authorwarn:|:$author['show_warn']">
<li>
<if test="$options['wl_id']">
<img src='{$this->settings['img_url']}/warn.png' class='clickable' onclick='warningPopup( this, {$options['wl_id']} )' title='{$this->lang->words['warnings_issued']}' />
</if>
<a class='desc lighter blend_links' href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;member={$author['member_id']}&amp;from_app={$this->request['app']}&amp;from_id1={$contentid}&amp;from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( $this->lang->words['warn_status'], $author['warn_level'] )"}</a>
</li>
</if>
[/code]
Заменить на:
[CODE]
<!-- <if test="authorwarn:|:$author['show_warn']">
<li>
<if test="$options['wl_id']">
<img src='{$this->settings['img_url']}/warn.png' class='clickable' onclick='warningPopup( this, {$options['wl_id']} )' title='{$this->lang->words['warnings_issued']}' />
</if>
<a class='desc lighter blend_links' href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;member={$author['member_id']}&amp;from_app={$this->request['app']}&amp;from_id1={$contentid}&amp;from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( $this->lang->words['warn_status'], $author['warn_level'] )"}</a>
</li>
</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.