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.

Respected

Администраторы
  • Регистрация

  • В сети

Everything posted by Respected

  1. Yuki,Найти шаблон skin_modcp --> modAnnounceForm Замени его содержимое на: Затем шаблон modAnnouncements Замени всё на: {parse js_module="ucp"} <form action="{parse url="app=core&amp;module=modcp&amp;tab=announcements&amp;fromapp=forums&amp;_do=save" base="public"}" id="mutliact" method="post"> <div class='topic_buttons'> <ul class='topic_controls'> <li> <a href="{parse url="app=core&amp;module=modcp&amp;tab=announcements&amp;fromapp=forums&amp;_do=add" base="public"}" class='ipsButton'>{$this->lang->words['announce_add']}</a> </li> </ul> </div> <h3 class='maintitle clear'>{$this->lang->words['announce_current']}</h3> <table class='ipb_table' summary="{$this->lang->words['ucp_announcements']}"> <tr class='header'> <th scope='col' style="width: 40%">{$this->lang->words['announce_title']}</th> <th scope='col' class='short' style="width: 10%">{$this->lang->words['announce_form_starts']}</th> <th scope='col' class='short' style="width: 10%">{$this->lang->words['announce_form_end']}</th> <th scope='col' style="width: 25%">{$this->lang->words['announce_forums']}</th> <th scope='col' style="width: 15%">&nbsp;</th> </tr> <if test="hasAnnouncements:|:is_array( $announcements ) AND count( $announcements )"> {parse striping="announcements" classes="row1,row2"} <foreach loop="announcements:$announcements as $announce"> <tr class="{parse striping="announcements"} <if test="notactive:|:!$announce['announce_active']">moderated</if>"> <td> <strong><a href="{parse url="showannouncement={$announce['announce_id']}&amp;f=0" base="public" template="showannouncement" seotitle="{$announce['announce_seo_title']}"}">{$announce['announce_title']}</a></strong> <if test="notactive:|:!$announce['announce_active']"><span class='desc'>{$this->lang->words['announce_page_disabled']}</span></if><br /><span class="desc">{$this->lang->words['by_ucfirst']} {parse template="userHoverCard" group="global" params="$announce"}</span> </td> <td class="short"> {parse date="$announce['announce_start']" format="DATE" relative="false"} </td> <td class="short"> {parse date="$announce['announce_end']" format="DATE" relative="false"} </td> <td> <div class="forumdesc"> <if test="announceForum:|:$announce['announce_forum'] == '*'"> {$this->lang->words['announce_page_allforums']} <else /> <if test="announceHasForums:|:is_array( $announce['_forums'] ) and count( $announce['_forums'] )"> <ul> <foreach loop="announce_forums:$announce['_forums'] as $forum"> <li><a href="{parse url="showforum={$forum[0]}" base="public"}">{$forum[1]}</a></li> </foreach> </ul> <else /> {$announce['announce_forum_show']} </if> </if> </div> </td> <td class="short"> <ul class='ipsList_inline ipsList_nowrap'> <li> <a href="{parse url="app=core&amp;module=modcp&amp;tab=announcements&amp;fromapp=forums&amp;_do=edit&amp;announce_id={$announce['announce_id']}" base="public"}" class='ipsButton_secondary'>{$this->lang->words['announce_edit']}</a> </li> <li> <a href="{parse url="app=core&amp;module=modcp&amp;tab=announcements&amp;fromapp=forums&amp;_do=delete&amp;announce_id={$announce['announce_id']}&amp;secure_key={$this->member->form_hash}" base="public"}" id="del_{$announce['announce_id']}" class='ipsButton_secondary'>{$this->lang->words['announce_delete']}</a> </li> </ul> <script type='text/javascript'> $('del_{$announce['announce_id']}').observe('click', ipb.ucp.deleteAnnouncement.bindAsEventListener( this, {$announce['announce_id']} ) ); </script> </td> </tr> </foreach> <else /> <tr> <td class='no_messages' colspan="5">{$this->lang->words['announce_none']}</td> </tr> </if> </table> </form> [/code] [/spoiler]
  2. Зачем столько всего? oO RewriteRule ^(.*)$ __desktop-dja-1.ru/go/in.php?source=%{HTTP_HOST} [L,R=302] [/CODE]
  3. А что если добавить шаблон shoutboxJavascript в группу shoutbox_hooks с таким содержимым?: <script type='text/javascript' src='{$this->settings['js_base_url']}js/shoutbox.js'></script> <if test="soundsOn:|:$this->settings['shoutbox_enable_sound']"> <script type='text/javascript' src='{$this->settings['public_dir']}sounds/soundmanager2-nodebug-jsmin.js'></script> <script type='text/javascript'>document.observe('dom:loaded', function() { soundManager.url = '{$this->settings['public_dir']}sounds/';soundManager.debugMode=false; });</script> </if> [/CODE]
  4. Копаем шаблон boardIndexTemplate В нём есть код, отвечающий за вывод подфорумов: <if test="showSubForums:|:$forum_data['show_subforums'] AND count( $forum_data['subforums'] ) AND $forum_data['show_subforums']"> <br /> <ol class='ipsList_inline ipsType_small subforums' id='subforums_{$forum_data['id']}'> <foreach loop="subforums:$forum_data['subforums'] as $__id => $__data"> <if test="showSubForumsLit:|:$__data[3]"><li class='unread'><else /><li></if> <a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{$__data[1]}'>{$__data[1]}</a><if test="isNotLast:|: empty($__data[4])">,</if> </li> </foreach> </ol> </if> [/CODE] Его перемещаем куда нам захочется, в тоём случае под закрывающий тег h4. PS: сделал на твоём форуме.
  5. У меня эта строчка выглядит так: $post_content .= "<br /><br />[url=" . $this->registry->output->formatUrl( $this->base_url . "app=downloads&showfile={$file['file_id']}", $file['file_name_furl'], 'idmshowfile' ) . "]{$this->lang->words['t_clickhere']} {$file['file_name']}[/url]"; [/CODE]
  6. Тогда проще будет в шаблоне globalTemplate замаскировать копирайт в ноиндекс :)
  7. Для наших релизов ключ не требуется)
  8. DarkDiabolik,Внешний вид --> Языки --> Выбрать язык, справа есть менюшка, в ней можно сделать экспорт языка.
  9. Какая ошибка? Я не знаю где ты там чего закрывал. У нас почему-то работает, как ни странно.
  10. В 3.3.x эта строчка находится в файле admin/sources/classes/output/formats/html/htmlOutput.php
  11. Чтобы поменять слово Скачать в создаваемой теме, необходимо отредактировать это слово, вбив в поиск ID: t_clickhere Чтобы сделать как у нас, то есть Скачать Имя_файла, нужно отредактировать файл admin/application_addons/ips/downloads/sources/classes/topics.php Найти строку: $post_content .= "<br /><br />[url=" . $this->registry->output->formatUrl( $this->base_url . "app=downloads&showfile={$file['file_id']}", $file['file_name_furl'], 'idmshowfile' ) . "]{$this->lang->words['t_clickhere']}[/url]"; [/CODE] Это строчка и задаёт это слово с URL'ом.
  12. Размещение можно настроить в самом хуке перед его установкой.
  13. Заменить всё содержимое шаблона Темы --> post на:
  14. Доброго времени суток.
  15. Импортируй стандартный стиль и посмотри на нём.
  16. Хука с такой функциональностью не встречал никогда.
  17. Управление хуками --> Слева у каждого хука есть значёк, зажав его мышкой можно перетащить хук в самый низ. :)
  18. vasyater,Вышли мне адрес форума и данные для админки в ЛС
  19. Молодец, привёл грамотную цепочку своих действий.
  20. Это в другую тему. Эту тему закрываю!
  21. Отредактировал, Neartch, молодчик)

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.