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

User Info Panel

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

Опубліковано

Screenshot_1.png

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

<div class="wa_userinfo" itemscope="" itemtype="http://schema.org/Person">
	<span class="hide" itemprop="name">
    {$author['members_display_name']}
  </span>
<div class="wa_userinfo_bg" style='<if test="hasBodyCustomization:|:$author['customization']['bg_color'] OR $author['customization']['_bgUrl']">
  <if test="hasBackgroundColor:|:$author['customization']['bg_color']">
background-color: #{$author['customization']['bg_color']} !important;
  </if>
  <if test="hasBackgroundImage:|:$author['customization']['_bgUrl']">
    background-image: url("{$author['customization']['_bgUrl']}?nc={$author['pp_profile_update']}") !important;
margin-bottom: -60px !important;
    <if test="backgroundIsFixed:|:! $author['customization']['bg_tile']">
      background-color: #FFFFFF !important;
background-position: 50% 50%;
background-repeat: no-repeat;
-webkit-background-size: 100% 100%;
-moz-background-size: 100% 100%;
background-size: 100% 100% !important;
height: 100px;
  width: 172px;
margin-left: 0px !important;
margin: -5px -9px 0px -9px;
    <else />
      background-position: 0px 0px;
      background-attachment: fixed;
      background-repeat: repeat;
    </if>
  </if>
</if>
'></div>
  <div class="wa_userinfo_b1">
    <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />

		<if test="membertitle:|:$author['member_title']">
			<p class='desc member_title'>{$author['member_title']}</p>
		</if>
  </div>
		<if test="rankimage:|:$author['member_rank_img']">
			
			<if test="rankimageimage:|:$author['member_rank_img_i'] == 'img'">
				<img src='{$author['member_rank_img']}' alt='' />
			<else />
				{$author['member_rank_img']}
			</if>
			
		</if> 
<!-- REPUTATION-->
<if test="cardRep:|:$this->settings['reputation_enabled'] && $this->settings['reputation_show_profile']">
<div class="reputation-bg" data-tooltip="{parse expression="$author['author_reputation']['text']"}">
<div class="reputation-bar
<!-- GREY BAR -->
<if test="$author['pp_reputation_points']==0">gray width10</if>
<!-- /GREY BAR -->

<!-- RED BARS -->
<if test="$author['pp_reputation_points']<0 && $author['pp_reputation_points']>=-15">red</if>
<if test="$author['pp_reputation_points']<-15 && $author['pp_reputation_points']>=-30">red</if>
<if test="$author['pp_reputation_points']<-30 && $author['pp_reputation_points']>=-45">red</if>
<if test="$author['pp_reputation_points']<-45 && $author['pp_reputation_points']>=-60">red</if>
<if test="$author['pp_reputation_points']<-60">red</if>
<!-- /RED BAR -->

<!-- BLUE BARS -->
<if test="$author['pp_reputation_points']>=1 && $author['pp_reputation_points']<=10">blue width20</if>
<if test="$author['pp_reputation_points']>10 && $author['pp_reputation_points']<=20">blue width20</if>
<if test="$author['pp_reputation_points']>20 && $author['pp_reputation_points']<=40">blue width30</if>
<if test="$author['pp_reputation_points']>30 && $author['pp_reputation_points']<=80">blue width30</if>
<if test="$author['pp_reputation_points']>40 && $author['pp_reputation_points']<=160">blue width40</if>
<!-- /BLUE BARS -->

<!-- GREEN BARS -->
<if test="$author['pp_reputation_points']>50 && $author['pp_reputation_points']<=200">green width40</if>
<if test="$author['pp_reputation_points']>70 && $author['pp_reputation_points']<=250">green width50</if>
<if test="$author['pp_reputation_points']>90 && $author['pp_reputation_points']<=300">green width50</if>
<if test="$author['pp_reputation_points']>110 && $author['pp_reputation_points']<=350">green width60</if>
<if test="$author['pp_reputation_points']>130 && $author['pp_reputation_points']<=450">green</if>
<!-- /GREEN BARS -->

<!-- GOLD BARS -->
<if test="$author['pp_reputation_points']>150 && $author['pp_reputation_points']<=500">gold width60</if>
<if test="$author['pp_reputation_points']>190 && $author['pp_reputation_points']<=550">gold width70</if>
<if test="$author['pp_reputation_points']>230 && $author['pp_reputation_points']<=600">gold width80</if>
<if test="$author['pp_reputation_points']>270 && $author['pp_reputation_points']<=700">gold width90</if>
<if test="$author['pp_reputation_points']>800">gold</if>
<!-- /GOLD BARS -->
">
{$author['pp_reputation_points']}
</div>
</div>
</if>
<!-- /REPUTATION-->

