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.

ntamero

Новичок
  • Регистрация

  • В сети

Reputation Activity

  1. Like
    ntamero reacted to KitsuneSolar for файл, (CSI/IPS/BBCODE) Кнопка загрузки   
    Лицензия: _creativecommons.org/licenses/by-nc-nd/4.0/

    BB-код позволяет вставить в сообщение красиво оформленную кнопку загрузки.

    Принцип действия

    Когда Вы указываете значения в тегах:
    [download=URL] ... [/download]
    , создаётся кнопка для загрузки информации по указанному URL.


    В этом дополнении используются иконки "Font Awesome". Для подключения иконок "Font Awesome" необходимо установить hook .

    Основные особенности:
    необходимо указать ссылку для загрузки;
    необходимо указать текст на кнопке загрузки.

    После установки BB-кода, необходимо в custom.css (или ipb_styles.css) добавить следующий код:
    /** - * BBCode: Download Button - * By CYBERSPACE Industries - * ------------------------------------------------------------------------- */ .bbc_btn_download { display: inline-block; } .bbc_btn_download a.bbc_url { display: inline-block; padding-right: 15px; border-radius: 3px; background-color: #7266ba; color: #fff; text-decoration: none; } .bbc_btn_download i.fa { margin-right: 15px; padding: 10px 15px; background-color: rgba(0,0,0,.1); } .bbc_btn_download a.bbc_url:hover { background-color: #6254b2; } .bbc_btn_download a.bbc_url:active { box-shadow: inset 0 3px 5px rgba(0,0,0,.125) }

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.