Перейти до змісту
Домент ipb-board.ru продається.

Статистика

Рекомендовані відповіді

Опубліковано
  • Адміністратор

Админ Панель-Внешний вид-Ваш стиль-css-ipb_styles.css найти:

/* board stats */#board_stats ul {          width: 98%;         margin: 0 auto; }	#board_stats li {          margin-right: 20px;         padding: 3px;         border: 1px solid rgb(230, 230, 230);         border-collapse: collapse;         margin: 2px;         width: 100%;         border-radius: 3px;         line-height: 20px;}#board_stats .value {	 display: inline-block;         background-color: #34495e;         border: 1px solid rgb(226, 215, 215);         color: #fff;         padding: 0px 8px;         font-weight: bold;         -moz-border-radius: 4px;         -webkit-border-radius: 4px;         border-radius: 4px;         margin-right: 3px;         float: right;}#board_stats .value {         color: #fff;         font-weight: bold;}.statistics {         margin: 5px 5px 0 0;         padding: 10px 10px;         line-height: 1.3;         overflow: hidden;}	.statistics_head {         font-weight: bold;         font-size: 14px;         color: #333232;         padding: 5px 10px 20px 5px;         margin: -10px -10px 10px;         background: url({style_images_url}/b.png) repeat-x bottom left;}				.statistics {		border-top: 0;	}	#webaskfooter {}#webaskgroups {         width: 20%;         float: right;         padding: 2%;}#stats .extra {         color: #a2a2a2;         font-size: 0.9em;}#webaskonline, #webaskonlinetoday {         width: 34%;         float: left;         padding: 2%;}.webask_box {         background: #fff;         margin-bottom: 10px;}statistics {         line-height: 1.3;}		#stat_links{ font-weight: normal; }#stat_links a{ margin: 0 5px; }

Заменить на:

/* board stats */#board_stats ul { text-align: center; }	#board_stats li { margin-right: 20px; }	#board_stats .value {		display: inline-block;		background: #e2e2e2;		color: #4a4a4a;		padding: 2px 6px;		font-weight: bold;		-moz-border-radius: 2px;		-webkit-border-radius: 2px;		border-radius: 2px;		margin-right: 3px;	}.statistics {	margin: 20px 0 0 0;	padding: 10px 0;	border-top: 3px solid #d8d8d8;	line-height: 1.3;	overflow: hidden;}	.statistics_head {		font-size: 14px;		font-weight: bold;	}

Админ Панель-Внешний вид-Ваш стиль-Глобальные-boardIndexTemplate найти:

<div id="webaskfooter">		<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>

Заменить на:

<if test="showTotals:|:$this->settings['show_totals']">	<div id='board_stats'>				<ul class='ipsType_small ipsList_inline'>			<li class='clear'>				<span class='value'>{$stats['info']['total_posts']}</span>				{$this->lang->words['total_posts']}			</li>			<li class='clear'>				<span class='value'>{$stats['info']['mem_count']}</span>				{$this->lang->words['total_members']}			</li>			<li class='clear'>				{IPSMember::makeProfileLink( $stats['info']['last_mem_name'], $stats['info']['last_mem_id'], $stats['info']['last_mem_seo'], 'value' )}				{$this->lang->words['newest_member']}			</li>			<li class='clear' data-tooltip="{$stats['info']['most_time']}">				<span class='value'>{$stats['info']['most_online']}</span>				{$this->lang->words['online_at_once']}			</li>		</ul>	</div></if><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>
Гість
Ця тема закрита для опублікування відповідей.