Перейти к публикации
View in the app

A better way to browse. Learn more.

Дизайн и модификация 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.

Раскрашиваем пользователей в темах

(0 отзывов)

В списке пользователей на главном экране они цветные (цвет группы), а в темах-сообщениях нет, непорядочек..

 

файл action_public/topics.php

 

найти

 

	//-----------------------------------------
// Fix up the membername so it links to the members profile
//-----------------------------------------

if ( $poster['id'] )
{

 

добавить после

 

		$poster['members_display_name_short'] = $this->ipsclass->make_name_formatted( $poster['members_display_name_short'], $poster['mgroup'] );

3 комментария

Рекомендованные комментарии

SharapoFF

Пользователи

Опубликовано:

чего-то не прокатывает...

 

у меня сейчас

$poster['_members_display_name'] = "<a href='{$this->base_url}showuser={$poster['id']}'>{$poster['members_display_name_short']}</a>";

 

заменяю на твою строку - просто пропадают юзернеймы

 

если просто твою строку добавить, то вообще ничего не происходит и не меняется...

 

Версия IP.Board v2.3.3

 

83679595.jpg

Buskopan

IPB Specialist

Опубликовано:

спасибо. Не то чтобы сумничать, но

 

(T31) Group Format 3.0.0 делает это все + раскрашивает имена пользователей в

 

* Portal

* Board Index

* Default Sidebar hooks (Recent Topics, Status updates, Top Posters, Watched Forums)

* Forum View

* Announcements

* Topic View

* Search

* Moderators

* Profile View

* Messenger

* Members List

* Online List

* User CP

* Statistics

* Report Center

* Warn Panel

 

Просто подумал, может Вы не в курсе.

granT566

Пользователи

Опубликовано:

А какой полный путь sources/action_public/topics.php? я просто новичок и немогу найти файл

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.