Перейти к содержимому


Фотография
- - - - -

Панель пользователей на сайте


  • Закрытая тема Тема закрыта
Сообщений в теме: 10

#1 Оффлайн   BopoHangel

    Пользователь


  • Пользователи
  • Репутация
    0
    • Cообщений: 24
    • Форум:3.3.х
    • Город:Хабаровск

Отправлено 08 Август 2012 - 07:08

Здравствуйте! Хочет узнать как можно вернуть панель пользователей,просто она у меня вырезана в шаблоне,а хочется как нибудь обратно её запилить? Заранее благодарю!

Изображение
  • 0

Заработок и обучение заработку

#2 Онлайн   ๖ۣۣۜDesperate™

    Администратор


  • Администраторы
  • Репутация
    4 616
    • Cообщений: 8 560
    • Форум:3.4.х
    • Город:IpbZona
    Участник

Отправлено 08 Август 2012 - 12:29

За панель пользователя отвечает вот это код а ACP - Внешний вид - Ваш стиль - globalTemplate
<!-- ::: USER DROP DOWN MENU ::: -->
			 <div id='user_link_menucontent' class='ipsHeaderMenu boxShadow' style='display: none'>
				 <a href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}' class='ipsUserPhotoLink left'>
					 <img src='{$this->memberData['pp_small_photo']}' alt="{$this->memberData['members_display_name']}{$this->lang->words['users_photo']}" class='ipsUserPhoto ipsUserPhoto_medium photo' />
				 </a>
				
				 <div class='left'>
					 <if test="canUpdateStatus:|:$this->registry->getClass('memberStatus')->canCreate( $this->memberData ) && !($this->settings['board_offline'] && !$this->memberData['g_access_offline'])">
						 <form id='statusForm' action='{$this->settings['base_url']}app=members&amp;module=profile&amp;section=status&amp;do=new&amp;k={$this->member->form_hash}&amp;id={$this->memberData['member_id']}' method='post'>
							 <input type='text' id='statusUpdateGlobal' name='content' class='input_text' style='width: 97%' /><br />
							 <input type='submit' id='statusSubmitGlobal' class='ipsButton_secondary' value='{$this->lang->words['global_update_status']}' />
							 <if test="update:|:(IPSLib::twitter_enabled() OR IPSLib::fbc_enabled() ) AND ( $this->memberData['fb_uid'] OR $this->memberData['twitter_id'] )">
								 &nbsp;&nbsp;
								 <if test="updateTwitter:|:IPSLib::twitter_enabled() AND ( $this->memberData['twitter_id'] )"><input type='checkbox' id='su_TwitterGlobal' value='1' name='su_Twitter' /> <label for='su_TwitterGlobal' class='desc ipsType_smaller'>Twitter</label></if> &nbsp;
								 <if test="updateFacebook:|:IPSLib::fbc_enabled() AND ( $this->memberData['fb_uid'] )">&nbsp;<input type='checkbox' id='su_FacebookGlobal' value='1' name='su_Facebook' /> <label for='su_FacebookGlobal' class='desc ipsType_smaller'>Facebook</label></if>
							 </if>
							 <br />
							 <hr />
						 </form>
					 </if>
						 <ul id='links'>
							 <li id='user_profile'><a href='{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}' title='{$this->lang->words['your_profile']}'>{$this->lang->words['my_profile']}</a></li>
							 <li id='user_ucp'><a href="{parse url="app=core&amp;module=usercp" base="public"}" title="{$this->lang->words['cp_tool_tip']}">{$this->lang->words['your_cp']}</a></li>
							 <li id='user_content'><a href="{parse url="app=core&amp;module=search&amp;do=user_activity&amp;mid={$this->memberData['member_id']}" base="public"}" title="{$this->lang->words['my_content_link']}">{$this->lang->words['my_content_link']}</a></li>
							 <if test="userLikeLink:|:count( IPSLib::getEnabledApplications('like') )">
								 <li id='user_likes'><a href='{parse url="app=core&amp;module=search&amp;do=followed" base="public"}' title='{$this->lang->words['your_likes']}'>{$this->lang->words['your_likes']}</a></li>
							 </if>
							 <if test="nobbyNoMates:|:$this->settings['friends_enabled'] && $this->memberData['g_can_add_friends']">
								 <li id='user_friends'><a href='{parse url="app=members&amp;module=profile&amp;section=friends&amp;do=list" base="public"}' title="{$this->lang->words['manage_friends']}" class='manage_friends'>{$this->lang->words['manage_friends']}</a></li>
							 </if>
							 <li id='user_enemies'><a href='{parse url="app=core&amp;module=usercp&amp;tab=core&amp;area=ignoredusers" base="public"}' title="{$this->lang->words['manage_ignored_users']}" class='manage_enemies'>{$this->lang->words['manage_ignored_users']}</a></li>
							 <if test="bloglink:|:$this->memberData['has_blog'] AND IPSLib::appIsInstalled('blog')">
								 <li id='user_blog'><a href="{parse url="app=blog&module=manage" base="public"}">{$this->lang->words['manage_blogs']}</a></li>
							 </if>
							 <if test="pmLink:|:$this->memberData['members_disable_pm'] != 2">
								 <li id='user_pm'><a href="{parse url="app=members&module=messaging" base="public"}">{$this->lang->words['user_dd_go_pm']}</a></li>
							 </if>
							 <if test="gallerylink:|:$this->memberData['has_gallery'] AND IPSLib::appIsInstalled('gallery')">
								 <li id='user_gallery'><a href='{parse url="app=gallery&amp;user={$this->memberData['member_id']}" base="public" seotitle="{$this->memberData['members_seo_name']}" template="useralbum"}' title="{$this->lang->words['go_to_my_gallery']}">{$this->lang->words['my_gallery']}</a></li>
							 </if>
							 <if test="nexuslink:|:IPSLib::appIsInstalled('nexus')">
								 <li id='user_nexus'><a href='{parse url="app=nexus&amp;module=clients" base="public"}' title="{$this->lang->words['client_area']}">{$this->lang->words['client_area']}</a></li>
							 </if>
						 </ul>
				 </div>
			 </div>
		 <else />
			 <div id='user_navigation' class='not_logged_in'>
				
				 <ul class='ipsList_inline'>
					 <li>
						 <span class='services'>
							 <if test="limFacebook:|:IPSLib::loginMethod_enabled('facebook')">
								 <a href='{parse url="app=core&amp;module=global&amp;section=login&amp;serviceClick=facebook" base="public"}'>{parse replacement="lim_facebook"}</a>
							 </if>
							 <if test="limTwitter:|:IPSLib::loginMethod_enabled('twitter')">
								 <a href='{parse url="app=core&amp;module=global&amp;section=login&amp;serviceClick=twitter" base="public"}'>{parse replacement="lim_twitter"}</a>
							 </if>
							 <if test="limOpenid:|:IPSLib::loginMethod_enabled('openid')">
								 <a href='{parse url="app=core&amp;module=global&amp;section=login&amp;serviceClick=openid" base="public"}'>{parse replacement="lim_openid"}</a>
							 </if>
							 <if test="limWindows:|:IPSLib::loginMethod_enabled('live')">
								 <a href='{parse url="app=core&amp;module=global&amp;section=login&amp;serviceClick=live" base="public"}'>{parse replacement="lim_windows"}</a>
							 </if>
						 </span>
						 <a href='{parse url="app=core&amp;module=global&amp;section=login" base="public"}' title='{$this->lang->words['sign_in']}' id='sign_in'>{$this->lang->words['sign_in']}</a>
					 </li>
					 <li>
						 <a href="{parse url="app=core&amp;module=global&amp;section=register" base="public"}" title='{$this->lang->words['register']}' id='register_link'>{$this->lang->words['register']}</a>
					 </li>
				 </ul>
			 </div>
		 </if>

