Jump to content
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.

Как увеличить число тем в правом блоке (последние темы)

вот по этому способу не получается:

 

попробуйте в файле ./admin/applications/forums/sources/classes/forums/class_forums.php поменять число "5" в строке:

 

$_topics = array_slice( $topicIDs, 0, 5 );

 

Ни кто не подскажет как сделать так, чтобы выводилось 10 тем, где поменять это значение?

Featured Replies

В том-же файле найдите строчку-

public function hooks_recentTopics( $topicCount=5, $output=true )

(у меня в нотепад++ это строка 2346)

Смените 5 на нужное вам.

  • Author

В том-же файле найдите строчку-

public function hooks_recentTopics( $topicCount=5, $output=true )

(у меня в нотепад++ это строка 2346)

Смените 5 на нужное вам.

Вот спасибо вам огромное, а то уже и не знал что делать.

  • 6 months later...

Подскажите, плиз, а как сделать так, чтобы темы выводились из определенных разделов (включая подкатегории)?

 

Буду очень признателен

  • 1 month later...

Спасибо @Prizrak, всё работает +1.

  • 5 years later...

В том-же файле найдите строчку-

public function hooks_recentTopics( $topicCount=5, $output=true )

(у меня в нотепад++ это строка 2346)Смените 5 на нужное вам.

Извините, а где найти этот файл?

Извините, а где найти этот файл?

В стартовом посте указан путь до файла

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.