Jump to content

Featured Replies

Как подправить нижнюю часть форума?

с такого

do.JPG

на такой???

posle.JPG

 

 

 

Link to comment
https://ipbmafia.ru/topic/15105-metro-ui-pomosh-po-shablonu/
Share on other sites

1. АЦ - Внешний вид - стиль - CSS - ipb_styles.css

Спойлер

Найти:


.statistics {
	margin: 5px 5px 0 0;
	padding: 10px 10px;
	line-height: 1.3;
	overflow: hidden;
}

Заменить на:


statistics {
	margin: 20px 0 0 0;
	padding: 10px 0;
	border-top: 3px solid #d8d8d8;
	line-height: 1.3;
	overflow: hidden;
}

Удалить:


#stats { 
	border-left: 1px solid #e4ebf2;
	padding-left: 20px;
	width: 33%;
	float: right;
}

	#stats dl {
		margin-left: 10px;
	}

	#stats dt,
	#stats dd { 
		border-top: 1px solid #dedede;
		font-size: 0.85em;
		padding: 6px 2px;
		float: left;
		width: 45%;
	}

	#stats dt { 
		font-weight: bold;
		clear: both;
	}

	#stats .extra { 
		color: #a2a2a2;
		font-size: 0.9em;
	}

 

2. Сохраняем и переходим к АЦ - Внешний вид - стиль - Список форумов - boardIndexTemplate

Спойлер

Найти:


<h3 class='maintitle'>&nbsp;
	<ul id='stat_links' class='ipsList_inline right ipsType_small'>
		<if test="statsLinks:|:1==1"> <!-- Hook point -->
			<li><a href="{parse url="app=forums&amp;module=extras&amp;section=stats&amp;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&amp;module=extras&amp;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&amp;module=list&amp;max_results=20&amp;sort_key=posts&amp;sort_order=desc&amp;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&amp;module=reputation&amp;section=most" base="public" template="most_liked" seotitle="most_liked"}">
						<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>
</h3>
	
<div class='ipsBox table_wrap'>
	<div class='ipsBox_container'>
		<div id='board_statistics' class='statistics general_box'>
			<if test="showTotals:|:$this->settings['show_totals']">
				<div id='stats'>
					<h4 class='statistics_head'>{$this->lang->words['board_stats']}</h4>
					<dl>
						<dt>{$this->lang->words['total_posts']}</dt>
						<dd>{$stats['info']['total_posts']}</dd>
						<dt>{$this->lang->words['total_members']}</dt>
						<dd>{$stats['info']['mem_count']}</dd>
						<dt>{$this->lang->words['newest_member']}</dt>
						<dd><a href='{$stats['info']['last_mem_link']}' title='{$this->lang->words['view_profile']}'>{$stats['info']['last_mem_name']}</a>{parse template="user_popup" group="global" params="$stats['info']['last_mem_id'],$stats['info']['last_mem_seo']"} </dd>
						<dt>{$this->lang->words['online_at_once']}</dt>
						<dd>{$stats['info']['most_online']}<br /><span class='extra'>{$stats['info']['most_time']}</span></dd>
					</dl>
				</div>
			</if>	

			<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']">&nbsp;&nbsp;<a href='{parse url="app=members&amp;module=online&amp;sort_order=desc" base="public"}'>({$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>
	</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&amp;module=extras&amp;section=stats&amp;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&amp;module=extras&amp;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&amp;module=list&amp;max_results=20&amp;sort_key=posts&amp;sort_order=desc&amp;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&amp;module=reputation&amp;section=most" base="public" template="most_liked" seotitle="most_liked"}">
						<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']">&nbsp;&nbsp;<a href='{parse url="app=members&amp;module=online&amp;sort_order=desc" base="public"}'>({$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>

 

Сохранить.

Edited by benix

Link to comment
https://ipbmafia.ru/topic/15105-metro-ui-pomosh-po-shablonu/?&do=findComment&comment=111414
Share on other sites
1 час назад, benix сказал:

1. АЦ - Внешний вид - стиль - CSS - ipb_styles.css

  Скрыть контент

Найти:



.statistics {
	margin: 5px 5px 0 0;
	padding: 10px 10px;
	line-height: 1.3;
	overflow: hidden;
}

Заменить на:



statistics {
	margin: 20px 0 0 0;
	padding: 10px 0;
	border-top: 3px solid #d8d8d8;
	line-height: 1.3;
	overflow: hidden;
}

Удалить:



#stats { 
	border-left: 1px solid #e4ebf2;
	padding-left: 20px;
	width: 33%;
	float: right;
}

	#stats dl {
		margin-left: 10px;
	}

	#stats dt,
	#stats dd { 
		border-top: 1px solid #dedede;
		font-size: 0.85em;
		padding: 6px 2px;
		float: left;
		width: 45%;
	}

	#stats dt { 
		font-weight: bold;
		clear: both;
	}

	#stats .extra { 
		color: #a2a2a2;
		font-size: 0.9em;
	}

 

2. Сохраняем и переходим к АЦ - Внешний вид - стиль - Список форумов - boardIndexTemplate

  Скрыть контент

