Перейти в ipb_styles.css найти:
/* board stats */
#board_stats li {
background: #34495e;
padding: 3px;
color: rgb(255, 255, 255);
border: 1px solid rgb(52, 73, 94);
border-collapse: collapse;
border-radius: 1px;
margin: 3px;
width: 95%;
line-height: 20px;
}
#board_stats li:hover{
opacity: 0.9;
}
#board_stats .value {
display: inline-block;
color: #fff;
padding: 0px 8px;
font-weight: bold;
background: #2D2D2D;
border-radius: 1px;
margin-right: 3px;
float: right;
}
#board_stats .value:hover {
opacity: 0.9;
}
.statistics {
background: #FFFFFF;
padding: 10px 15px;
line-height: 1.3;
overflow: hidden;
}
.statistics_head {
font-weight: bold;
font-size: 14px;
color: #333232;
padding: 10px 10px 15px 5px;
margin: -10px -10px 10px;
background: url({style_images_url}/b.png) repeat-x bottom left;
}
.statistics {
border-top: 0;
}
#webaskfooter {
}
#webaskgroups {
width: 22%;
float: right;
padding: 2%;
}
#stats .extra {
color: #a2a2a2;
font-size: 0.9em;
}
#webaskonline, #webaskonlinetoday {
width: 33%;
float: left;
padding: 2%;
}
.webask_box {
background: #fff;
margin-bottom: 10px;
}
statistics {
line-height: 1.3;
}
Заменить на:
/* board stats */
#board_stats ul { text-align: center; }
#board_stats li { margin-right: 20px; }
#board_stats .value {
background: none repeat scroll 0 0 rgba(0, 0, 0, 0.1);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset, 0 1px 0 #FFFFFF;
-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset, 0 1px 0 #FFFFFF;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset, 0 1px 0 #FFFFFF;
color: #222222;
display: inline-block;
font-weight: bold;
margin-right: 3px;
padding: 3px 7px;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}
.statistics {
border: 3px solid #d8d8d8;
line-height: 1.3;
margin: 20px 0 0;
overflow: hidden;
padding: 8px;
}
.statistics_head {
border-bottom: 1px solid #d8d8d8;
border-top: 1px solid #d8d8d8;
text-shadow: rgba(255,255,255,0.8) 0px 1px 0px;
background: #eee;
font-size: 11px;
font-weight: bold;
padding: 8px;
margin: -8px -8px 8px -8px;
}
.statistics_head,
.statistics_head a{
color: #474747;
}
.statistics .statistics_head:first-of-type{
border-top: 0;
}
.statistics .statistics_head:not(:first-of-type){
margin-top: 0;
}
Перейти в Список форумов-boardIndexTemplate найти:
<div id="webaskfooter" style="overflow: auto;">
<div id='board_statistics' class='webask_box'>
<if test="showTotals:|:$this->settings['show_totals']">
<div id="webaskonline">
<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"}'>({$this->lang->words['online_link']})</a></if>
</p>
</if>
<br>
<p>
<span class='name'>{parse expression="implode( ",</span> <span class='name'>", $stats['NAMES'] )"}</span>
</p>
</if>
</div>
<if test="activeNames:|:count($stats['NAMES']) && $this->settings['show_active']"></if>
<div id="webaskgroups">
<div id='board_stats'>
<h4 class='statistics_head'>{$this->lang->words['board_stats']}</h4>
<ul class="ipsType_small ipsList_inline">
<li class="clear">{$this->lang->words['total_posts']}
<span class="value">{$stats['info']['total_posts']}</span></li>
<li class="clear">{$this->lang->words['total_members']}
<span class="value">{$stats['info']['mem_count']}</span></li>
<li class="clear">{$this->lang->words['newest_member']}
<a hovercard-ref="member" hovercard-id="2720" data-ipb="noparse" class="url fn name value ___hover___member _hoversetup" href='{$stats['info']['last_mem_link']}' title='{$this->lang->words['view_profile']}'>{$stats['info']['last_mem_name']}</a><span itemprop="name">{parse template="user_popup" group="global" params="$stats['info']['last_mem_id'],$stats['info']['last_mem_seo']"}</span></li>
<li class="clear">{$this->lang->words['online_at_once']}
<span class="value">{$stats['info']['most_online']}</span></li>
</ul>
</div></div>
</if>
</div>
Заменить на:
<div id='board_statistics' class='statistics clearfix'>
<ul id='stat_links' class='ipsList_inline right ipsType_small'>
<if test="statsLinks:|:1==1"> <!-- Hook point -->
<li><a href="{parse url="app=forums&module=extras&section=stats&do=leaders" base="public"}" title="{$this->lang->words['sm_forum_leaders_title']}">{$this->lang->words['sm_forum_leaders']}</a></li>
<li><a href="{parse url="app=forums&module=extras&section=stats" base="public"}" title="{$this->lang->words['sm_all_posters_title']}">{$this->lang->words['sm_today_posters']}</a></li>
<li><a href="{parse url="app=members&module=list&max_results=20&sort_key=posts&sort_order=desc&filter=ALL" base="public" seotitle="false"}" title="{$this->lang->words['sm_overall_posters_title']}">{$this->lang->words['sm_overall_posters']}</a></li>
<if test="reputationEnabled:|:$this->settings['reputation_enabled']">
<li>
<a href="{parse url="app=members&module=reputation&section=most" base="public" template="most_liked" seotitle="most_liked"}" title="<if test="reputationTypeTitle:|:$this->settings['reputation_point_types'] == 'like'">{$this->lang->words['most_rep_likes']}<else />{$this->lang->words['most_rep_rep']}</if>">
<if test="reputationType:|:$this->settings['reputation_point_types'] == 'like'">
{$this->lang->words['most_rep_likes']}
<else />
{$this->lang->words['most_rep_rep']}
</if>
</a>
</li>
</if>
</if>
</ul>
<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>
</div>
Перейти в Список форумов-hookMembersOnlineToday заменить все на:
<script type='text/javascript'>
function toggleMOT(elem)
{
Effect.toggle('mot_body', 'blind',{duration:.5, afterFinish: function(motb){
var hookLangCollapse = '{$this->lang->words['hookLangCollapse']}', hookLangExpand = '{$this->lang->words['hookLangExpand']}', vis = motb.element.visible();
if(vis) {
elem.update(hookLangCollapse);
ipb.Cookie.set( 'membersOnlineToday', , 1 );
}else{
elem.update(hookLangExpand);
ipb.Cookie.set( 'membersOnlineToday', 1, 1 );
}
}.bind(elem)});
}
</script>
<br />
<h4 class='statistics_head'>
{$this->lang->words['hookLangOnlineToday']} {$count}
<if test="$this->settings['expcol_mot']">
[<a href='#' onClick="toggleMOT(this); return false;"><if test="$state == 'collapsed'">{$this->lang->words['hookLangExpand']}<else />{$this->lang->words['hookLangCollapse']}</if></a>]
</if>
</h4>
<p id="mot_body"<if test="$this->settings['expcol_mot'] && $state == 'collapsed'"> class='collapsedMOT' style='display: none;'</if>>
<if test="$this->settings['mot_show_most_online']">{$this->lang->words['hookLangOnlineMostEver']}<br /><br /></if>
<if test="count($mems)">
{$this->lang->words['hookLangOnlineList']}<br />
<span class='name'>{parse expression="implode( ",</span>\n<span class='name'>", $mems )"}</span>
<else />
{$this->lang->words['hookLangOnlineTodayNone']}
</if>
</p>