<div class="wa_userinfo_slesh">
<if test="authorcfields:|:$author['custom_fields'] != """></if></div>

  <div class="wa_userinfo_b3">
<if test="pmlink:|:($author['member_id'] != $this->memberData['member_id']) AND $this->memberData['g_use_pm'] AND $this->memberData['members_disable_pm'] == 0 AND IPSLib::moduleIsEnabled( 'messaging', 'members' ) AND $author['members_disable_pm'] == 0">
<a class='pm_button ipsButton_secondary ipsType_smaller' id='pm_xxx_{$author['member_id']}' href='{parse url="app=members&amp;module=messaging&amp;section=send&amp;do=form&amp;fromMemberID={$member['member_id']}" base="public"}' title='{$this->lang->words['pm_this_member']}' class='ipsButton_secondary'><img src='/webask/frilance/message.png' alt='' /></a>
						</if>
<if test="noFriendYourself:|:$this->memberData['member_id'] AND $this->memberData['member_id'] != $author['member_id'] && $this->settings['friends_enabled'] AND $this->memberData['g_can_add_friends']">
								<if test="isFriend:|:IPSMember::checkFriendStatus( $author['member_id'] )">
									<a class='pm_button ipsButton_secondary ipsType_smaller' href='{parse url="app=members&amp;section=friends&amp;module=profile&amp;do=remove&amp;member_id={$author['member_id']}&amp;secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['remove_friend']}'><img src='{style_images_url}/profile/user_delete.png' alt='{$this->lang->words['remove_friend']}' /></a>
								<else />
									<a class='pm_button ipsButton_secondary ipsType_smaller' href='{parse url="app=members&amp;section=friends&amp;module=profile&amp;do=add&amp;member_id={$author['member_id']}&amp;secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['add_friend']}'><img src='{style_images_url}/profile/user_add.png' alt='{$this->lang->words['add_friend']}' /></a>
								</if>
						</if>
<if test="$author['field_3']">
  <a href="http://www.privatelink.de/?{$author['field_3']}" target="_blank" class="ipsButton_secondary ipsType_smaller"><img src="{style_images_url}/profile/website.png" style="width:20px;"></a>
<else />
<a style="opacity:0.2" target="_blank" class="ipsButton_secondary ipsType_smaller"><img style="width:20px;" src="{style_images_url}/profile/website.png"></a>
</if>
<if test="$author['field_10']">
  <a href=skype:{$author['field_10']}?call target="_blank" class="ipsButton_secondary ipsType_smaller"><img style="width:20px;" src="{style_images_url}/profile/skype.png"></a>
<else />
<a  style="opacity:0.2" target="_blank" class="ipsButton_secondary ipsType_smaller"><img style="width:20px;" src="{style_images_url}/profile/skype.png"></a>
</if>
<if test="$author['field_8']">
  <a href="http://www.privatelink.de/?{$author['field_8']}" target="_blank" class="ipsButton_secondary ipsType_smaller"><img src="{style_images_url}/profile/vk.png" style="width:20px;"></a>
<else />
<a style="opacity:0.2" target="_blank" class="ipsButton_secondary ipsType_smaller"><img style="width:20px;" src="{style_images_url}/profile/vk.png"></a>
</if>
  </div>

  <div class="wa_userinfo_b4">
    <div class="left wa_userinfo_b4_1">
      <div>
        <span class="wa_userinfo_b4_m">Сообщений</span>
      </div>
      <div style="padding-top: 5px;">
        <span style="font-size: 15px;">{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}</span>
      </div>
    </div>
<div class="right wa_userinfo_b4_1">
<div><span class="wa_userinfo_b4_m">Тем</span></div>
<div style="padding-top: 5px;"><span style="font-size: 15px;">{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['topics_started'] ) )"}</span></div>
</div>


</div>
</div>

 

Опубліковано
  • Автор
В 10.12.2016 в 16:45, Шторм 1 сказал:

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


<div class="wa_userinfo" itemscope="" itemtype="http://schema.org/Person">
	<span class="hide" itemprop="name">
    {$author['members_display_name']}
  </span>
<div class="wa_userinfo_bg" style='<if test="hasBodyCustomization:|:$author['customization']['bg_color'] OR $author['customization']['_bgUrl']">
  <if test="hasBackgroundColor:|:$author['customization']['bg_color']">
