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

  • Author

thx_samec, яснопонятно.

Спасибо за подробное описание проблемы, скриншоты, приложенные в сообщение, ждите ответа экстрасенсов. 

А чего не понятного? Я ищу данные хуки. Тему читай внимательно

thx_samec, тебе уже скинули оба хука. Тебе они чем-то не понравились, никому не понятно чем. Ты просто написал, "МНЕ НЕ ПОДХОДИТ", как я должен понять, что тебе нужно, если это именно то, что на скринах?!

  • Author

Решение простое)
Заменить в hookRecentTopics * все на: 

<if test="recenttopics:|:is_array( $topics ) && count( $topics )">

<div id="category_bp" class="category_block block_wrap" style="width:500px;display:inline-block;margin-top:15px;margin-bottom:15px;max-height: 220px;float:right;">

<h3 class="maintitle">
<a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app=<if test="viewnewcontentapp:|:$this->registry->getCurrentApplication() != 'core' AND IPSLib::appIsSearchable( $this->registry->getCurrentApplication() )">{$this->registry->getCurrentApplication()}<else />forums</if>" base="public"}' accesskey='2' title='{$this->lang->words['view_new_posts']}'>
Актуальные статьи Форума
</a>
<a class="toggle right" href="#" title="{$this->lang->words['toggle_cat']}">
{$this->lang->words['toggle_cat']}
</a></h3>
	<div class='ipsBox table_wrap'>
        <div class='ipsBox_container' style="overflow-y:scroll; overflow-x:hidden;max-height: 150px;">

<foreach loop="topics_hook:$topics as $r">
<table class='ipb_table' width="100%" style="line-height:1;">
<tr>
<td width='30px'>
{parse template="userSmallPhoto" group="global" params="$r"}
</td>
<td width='160px'><div class='mort'>
<a href="{parse url="showtopic={$r['tid']}" base="public" template="showtopic" seotitle="{$r['title_seo']}"}" rel='bookmark' class='ipsType_small' title='{parse expression="strip_tags($r['topic_title'])"} {$this->lang->words['topic_started_on']} {parse date="$r['start_date']" format="LONG"}'>{$r['topic_title']}</a></div>
</td>
<td width='80px'>
<if test="$r['members_display_name']">{parse template="userHoverCard" group="global" params="$r"}<else />{$this->settings['guest_name_pre']}{$r['starter_name']}{$this->settings['guest_name_suf']}</if>
</td>
<td width='100px'><span style="font-size:12px; font-weight:300;">
{parse date="$r['start_date']" format="short"}</span>
</td>
</tr>
</table>
</foreach>
        
	</div>
        </div>
</div>
</if>
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.