Page 1 of 1

How to Hide Top Stats?

Posted: 13 Jun 2012, 00:22
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.

How to Hide Top Stats?

Posted: 13 Jun 2012, 20:48
by Stoker
Easiest way would be to wrap to html in:

Code: Select all

<!-- IF S_USER_LOGGED_IN -->
            	Code here
            <!-- ENDIF -->

How to Hide Top Stats?

Posted: 13 Jun 2012, 23:18
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 -->

How to Hide Top Stats?

Posted: 14 Jun 2012, 04:49
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 -->