background-color: #{$author['customization']['bg_color']} !important;
  </if>
  <if test="hasBackgroundImage:|:$author['customization']['_bgUrl']">
    background-image: url("{$author['customization']['_bgUrl']}?nc={$author['pp_profile_update']}") !important;
margin-bottom: -60px !important;
    <if test="backgroundIsFixed:|:! $author['customization']['bg_tile']">
      background-color: #FFFFFF !important;
background-position: 50% 50%;
background-repeat: no-repeat;
-webkit-background-size: 100% 100%;
-moz-background-size: 100% 100%;
background-size: 100% 100% !important;
height: 100px;
  width: 172px;
margin-left: 0px !important;
margin: -5px -9px 0px -9px;
    <else />
      background-position: 0px 0px;
      background-attachment: fixed;
      background-repeat: repeat;
    </if>
  </if>
</if>
'></div>
  <div class="wa_userinfo_b1">
    <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />

		<if test="membertitle:|:$author['member_title']">
			<p class='desc member_title'>{$author['member_title']}</p>
		</if>
  </div>
		<if test="rankimage:|:$author['member_rank_img']">
			
			<if test="rankimageimage:|:$author['member_rank_img_i'] == 'img'">
				<img src='{$author['member_rank_img']}' alt='' />
			<else />
				{$author['member_rank_img']}
			</if>
			
		</if> 
<!-- REPUTATION-->
<if test="cardRep:|:$this->settings['reputation_enabled'] && $this->settings['reputation_show_profile']">
<div class="reputation-bg" data-tooltip="{parse expression="$author['author_reputation']['text']"}">
<div class="reputation-bar
<!-- GREY BAR -->
<if test="$author['pp_reputation_points']==0">gray width10</if>
<!-- /GREY BAR -->

<!-- RED BARS -->
<if test="$author['pp_reputation_points']<0 && $author['pp_reputation_points']>=-15">red</if>
<if test="$author['pp_reputation_points']<-15 && $author['pp_reputation_points']>=-30">red</if>
<if test="$author['pp_reputation_points']<-30 && $author['pp_reputation_points']>=-45">red</if>
<if test="$author['pp_reputation_points']<-45 && $author['pp_reputation_points']>=-60">red</if>
<if test="$author['pp_reputation_points']<-60">red</if>
<!-- /RED BAR -->

<!-- BLUE BARS -->
<if test="$author['pp_reputation_points']>=1 && $author['pp_reputation_points']<=10">blue width20</if>
<if test="$author['pp_reputation_points']>10 && $author['pp_reputation_points']<=20">blue width20</if>
<if test="$author['pp_reputation_points']>20 && $author['pp_reputation_points']<=40">blue width30</if>
<if test="$author['pp_reputation_points']>30 && $author['pp_reputation_points']<=80">blue width30</if>
<if test="$author['pp_reputation_points']>40 && $author['pp_reputation_points']<=160">blue width40</if>
<!-- /BLUE BARS -->

<!-- GREEN BARS -->
<if test="$author['pp_reputation_points']>50 && $author['pp_reputation_points']<=200">green width40</if>
<if test="$author['pp_reputation_points']>70 && $author['pp_reputation_points']<=250">green width50</if>
<if test="$author['pp_reputation_points']>90 && $author['pp_reputation_points']<=300">green width50</if>
<if test="$author['pp_reputation_points']>110 && $author['pp_reputation_points']<=350">green width60</if>
<if test="$author['pp_reputation_points']>130 && $author['pp_reputation_points']<=450">green</if>
<!-- /GREEN BARS -->

<!-- GOLD BARS -->
<if test="$author['pp_reputation_points']>150 && $author['pp_reputation_points']<=500">gold width60</if>
<if test="$author['pp_reputation_points']>190 && $author['pp_reputation_points']<=550">gold width70</if>
<if test="$author['pp_reputation_points']>230 && $author['pp_reputation_points']<=600">gold width80</if>
<if test="$author['pp_reputation_points']>270 && $author['pp_reputation_points']<=700">gold width90</if>
<if test="$author['pp_reputation_points']>800">gold</if>
<!-- /GOLD BARS -->
">
{$author['pp_reputation_points']}
</div>
</div>
</if>
<!-- /REPUTATION-->

<div class="wa_userinfo_slesh">
<if test="authorcfields:|:$author['custom_fields'] != """></if></div>

  <div class="wa_userinfo_b3">
