Jump to content
WebFlake
  • 0

I want to remove the statistics but after that Tabs dissapear.


Guest rAv3nzZ

Question

Guest rAv3nzZ

When i remove board_statistics and board_stats from boardindextemplate, my category tabs dissapear (Category Tabs by Tom Christian) example:

 

Default

8dQTq.png

 

With stats removed -

 

8dR04.png

 

 

Hopefully you can help me, i would be very thankful!

Edited by rAv3nzZ
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

It is because his hook is looking for this

	<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']">&nbsp;&nbsp;<a href='{parse url="app=members&amp;module=online&amp;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>

So I am guessing you removed it. Instead of removing all of it leave this

	<if test="showActive:|:$this->settings['show_active'] && $this->memberData['gbw_view_online_lists']"></if>
  • Upvote 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...