For some who would have installed the style of sniper_E proBlue and you want or installed the extension of rmgirc (24 hour activity stats) you will not have in a 24 hour activity stats box as well as the collapse, with this addons you will have your box with collpase !!
Find Open styles/problue/template/index_body.html
Code: Select all
<!-- EVENT index_body_stat_blocks_after -->
Add after Add these lines on a new blank line after the preceding line(s) to find
Code: Select all
<!-- IF S_CAN_VIEW_24_HOURS -->
<div id="stat-block 24stats_h" class="stat-block 24stats panel" style="display: none">
<h3 style="border-bottom: none"><i class="icon fa-area-chart fa-fw" aria-hidden="true"></i><span>{L_TWENTYFOURHOUR_STATS}</span><a onclick="javascript:ShowHide('stat-block 24stats','stat-block 24stats_h','stat-block 24stats');" style="cursor:pointer;"><span class="index-download"></span></a></h3>
</div>
<div id="stat-block 24stats" class="stat-block 24stats panel">
<script type="text/javascript">
<!--
tmp = 'stat-block 24stats';
if(GetCookie(tmp) == '2')
{
ShowHide('stat-block 24stats', 'stat-block 24stats_h', 'stat-block 24stats');
}
//-->
</script>
<h3><i class="icon fa-area-chart fa-fw" aria-hidden="true"></i><span>{L_TWENTYFOURHOUR_STATS}</span><a onclick="javascript:ShowHide('stat-block 24stats','stat-block 24stats_h','stat-block 24stats');" style="cursor:pointer;"><span class="index-upload"></span></a></h3>
<!-- EVENT index_body_block_stats_prepend -->
<p>{HOUR_POSTS} • {HOUR_TOPICS} • {HOUR_USERS}
<br>{USERS_24HOUR_TOTAL} {GUEST_ONLINE_24} {L_LAST_24_HOURS}{L_COLON} <!-- IF not USERS_ACTIVE -->{L_NO_ONLINE_USERS}<!-- ELSE --><!-- BEGIN lastvisit -->{lastvisit.USERNAME_FULL}<!-- IF not lastvisit.S_LAST_ROW -->{L_COMMA_SEPARATOR} <!-- ENDIF --><!-- END lastvisit --><!-- ENDIF -->
</p>
<!-- EVENT index_body_block_stats_append -->
</div>
<!-- ENDIF -->

After :


