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.

Recruitment open (ON) or closed (OFF} // Рекрутинг открыт (ВКЛ) или закрыт (ВЫКЛ)

Featured Replies

Posted

Hello. In this guide, I will write how to add padlock icons in subforums, i.e. recruitment status ON (open) / OFF (closed) in the Invision Community script.

Let's start. To begin with, we go to:

ACP --> Appearance --> Styles and Templates --> Edit HTML and CSS --> CSS tab --> custom --> custom.css

Paste the code below:

.ipsDataItem_subList > li > a:before {
  	font-family: 'FontAwesome';
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
  	margin-right: 3px;
  	opacity: 0.8;
  	line-height: 1;
    border-radius: 2px;
    color: #fff;
    font-size: 11px;
    padding: 4px 7px;
}
/* Administrator (Rekrutacja otwarta) */
[data-forumid="2"] .ipsDataItem_subList > li:nth-child(1) a:before {
	content: "\f09c";
   	background-color: #68a72f;
}
/* Moderator (Rekrutacja zamknięta) */
[data-forumid="2"] .ipsDataItem_subList > li:nth-child(2) a:before {
	content: "\f023";
   	background-color: #e14242;
}
/* Grafik (Rekrutacja zamknięta) */
[data-forumid="2"] .ipsDataItem_subList > li:nth-child(3) a:before {
	content: "\f023";
   	background-color: #e14242;
}

Click Save.

Attention. In the code, change the Department ID to your own.
Change in the above code "2" to your ID.

[data-forumid="ID"]

How do I know what ID a department has?
The department ID is visible in the URL of the forum. We enter the forum and in the URL we check what ID it has.

https://XXXX.pl/forum/ID-XXXx-dzialu/

The final effect:

image.png.d505f44d5065200071620399d2a7504e.png

 

Russian

Привет. В этом гайде я напишу, как добавить значки висячих замков в подфорумы, т.е. статус рекрутинга ВКЛ (открыт)/ВЫКЛ (закрыт) в скрипте Invision Community.

Давайте начнем. Для начала идем к:

ACP --> Внешний вид --> Стили и шаблоны --> Редактировать HTML и CSS --> вкладка CSS --> пользовательский --> custom.css

Вставьте код ниже:

.ipsDataItem_subList > li > a:before {
  	font-family: 'FontAwesome';
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
  	margin-right: 3px;
  	opacity: 0.8;
  	line-height: 1;
    border-radius: 2px;
    color: #fff;
    font-size: 11px;
    padding: 4px 7px;
}
/* Administrator (Rekrutacja otwarta) */
[data-forumid="2"] .ipsDataItem_subList > li:nth-child(1) a:before {
	content: "\f09c";
   	background-color: #68a72f;
}
/* Moderator (Rekrutacja zamknięta) */
[data-forumid="2"] .ipsDataItem_subList > li:nth-child(2) a:before {
	content: "\f023";
   	background-color: #e14242;
}
/* Grafik (Rekrutacja zamknięta) */
[data-forumid="2"] .ipsDataItem_subList > li:nth-child(3) a:before {
	content: "\f023";
   	background-color: #e14242;
}

Щелкните Сохранить.

Внимание. В коде измените ID отдела на свой.
Измените указанный выше код «2» на свой ID.

[данные-форумид = "ID"]

Как узнать, какой ID у отдела?
Идентификатор отдела отображается в URL-адресе форума. Заходим на форум и в URL проверяем, какой у него ID.

https://XXXX.pl/forum/ID-XXXx-dzialu/

Конечный эффект:

image.png.d505f44d5065200071620399d2a7504e.png

 

Credit to CzareK

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.