Найти:



<h3 class='maintitle'>&nbsp;
	<ul id='stat_links' class='ipsList_inline right ipsType_small'>
		<if test="statsLinks:|:1==1"> <!-- Hook point -->
			<li><a href="{parse url="app=forums&amp;module=extras&amp;section=stats&amp;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&amp;module=extras&amp;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&amp;module=list&amp;max_results=20&amp;sort_key=posts&amp;sort_order=desc&amp;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&amp;module=reputation&amp;section=most" base="public" template="most_liked" seotitle="most_liked"}">
						<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>
</h3>
	
<div class='ipsBox table_wrap'>
	<div class='ipsBox_container'>
		<div id='board_statistics' class='statistics general_box'>
			<if test="showTotals:|:$this->settings['show_totals']">
				<div id='stats'>
					<h4 class='statistics_head'>{$this->lang->words['board_stats']}</h4>
					<dl>
						<dt>{$this->lang->words['total_posts']}</dt>
						<dd>{$stats['info']['total_posts']}</dd>
						<dt>{$this->lang->words['total_members']}</dt>
						<dd>{$stats['info']['mem_count']}</dd>
						<dt>{$this->lang->words['newest_member']}</dt>
						<dd><a href='{$stats['info']['last_mem_link']}' title='{$this->lang->words['view_profile']}'>{$stats['info']['last_mem_name']}</a>{parse template="user_popup" group="global" params="$stats['info']['last_mem_id'],$stats['info']['last_mem_seo']"} </dd>
						<dt>{$this->lang->words['online_at_once']}</dt>
						<dd>{$stats['info']['most_online']}<br /><span class='extra'>{$stats['info']['most_time']}</span></dd>
					</dl>
				</div>
			</if>	

			<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']">&nbsp;&nbsp;<a href='{parse url="app=members&amp;module=online&amp;sort_order=desc" base="public"}'>({$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>
	</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&amp;module=extras&amp;section=stats&amp;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&amp;module=extras&amp;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&amp;module=list&amp;max_results=20&amp;sort_key=posts&amp;sort_order=desc&amp;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&amp;module=reputation&amp;section=most" base="public" template="most_liked" seotitle="most_liked"}">
						<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']">&nbsp;&nbsp;<a href='{parse url="app=members&amp;module=online&amp;sort_order=desc" base="public"}'>({$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>

 

Сохранить.

не могу найти эти строки. Точнее их просто не существует. Вы эти действия делали именно в стиле Metro UI? Или это копипаст?

Link to comment
https://ipbmafia.ru/topic/15105-metro-ui-pomosh-po-shablonu/?&do=findComment&comment=111416
Share on other sites
17 минут назад, undertacker сказал:

UP

хватит апать темы каждую минуту! желание вам помочь пропадает напрочь

Link to comment
https://ipbmafia.ru/topic/15105-metro-ui-pomosh-po-shablonu/?&do=findComment&comment=111418
Share on other sites
48 минут назад, WOLF сказал:

хватит апать темы каждую минуту! желание вам помочь пропадает напрочь

проблема срочная. сорри. если знаете ответ могли бы и помочь

Link to comment
https://ipbmafia.ru/topic/15105-metro-ui-pomosh-po-shablonu/?&do=findComment&comment=111420
Share on other sites

undertacker, я Вам подсказал примерно, конкретный стиль не смотрел. Думаю, несложно разобраться, т.к. вид статистики наверняка переделан под IPB 3.1.4 по этой инструкции:  

А я привел обратный порядок действий.

Link to comment
https://ipbmafia.ru/topic/15105-metro-ui-pomosh-po-shablonu/?&do=findComment&comment=111421
Share on other sites

Перейти в 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']">&nbsp;&nbsp;<a href='{parse url="app=members&amp;module=online&amp;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&amp;module=extras&amp;section=stats&amp;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&amp;module=extras&amp;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&amp;module=list&amp;max_results=20&amp;sort_key=posts&amp;sort_order=desc&amp;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&amp;module=reputation&amp;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']">&nbsp;&nbsp;<a href='{parse url="app=members&amp;module=online&amp;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>

 

Edited by Back

Link to comment
https://ipbmafia.ru/topic/15105-metro-ui-pomosh-po-shablonu/?&do=findComment&comment=111425
Share on other sites
23 минут назад, Back сказал:

Перейти в 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']">&nbsp;&nbsp;<a href='{parse url="app=members&amp;module=online&amp;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&amp;module=extras&amp;section=stats&amp;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&amp;module=extras&amp;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&amp;module=list&amp;max_results=20&amp;sort_key=posts&amp;sort_order=desc&amp;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&amp;module=reputation&amp;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']">&nbsp;&nbsp;<a href='{parse url="app=members&amp;module=online&amp;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>

 

))) Спасибо, помогло))) Спасибо Спасибо спасибо))

IPBMAFIA Не знаю чтобы я делал без вас))

Link to comment
https://ipbmafia.ru/topic/15105-metro-ui-pomosh-po-shablonu/?&do=findComment&comment=111426
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.


Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.