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.

balfear

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

  • В сети

Everything posted by balfear

  1. [Использую Invision Community v4.2.6 NULLED] Тоже понадобилась html разметка в rss, не нашел каких-либо решений, сделал так: - Получаем содержимое поста из БД. - Пропускаем через фильтр сохраняя нужные теги, остальные удаляются. - Заменяем внутренние ссылки c fileStore.core_Attachment на forum/uploads. Изменить файл: /system/Content/Search/Result/Content.php public function addToRssFeed( \IPS\Xml\Rss $document ) { $class = $this->indexData['index_class']; $object = $class::load( $this->indexData['index_object_id'] ); $object_id = $this->indexData['index_object_id']; /* Обращаемся к БД и получаем текст поста с HTML разметкой */ $select = \IPS\Db::i()->select( 'post', 'forums_posts', "pid = $object_id" )->first(); /* Указываем теги которые необходимо сохранить, остальные удаляются */ $select = strip_tags($select, '<p><br><ul><li><font><strong><s><b><img>'); /* Заменяем ссылки изображений */ $select = preg_replace('/fileStore.core_Attachment/', "forum/uploads", $select); $document->addItem( $object instanceof \IPS\Content\Comment ? $object->item()->mapped('title') : $object->mapped('title'), $object->url(), $select, \IPS\DateTime::ts( $this->indexData['index_date_created'] ) ); }

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.