<if test="pmlink:|:($author['member_id'] != $this->memberData['member_id']) AND $this->memberData['g_use_pm'] AND $this->memberData['members_disable_pm'] == 0 AND IPSLib::moduleIsEnabled( 'messaging', 'members' ) AND $author['members_disable_pm'] == 0">
<a class='pm_button ipsButton_secondary ipsType_smaller' id='pm_xxx_{$author['member_id']}' href='{parse url="app=members&amp;module=messaging&amp;section=send&amp;do=form&amp;fromMemberID={$member['member_id']}" base="public"}' title='{$this->lang->words['pm_this_member']}' class='ipsButton_secondary'><img src='/webask/frilance/message.png' alt='' /></a>
						</if>
<if test="noFriendYourself:|:$this->memberData['member_id'] AND $this->memberData['member_id'] != $author['member_id'] && $this->settings['friends_enabled'] AND $this->memberData['g_can_add_friends']">
								<if test="isFriend:|:IPSMember::checkFriendStatus( $author['member_id'] )">
									<a class='pm_button ipsButton_secondary ipsType_smaller' href='{parse url="app=members&amp;section=friends&amp;module=profile&amp;do=remove&amp;member_id={$author['member_id']}&amp;secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['remove_friend']}'><img src='{style_images_url}/profile/user_delete.png' alt='{$this->lang->words['remove_friend']}' /></a>
								<else />
									<a class='pm_button ipsButton_secondary ipsType_smaller' href='{parse url="app=members&amp;section=friends&amp;module=profile&amp;do=add&amp;member_id={$author['member_id']}&amp;secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['add_friend']}'><img src='{style_images_url}/profile/user_add.png' alt='{$this->lang->words['add_friend']}' /></a>
								</if>
						</if>
<if test="$author['field_3']">
  <a href="http://www.privatelink.de/?{$author['field_3']}" target="_blank" class="ipsButton_secondary ipsType_smaller"><img src="{style_images_url}/profile/website.png" style="width:20px;"></a>
<else />
<a style="opacity:0.2" target="_blank" class="ipsButton_secondary ipsType_smaller"><img style="width:20px;" src="{style_images_url}/profile/website.png"></a>
</if>
<if test="$author['field_10']">
  <a href=skype:{$author['field_10']}?call target="_blank" class="ipsButton_secondary ipsType_smaller"><img style="width:20px;" src="{style_images_url}/profile/skype.png"></a>
<else />
<a  style="opacity:0.2" target="_blank" class="ipsButton_secondary ipsType_smaller"><img style="width:20px;" src="{style_images_url}/profile/skype.png"></a>
</if>
<if test="$author['field_8']">
  <a href="http://www.privatelink.de/?{$author['field_8']}" target="_blank" class="ipsButton_secondary ipsType_smaller"><img src="{style_images_url}/profile/vk.png" style="width:20px;"></a>
<else />
<a style="opacity:0.2" target="_blank" class="ipsButton_secondary ipsType_smaller"><img style="width:20px;" src="{style_images_url}/profile/vk.png"></a>
</if>
  </div>

  <div class="wa_userinfo_b4">
    <div class="left wa_userinfo_b4_1">
      <div>
        <span class="wa_userinfo_b4_m">Сообщений</span>
      </div>
      <div style="padding-top: 5px;">
        <span style="font-size: 15px;">{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}</span>
      </div>
    </div>
<div class="right wa_userinfo_b4_1">
<div><span class="wa_userinfo_b4_m">Тем</span></div>
<div style="padding-top: 5px;"><span style="font-size: 15px;">{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['topics_started'] ) )"}</span></div>
</div>


</div>
</div>

 

 

Опубліковано

Криво всё жене очень смотрится как то раздление нету между статистиками )

Опубліковано
  • Автор
33 минуты назад, Shock сказал:

Криво всё жене очень смотрится как то разделение нету между статистиками )

разделение можно сделать и самому, если руки прямые. что бы не было все прям близко убери статистику, и будет все как положено, а если и это не можешь залей другой шаблон и замени на этот же код увидишь что все ровно

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

Здесь еще должен бить CSS а толька вижу HTML при установке свой форум все будет смотреть криво.

Опубліковано
  • Автор
14 часа назад, Ciko сказал:

Здесь еще должен бить CSS а толька вижу HTML при установке свой форум все будет смотреть криво.

это я знаю, потом выложу и css просто я делал для своего форума, в моем стиле нужно искать css)) найду скину

Для публікації повідомлень створіть обліковий запис або авторизуйтесь