Вставьте его в нужное вам место в этом же шаблоне.
  • 0

#3 Оффлайн   BopoHangel

    Пользователь


  • Пользователи
  • Репутация
    0
    • Cообщений: 24
    • Форум:3.3.х
    • Город:Хабаровск

Отправлено 08 Август 2012 - 13:17

@๖ۣۣۜDesperate™,
Не,не это,вот этого у меня нету и нужно вставить:

Изображение
  • 0

#4 Онлайн   ๖ۣۣۜDesperate™

    Администратор


  • Администраторы
  • Репутация
    4 616
    • Cообщений: 8 560
    • Форум:3.4.х
    • Город:IpbZona
    Участник

Отправлено 08 Август 2012 - 14:00

Вообщето это статистика называется, а не панель пользователя. Зачем вводить в заблуждение?

Первым делом посмотрите в настройках ACP - Системные настройки - Дополнительно - Оптимизация нагрузки на сервер и найдите поле Показывать статистику форума?
  • 0

#5 Оффлайн   BopoHangel

    Пользователь


  • Пользователи
  • Репутация
    0
    • Cообщений: 24
    • Форум:3.3.х
    • Город:Хабаровск

Отправлено 08 Август 2012 - 14:25

๖ۣۣۜDesperate™
Всё включено, это именно автор шаблона вырезал её.
  • 0

