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

Спасибо!

Поставил, всё работает как часы. smile9.gif

 

Правда стал немного притормаживать форум (на 0,5 - 1 сек.)

Ну потестим, вещь в хозяйсте нужная.

  • 7 месяцев спустя...

Может кому полезно будет, решил объединить блок "последние темы" и кнопку "последние публикации"  т.к. в моем стиле изначально не было ссылки/кнопки "последние публикации"

 

АЦ-Внешний вид-ваш стиль-шаблоны-список форумов-hooksos_topicosrecentes_tema1

ищем:

<h3 class='maintitle'>
	<span class="right"><ul class="ipsFilterbar ipsList_inline ipsType_small">
	<if test="$this->memberData['member_group_id'] == 4"><li><a href="{parse url="app=core&amp;module=usercp&amp;tab=core&amp;area=recenttopics" base="public"}" rel="nofollow"><img src='__ipbmafia.ru/public/style_images/mafiaboard/cog.png' title='{$this->lang->words['recenttopics_settings']}' alt='+' /></a></li></if>
	                <a class='toggle right' href='#' title="{$this->lang->words['toggle_cat']}">
	        {$this->lang->words['toggle_cat']}</a></ul>
	                        </span>
	{$this->settings['topicosrecentes_title']} </h3>

в конце после {$this->settings['topicosrecentes_title']} вставляем:

<li id='nav_explore' class='left' style='list-style-type: none;'>
                            <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"}' title='{$this->lang->words['view_new_posts']}'>Последние обсуждения</a> </li>

в настройках Recent Topics убираем название "последние обсуждения" (или какое у вас стоит

 

post-24782-0-63550900-1429234354_thumb.p

 

результат:

 

post-24782-0-48683000-1429234277_thumb.p

  • 9 месяцев спустя...
  • 4 месяца спустя...
В 11.06.2014 в 20:39, Andross сказал:

:D вот я идиот!!!

В настройках не выставил группы,которым доступен хук!

Так что извиняюсь за 2 тупых сообщения :D

А как выставить группы, которым он будет доступен? Что-то я в настройках не могу найти этого.

  • 1 year later...

Проблема ( 

GET http://ссылка/public/js/ips.recentTopicsHook.js net::ERR_ABORTED
(index):375 Uncaught TypeError: Cannot set property 'updateInterval' of undefined
    at (index):375

<script type="text/javascript">
    ipb.recentTopics.updateInterval = parseInt( 0 );
        ipb.recentTopics.maxElements    = parseInt( 3 );
    ipb.recentTopics.img_disable    = parseInt(1);
</script>

7 минут назад, XyiVam сказал:

Проблема ( 

GET http://ссылка/public/js/ips.recentTopicsHook.js net::ERR_ABORTED
(index):375 Uncaught TypeError: Cannot set property 'updateInterval' of undefined
    at (index):375

<script type="text/javascript">
    ipb.recentTopics.updateInterval = parseInt( 0 );
        ipb.recentTopics.maxElements    = parseInt( 3 );
    ipb.recentTopics.img_disable    = parseInt(1);
</script>

и как это понимать?

  • 3 месяца спустя...

Как можно сделать или добавить условие: Если тема прочитано после обнавлении, штоб он не показывалось до ногое обнавление, а показывалось уже другой тема, каторый обнавилось и не прочитано.

  • 1 year later...
В 16.04.2015 в 09:21, rustav сказал:

Может кому полезно будет, решил объединить блок "последние темы" и кнопку "последние публикации"  т.к. в моем стиле изначально не было ссылки/кнопки "последние публикации"

 

АЦ-Внешний вид-ваш стиль-шаблоны-список форумов-hooksos_topicosrecentes_tema1

ищем:


<h3 class='maintitle'>
	<span class="right"><ul class="ipsFilterbar ipsList_inline ipsType_small">
	<if test="$this->memberData['member_group_id'] == 4"><li><a href="{parse url="app=core&amp;module=usercp&amp;tab=core&amp;area=recenttopics" base="public"}" rel="nofollow"><img src='__ipbmafia.ru/public/style_images/mafiaboard/cog.png' title='{$this->lang->words['recenttopics_settings']}' alt='+' /></a></li></if>
	                <a class='toggle right' href='#' title="{$this->lang->words['toggle_cat']}">
	        {$this->lang->words['toggle_cat']}</a></ul>
	                        </span>
	{$this->settings['topicosrecentes_title']} </h3>

в конце после {$this->settings['topicosrecentes_title']} вставляем:


<li id='nav_explore' class='left' style='list-style-type: none;'>
                            <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"}' title='{$this->lang->words['view_new_posts']}'>Последние обсуждения</a> </li>

в настройках Recent Topics убираем название "последние обсуждения" (или какое у вас стоит

 

post-24782-0-63550900-1429234354_thumb.p

 

результат:

 

post-24782-0-48683000-1429234277_thumb.p

Можешь помочь?не отоброжается вывод новых тем в мобильном версии

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Ответить в этой теме...

Последние посетители 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.