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.

И так, в этой инструкции мы проделаем чередование цветов форумов, как это было в IP.Board 3.1.x и прошлых версиях..

Для этого нам понадобится отредактировать шаблон Board Index --> boardIndexTemplate и CSS --> ipb_styles.css

1. Открываем boardIndexTemplate и находим в нём сточку:

<foreach loop="categories:$cat_data as $_data">


Ниже вставляем:

{parse striping="catTable" classes="row1,row2"}



Ищем далее в этом шаблоне:

unread<else>notnew'>


Добавляем после:

<tr class='{parse striping="catTable"}'>



Далее ищем:

</td>
<td class='col_c_stats ipsType_small'>


Заменяем на:

</td></td>
<td class='col_c_stats ipsType_small'>



2. Теперь открываем ipb_styles.css и в самый низ добавляем:

.row1, .row1 td {
background-color: #fafbfc;
}

.row1 .altrow, .row1.altrow {
background-color: #eef3f8; 
}

.row2, .row2 td, .post_block.row2 {
background-color: #f1f4f7;
}

.row2 .altrow, .row2.altrow {
background-color: #e4ebf2;
}



Стили взяты из стандартного шаблона IP.Board 3.1.x, вы можете отредактировать их как вам захочется

User Feedback

Recommended Comments

Комментариев пока нет

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
Добавить комментарий...

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.