#6 Онлайн   ๖ۣۣۜDesperate™

    Администратор


  • Администраторы
  • Репутация
    4 616
    • Cообщений: 8 560
    • Форум:3.4.х
    • Город:IpbZona
    Участник

Отправлено 08 Август 2012 - 14:30

Выложите весь код из ACP - Внешний вид - Ваш стиль - Список форумов - boardIndexTemplate
  • 0

#7 Оффлайн   BopoHangel

    Пользователь


  • Пользователи
  • Репутация
    0
    • Cообщений: 24
    • Форум:3.3.х
    • Город:Хабаровск

Отправлено 08 Август 2012 - 14:33


{parse js_module="board"}

{parse variable="sidebar_enabled" default="$show_side_blocks"}

<if test="boardIndexTop:|:true"></if>

<div id='board_index' class='ipsLayout <if test="sideBarEnabledL:|:$this->templateVars['sidebar_enabled']">ipsLayout_withright</if> ipsLayout_largeright clearfix <if test="sidebarclosed:|:IPSCookie::get('hide_sidebar') == '1'">no_sidebar</if>'>

<div id='categories' class='ipsLayout_content clearfix'>

<!-- CATS AND FORUMS -->

  <if test="cats_forums:|:is_array( $cat_data ) AND count( $cat_data )">

   <foreach loop="categories:$cat_data as $_data">

    <if test="cat_has_forums:|:is_array( $_data['forum_data'] ) AND count( $_data['forum_data'] )">

	 <div id='category_{$_data['cat_data']['id']}' class='category_block block_wrap'>

	  <h3 class='maintitle_wow'>

	    {$_data['cat_data']['name']}

	  </h3>

	  <ul class="forum_list_wow">

		 <!-- / CAT HEADER -->

		 <foreach loop="forums:$_data['forum_data'] as $forum_id => $forum_data">

			    <li>

	 <a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>

				    <span class="forum_list_info_wow">

					  <h4>{$forum_data['name']}</h4>

					  <if test="$forum_data['description']"><span>{$forum_data['description']}</span></if>

				    </span>

				    <span class="forum_list_image_wow">

					  <img class="forum_img" src="{style_images_url}/_forumimg/{$forum_data['id']}.png" />

					  <span class="users_viewing_wow"></span>

				    </span>

				 </a>

			    </li>

			  

		 </foreach>

		 </ul>

	 </div>

    </if>

   </foreach>

  </if>

</div>

</div>

<script type='text/javascript'>

