Skip to content

Как убрать лишнее из статистики?

Как убрать лишнее из статистики?

post-57291-0-99312500-1419055629_thumb.jpg

Featured Replies

Шаблон boardIndexTemplate

Все, что на скриншоте

 	<if test="showActive:|:$this->settings['show_active'] && $this->memberData['gbw_view_online_lists']">
		<h4 class='statistics_head'>{parse expression="sprintf( $this->lang->words['online_right_now'], $stats['TOTAL'] )"} {$this->lang->words['active_users']}</h4>
		<p class='statistics_brief desc'>
			{parse expression="sprintf( $this->lang->words['active_users_detail'], $stats['MEMBERS'], $stats['GUESTS'], $stats['ANON'] )"}
			<if test="onlineListEnabled:|:$this->settings['allow_online_list']">  <a href='{parse url="app=members&module=online&sort_order=desc" base="public"}' title='{$this->lang->words['online_link']}'>({$this->lang->words['online_link']})</a></if>
		</p>
	</if>
	<if test="activeNames:|:count($stats['NAMES']) && $this->settings['show_active']">
		<br />
		<p>
			<span class='name'>{parse expression="implode( ",</span> <span class='name'>", $stats['NAMES'] )"}</span>
		</p>
	</if>

 

Надеюсь, сами разберетесь, какой код за что отвечает.

$this->settings['show_active'] - судя по всему, этой настройкой можно отключить весь блок.

Оптимизация нагрузки на сервер -> Показывать активных пользователей?

$this->settings['show_active'] - судя по всему, этой настройкой можно отключить весь блок.

Оптимизация нагрузки на сервер -> Показывать активных пользователей?

        <h4 class='statistics_head'>{parse expression="sprintf( $this->lang->words['online_right_now'], $stats['TOTAL'] )"} {$this->lang->words['active_users']}</h4>

Должно остаться, судя по скриншоту.

  • Author

Спасибо добрый человек!)

Create an account or sign in to comment

Account

Navigation

Search

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.