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.

Highlighting a given group in posts in IPS 4 // Выделение данной группы в постах в IPS 4

Featured Replies

Posted

Здравствуйте, некоторые люди ищут это решение и находят только плагин форматирования сообщений для группы пользователей - Утилиты и статистика - Invision Community

Я подготовил для вас готовый код, который вы можете по своему желанию отредактировать на свой вкус, на данный момент подсветка заданной группы в постах в этом примере выглядит так:

VIP:

image.png.d3681a7a8454325a85e0ecb80be7aedd.png.ae19207257ec0cc0e482c2d96184e1c4.png

Владелец:

image.png.ddab4f6a17ea12384200fb62fc07983e.png.62bea414bb0d7a63f305ac2d5be802c1.png

Ваш шаблон -> Редактировать HTML/CSS -> CSS -> core -> front -> custom ->custom.css

и вставьте следующий код:

/* Podświetlanie grup w postach */

/* Wlasciciel */
.ipsComment_highlighted:not(.ipsBox_transparent):not(.ipsModerated):not(.ipsComment_selected):not(.ipsComment_popular )[data-membergroup="4"] {
  border: 1px solid #CC0033;
  box-shadow: 0 0 3.5rem 0.5rem rgba(255, 0, 0,0.5);
} 
/* VIP */
.ipsComment_highlighted:not(.ipsBox_transparent):not(.ipsModerated):not(.ipsComment_selected):not(.ipsComment_popular )[data-membergroup="9"] {
    border: 1px solid #e7ff00;
    box-shadow: 0 0 3.5rem 0.5rem rgba(255, 224, 0,0.5);
}

data-membergroup="4"  отвечает за идентификатор группы.

Помните, что для данной группы должны быть включены следующие настройки:

image.png.15af9a2364bee144a76acb737e8965f6.png.ff3d5d6a47cc8731d7f9c0ad11f03bf6.png

 

ENGLISH:

Hello, some people are looking for this solution and only find Post Formatting per User Group plugin - Utilities and Stats - Invision Community

I have prepared a ready-made code for you that you can voluntarily edit to your tastes, currently the highlighting of a given group in posts in this example looks like this:

VIP:

image.png.d3681a7a8454325a85e0ecb80be7aedd.png.ae19207257ec0cc0e482c2d96184e1c4.png

Owner:

image.png.ddab4f6a17ea12384200fb62fc07983e.png.62bea414bb0d7a63f305ac2d5be802c1.png

Your template -> Edit HTML/CSS -> CSS -> core -> front -> custom ->custom.css

and paste the following code:

/* Podświetlanie grup w postach */

/* Wlasciciel */
.ipsComment_highlighted:not(.ipsBox_transparent):not(.ipsModerated):not(.ipsComment_selected):not(.ipsComment_popular )[data-membergroup="4"] {
  border: 1px solid #CC0033;
  box-shadow: 0 0 3.5rem 0.5rem rgba(255, 0, 0,0.5);
} 
/* VIP */
.ipsComment_highlighted:not(.ipsBox_transparent):not(.ipsModerated):not(.ipsComment_selected):not(.ipsComment_popular )[data-membergroup="9"] {
    border: 1px solid #e7ff00;
    box-shadow: 0 0 3.5rem 0.5rem rgba(255, 224, 0,0.5);
}

data-membergroup="4" is responsible for the group ID.

Remember that a given group should have the following setting enabled:

image.png.15af9a2364bee144a76acb737e8965f6.png.ff3d5d6a47cc8731d7f9c0ad11f03bf6.png

 

credit to RumcajsJumper

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.