//<![CDATA[

var markerURL  = "{parse url="app=forums&module=ajax&section=markasread&i=1" base="public"}"; // Ajax URL so don't use &amp;

var unreadIcon = "<img src='{$this->settings['img_url']}/f_icon_read.png' />";



<if test="markercatforums:|:is_array( $cat_data ) AND count( $cat_data )">

  <foreach loop="markercategories:$cat_data as $_data">

   <if test="markerhasforums:|:is_array( $_data['forum_data'] ) AND count( $_data['forum_data'] )">

    <foreach loop="markerforums:$_data['forum_data'] as $forum_id => $forum_data">

	 <if test="markernotredirect:|:!$forum_data['redirect_on']">

	  <if test="markerhasunread:|:$forum_data['_has_unread']">

ipb.global.registerMarker( "forum_img_{$forum_data['id']}", "{$forum_data['img_new_post']}", markerURL + "&forumid={$forum_data['id']}" );

	  </if>

	 </if>

    </foreach>

   </if>

  </foreach>

</if>

//]]>

</script>


  • 0

#8 Онлайн   ๖ۣۣۜDesperate™

    Администратор


  • Администраторы
  • Репутация
    4 616
    • Cообщений: 8 560
    • Форум:3.4.х
    • Город:IpbZona
    Участник

Отправлено 08 Август 2012 - 14:40

