How to Hide Top Stats?

Download and support for PhpBB3 Top Stats Mod
Locked
User avatar
Rhyno
BBCoder III
BBCoder III
Posts: 100
Joined: 25 Jan 2012, 06:06
BBCodes: 10
Favourite MOD: Top Stats
Location: Australia
Contact:

How to Hide Top Stats?

Post by Rhyno »

Heya All

How can i hide from guests :

Most Active Users
Last Visited Bots
Last Registered Users

The rest of the top stats is fine however and they don't show.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3540
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

How to Hide Top Stats?

Post by Stoker »

Easiest way would be to wrap to html in:

Code: Select all

<!-- IF S_USER_LOGGED_IN -->
            	Code here
            <!-- ENDIF -->
Board rules! No PM support
User avatar
Rhyno
BBCoder III
BBCoder III
Posts: 100
Joined: 25 Jan 2012, 06:06
BBCodes: 10
Favourite MOD: Top Stats
Location: Australia
Contact:

How to Hide Top Stats?

Post by Rhyno »

Could you give me and example using my code below?

Code: Select all

<!-- IF S_TSLVB_ENABLE or S_TSLRU_ENABLE -->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<!-- IF S_TSLVB_ENABLE -->
<td valign="top"<!-- IF S_TSLVB_ENABLE --> style="padding-right:2px; width:50%"<!-- ENDIF -->>
{$SKIN_CAT_HEADER_OPEN}	{L_LAST_VISITED_BOTS} {$SKIN_CAT_HEADER_CLOSE}
	<div class="forabg">
		<div class="sub-left"><div class="sub-right">
		<ul class="topiclist">
			<li class="header">
				<dl class="icon">
					<dt style="width:98%;">{TSLVB_NUMBER} {L_LAST_VISITED_BOTS}</dt>
				</dl>
			</li>
		</ul>
		</div></div>	
	    <div class="v-left"><div class="v-right">
	    <div class="trigger active"></div>
		<div class="collapsethis">	
		<ul class="topiclist forums">
			<!-- BEGIN last_visited_bots -->
			<li class="row">
			<dl>
				<dt style="width:98%;">
					<span style="float:left; font-size:1.1em; font-weight:bold; color: #{last_visited_bots.USER_COLOUR};">{last_visited_bots.USERNAME}</span>
					<span style="float:right; font-size:1.1em;">{last_visited_bots.USER_LAST_VISIT}</span>
				</dt>
			</dl>
			</li>
			<!-- END last_visited_bots -->
		</ul>
		</div></div></div>
		<div class="c-f-l"><div class="c-f-r"><div class="c-f-c"></div></div></div>
	</div>
</td>
<!-- ENDIF -->
User avatar
jabhi
BBCoder II
BBCoder II
Posts: 69
Joined: 16 Mar 2012, 09:13
BBCodes: 3
Favourite BBCode: pdf
Favourite MOD: pretty photo

How to Hide Top Stats?

Post by jabhi »

I am not sure, but try this :

Code: Select all

<!-- IF S_USER_LOGGED_IN -->
<!-- IF S_TSLVB_ENABLE or S_TSLRU_ENABLE -->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<!-- IF S_TSLVB_ENABLE -->
<td valign="top"<!-- IF S_TSLVB_ENABLE --> style="padding-right:2px; width:50%"<!-- ENDIF -->>
{$SKIN_CAT_HEADER_OPEN}   {L_LAST_VISITED_BOTS} {$SKIN_CAT_HEADER_CLOSE}
   <div class="forabg">
      <div class="sub-left"><div class="sub-right">
      <ul class="topiclist">
         <li class="header">
            <dl class="icon">
               <dt style="width:98%;">{TSLVB_NUMBER} {L_LAST_VISITED_BOTS}</dt>
            </dl>
         </li>
      </ul>
      </div></div>   
       <div class="v-left"><div class="v-right">
       <div class="trigger active"></div>
      <div class="collapsethis">   
      <ul class="topiclist forums">
         <!-- BEGIN last_visited_bots -->
         <li class="row">
         <dl>
            <dt style="width:98%;">
               <span style="float:left; font-size:1.1em; font-weight:bold; color: #{last_visited_bots.USER_COLOUR};">{last_visited_bots.USERNAME}</span>
               <span style="float:right; font-size:1.1em;">{last_visited_bots.USER_LAST_VISIT}</span>
            </dt>
         </dl>
         </li>
         <!-- END last_visited_bots -->
      </ul>
      </div></div></div>
      <div class="c-f-l"><div class="c-f-r"><div class="c-f-c"></div></div></div>
   </div>
</td>
<!-- ENDIF -->
<!-- ENDIF -->
Go phpBB go... Respected : Developers, Supporters.
Locked