Замените свой код на этот
{parse js_module="board"}
{parse variable="sidebar_enabled" default="$show_side_blocks"}
<if test="boardIndexTop:|:true"></if>
<div id='board_index' class='ipsLayout <if test="sideBarEnabledL:|:$this->templateVars['sidebar_enabled']">ipsLayout_withright</if> ipsLayout_largeright clearfix <if test="sidebarclosed:|:IPSCookie::get('hide_sidebar') == '1'">no_sidebar</if>'>
<div id='categories' class='ipsLayout_content clearfix'>
<!-- CATS AND FORUMS -->
  <if test="cats_forums:|:is_array( $cat_data ) AND count( $cat_data )">
   <foreach loop="categories:$cat_data as $_data">
    <if test="cat_has_forums:|:is_array( $_data['forum_data'] ) AND count( $_data['forum_data'] )">
	 <div id='category_{$_data['cat_data']['id']}' class='category_block block_wrap'>
	  <h3 class='maintitle'>
	   <a class='toggle right' href='#' title="{parse expression="sprintf( $this->lang->words['toggle_cat'], $_data['cat_data']['name'] )"}">{parse expression="sprintf( $this->lang->words['toggle_cat'], $_data['cat_data']['name'] )"}</a> <a href="{parse url="showforum={$_data['cat_data']['id']}" seotitle="{$_data['cat_data']['name_seo']}" template="showforum" base="public"}" title='{parse expression="sprintf( $this->lang->words['view_cat'], $_data['cat_data']['name'] )"}'>{$_data['cat_data']['name']}</a>
	  </h3>
	  <div class='ipsBox table_wrap'>
	   <div class='ipsBox_container'>
	    <table class='ipb_table' summary="{$this->lang->words['forums_in_cat']} '{$_data['cat_data']['name']}'">
		 <tr class='header hide'>
		  <th scope='col' class='col_c_icon'>&nbsp;</th>
		  <th scope='col' class='col_c_forum'>{$this->lang->words['cat_name']}</th>
		  <th scope='col' class='col_c_stats stats'>{$this->lang->words['stats']}</th>
		  <if test="canSeeLastInfoHeader:|:$this->memberData['gbw_view_last_info']"><th scope='col' class='col_c_post'>{$this->lang->words['last_post_info']}</th></if>
		 </tr>
		 <!-- / CAT HEADER -->
		 <foreach loop="forums:$_data['forum_data'] as $forum_id => $forum_data">
		  <if test="forumRedirect:|:$forum_data['redirect_on']">
		   <tr class='redirect_forum' id='f_{$forum_data['id']}'>
		    <td class='col_c_icon'>
			 <img src='{$this->settings['img_url']}/f_redirect.png' />
		    </td>
		    <td colspan='2' class='col_c_forum'>
			 <h4><a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$forum_data['name']}'>{$forum_data['name']}</a></h4>
			 <p class='desc'>{$forum_data['description']}</p>
		    </td>
		    <td class='desc'>
			 <ul class='last_post ipsType_small'>
			  <li class='desc lighter'><em>{parse format_number="$forum_data['redirect_hits']"} {$this->lang->words['rd_hits']}</em></li>
			 </ul>
		    </td>
		   </tr>
		  <else />
		   <tr class='<if test="hasUnreadClass:|:$forum_data['_has_unread']">unread</if>'>
		    <td class='col_c_icon'>
			 <if test="hasUnread:|:$forum_data['_has_unread']">
			  <a id='forum_img_{$forum_data['id']}' href="{parse url="app=forums&amp;module=forums&amp;section=markasread&amp;marktype=forum&amp;forumid={$forum_data['id']}&amp;returntoforumid={$this->request['f']}&amp;i=1" base="public"}" data-tooltip="{$this->lang->words['bi_markread']}" class='forum_marker'><img src='{$this->settings['img_url']}/f_icon.png' /></a>
			 <else />
			  <img src='{$this->settings['img_url']}/f_icon_read.png' />
			 </if>
		    </td>
		    <td class='col_c_forum'>
			
			 <h4>
			  <if test="hasQueuedAndCanSeeIcon:|:!empty($forum_data['_has_queued_and_can_see_icon'])">
			   <a href='{parse url="showforum={$forum_data['id']}&amp;modfilter=unapproved" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['view_unapproved']}' class='ipsBadge ipsBadge_orange' data-tooltip="{parse expression="sprintf( $this->lang->words['f_queued'], $forum_data['queued_topics'], $forum_data['queued_posts'])"}" style='vertical-align: top'>{$this->lang->words['f_queued_badge']}</a>
			  </if>
			  <a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$forum_data['name']}'>{$forum_data['name']}</a>
			 </h4>
			 
			 <if test="showSubForums:|:$forum_data['show_subforums'] AND count( $forum_data['subforums'] ) AND $forum_data['show_subforums']">
			  <br />
			  <ol class='ipsList_inline ipsType_small subforums' id='subforums_{$forum_data['id']}'>
			   <foreach loop="subforums:$forum_data['subforums'] as $__id => $__data">
			    <if test="showSubForumsLit:|:$__data[3]"><li class='unread'><else /><li></if>
				 <a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{$__data[1]}'>{$__data[1]}</a><if test="isNotLast:|: empty($__data[4] )">,</if>
			    </li>
			   </foreach>
			  </ol>
			 </if>
					
			 <p class='desc __forum_desc ipsType_small'>{$forum_data['description']}</p>		  
		    </td>
		    <td class='col_c_stats ipsType_small'>
			 <ul>
			  <li><strong>{$forum_data['topics']}</strong> {$this->lang->words['topics']}</li>
			  <li><strong>{$forum_data['posts']}</strong> {$this->lang->words['replies']}</li>
			 </ul>
		    </td>
		    <if test="canSeeLastInfo:|:$this->memberData['gbw_view_last_info']">
		    <td class='col_c_post'>
			 <if test="hideLastInfo:|:$forum_data['hide_last_info']">
			  <ul class='last_post ipsType_small'>
			   <li class='desc lighter'><em>{$this->lang->words['f_protected']}</em></li>
			  </ul>
			 <else />
			  {parse template="userSmallPhoto" group="global" params="array('member_id' => $forum_data['last_poster_id'], 'members_seo_name' => $forum_data['seo_last_name'], 'pp_small_photo' => $forum_data['pp_small_photo'], 'alt' => sprintf( $this->lang->words['bindex_userphoto_alt'], $forum_data['last_title'], $forum_data['members_display_name'] ) )"}
			  <ul class='last_post ipsType_small'>
			   <if test="!$forum_data['last_id']">
			    <li class='desc lighter'><em>{$this->lang->words['f_none']}</em></li>
			   <else />
			    <li>
				 {$forum_data['last_topic_title']}
			    </li>
			    <if test="lastPosterID:|:$forum_data['last_poster_id']">
				 <li>{$this->lang->words['by']} {parse template="userHoverCard" group="global" params="$forum_data"}</li>
			    </if>
			    <if test="hideDateUrl:|:$forum_data['_hide_last_date']">
				 <li class='desc lighter blend_links'>{parse date="$forum_data['last_post']" format="DATE"}</li>
			    <else />
				 <li class='desc lighter blend_links'><a href='{parse url="showtopic={$forum_data['last_id']}&amp;view=getlastpost" base="public" template="showtopic" seotitle="{$forum_data['seo_last_title']}"}' title='{$this->lang->words['view_last_post']}'>{parse date="$forum_data['last_post']" format="DATE"}</a></li>
			    </if>
			   </if>
			  </ul>
			 </if>
		    </td>
		    </if>
		   </tr>
		  </if>
		 </foreach>
	    </table>
	   </div>
	  </div>
	  <br />
	 </div>
    </if>
   </foreach>
  </if>
</div>
<if test="sideBarEnabled2:|:$this->templateVars['sidebar_enabled']">
  <div id='index_stats' class='ipsLayout_right clearfix' <if test="sidebarclosed2:|:IPSCookie::get('hide_sidebar') == '1'">style='display: none'</if>>

   <foreach loop="side_blocks:$side_blocks as $block">
    {$block}
   </foreach>
  </div>
  <a href='#' id='toggle_sidebar' title='{$this->lang->words['toggle_sidebar']}' data-closed="{$this->lang->words['_laquo']}" data-open="&times;">&nbsp;</a>
</if>
</div>
<script type='text/javascript'>
//<![CDATA[
var markerURL  = ipb.vars['base_url'] + "app=forums&module=ajax&section=markasread&i=1"; // Ajax URL so don't use &amp;
var unreadIcon = "<img src='{$this->settings['img_url']}/f_icon_read.png' />";

<if test="markercatforums:|:is_array( $cat_data ) AND count( $cat_data )">
  <foreach loop="markercategories:$cat_data as $_data">
   <if test="markerhasforums:|:is_array( $_data['forum_data'] ) AND count( $_data['forum_data'] )">
    <foreach loop="markerforums:$_data['forum_data'] as $forum_id => $forum_data">
	 <if test="markernotredirect:|:!$forum_data['redirect_on']">
	  <if test="markerhasunread:|:$forum_data['_has_unread']">
ipb.global.registerMarker( "forum_img_{$forum_data['id']}", "{$forum_data['img_new_post']}", markerURL + "&forumid={$forum_data['id']}" );
	  </if>
	 </if>
    </foreach>
   </if>
  </foreach>
</if>
//]]>
</script>
<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'] )"} </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>

  • 0

#9 Оффлайн   BopoHangel

    Пользователь


  • Пользователи
  • Репутация
    0
    • Cообщений: 24
    • Форум:3.3.х
    • Город:Хабаровск

Отправлено 08 Август 2012 - 14:48

๖ۣۣۜDesperate™
Работать то работает,но полностью убивает вид подфорумов задуманный автором:

До:

Изображение


После:

Изображение
  • 0

#10 Онлайн   ๖ۣۣۜDesperate™

    Администратор


  • Администраторы
  • Репутация
    4 616
    • Cообщений: 8 560
    • Форум:3.4.х
    • Город:IpbZona
    Участник

Отправлено 08 Август 2012 - 14:52

Верните свой код и в самы низ добавьте вот это
<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'] )"} </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>

  • 0