Jump to content
View in the app

A better way to browse. Learn more.

IPBMafia.ru - поддержка Invision Community, релизы, темы, плагины и приложения

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Вернуть нормальный вид UserInfoPanel

Featured Replies

Posted

День добрый всем. Установила новый стиль на свой форум и хотела бы передать UserInfoPanel в нормальный вид.

На данный момент у меня вот такой вид UserInfoPanel.



А хотела бы сделать вот такой, простой удобный.



Была бы очень благодарна за помощь!

Edited by <MISS>

Как убрать тот профиль

1 Перейти  Админ Панель-Внешний вид-Ваш стиль-Глобальные-userInfoPane убираем все:
Вставляем этат код:
 

<div class="user_block">
	    <div class="psevdo"></div>
        <if test="membertitle:|:$author['member_title']">
            <p class='desc member_title'>{$author['member_title']}</p>
		</if>
	</div>
		
	<if test="avatar:|:$author['member_id']">
			<div class='avatar'>
				<if test="canSeeProfiles:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
				<a itemprop="url" href="{parse url="showuser={$author['member_id']}" template="showuser" seotitle="{$author['members_seo_name']}" base="public"}" title="{$this->lang->words['view_profile']}: {$author['members_display_name']}" class='ipsUserPhotoLink'>
				</if>
				<if test="hasVariable:|:$this->settings['member_topic_avatar_max']">
					<img itemprop="image" src='{$author['pp_main_photo']}' class='ipsUserPhoto ipsUserPhoto_variable' />
				<else />
					<img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
				</if>
				<if test="canSeeProfiles2:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
				</a>
				</if>
			</div>
		<else />
			<div class='avatar'>
				<img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
			</div>
		</if>

		<if test="rankimage:|:$author['member_rank_img']">
			<div class='group_icon'>
			<if test="rankimageimage:|:$author['member_rank_img_i'] == 'img'">
				<img src='{$author['member_rank_img']}' alt='' />
			<else />
				{$author['member_rank_img']}
			</if>
			</div>
		</if>
		<br>
	<div class="wa-block">
		<div class="psevdo"></div>
		Сообщений:
		<div class="u-mini">
			« {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} »
		</div>
	</div>

<div class="wa-block">
		<div class="psevdo"></div>
		Варнов:
		<div class="u-mini">
			« <a href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;member={$author['member_id']}&amp;from_app={$this->request['app']}&amp;from_id1={$contentid}&amp;from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( $this->lang->words['warns_status'], $author['warn_level'] )"}</a> »
		</div>
	</div>
	
	<if test="authorcfields:|:$author['custom_fields'] != """>		
		<foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
			<foreach loop="customFields:$author['custom_fields'][ $group ] as $field">
				<if test="$field != ''">
						
					{$field}
						
				</if>
			</foreach>
		</foreach>
	</if>
<br>
<!--reputation-->
                                                             <if test="RepPositive:|:$author['pp_reputation_points'] > 0">
                                                                        <div class='reputation positive' data-tooltip="{parse expression=" $author['author_reputation']['text']"}"><div style='font-size:13px'>Репутация: {parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div></div>
                                                                </if>
                                                                <if test="RepNegative:|:$author['pp_reputation_points'] < 0">
                                                                        <div class='reputation negative' data-tooltip="{parse expression=" $author['author_reputation']['text']"}">      <div style='font-size:13px'>Репутация: {parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div></div>
                                                                </if>
                                                                <if test="RepZero:|:$author['pp_reputation_points'] == 0">
                                                                        <div class='reputation zero' data-tooltip="{parse expression=" $author['author_reputation']['text']"}"><div style='font-size:13px'>Репутация: {parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div></div>
                                                                </if>
<!--reputation-->

2 Перейти Админ Панель-Внешний вид-Ваш стиль-css ищем назву bussinescard. и удаляем

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

.author_info {
background: #fafafa url({style_images_url}/elegant.png ) repeat;
width: 200px;
float: left;
font-size: 12px;
text-align: center;
padding: 5px;
margin-left: 5px;
margin-top: 5px;
border: solid 1px rgba(0, 0, 0, 0.21);
}

4 Заменить на:

.author_info {
	width: 155px;
	float: left;
	font-size: 12px;
	text-align: center;
	padding: 10px 10px;
	line-height: 150%;
}

5 Найти:
 

.post_body {
margin: 0 10px 0 240px;
padding-top: 15px;
}

Заменить на:
 

.post_body {
margin: 0 10px 0 185px;
padding-top: 15px;
}

Как зделать  профиль у Рамке
1 Перейти Админ Панель-Внешний вид-Ваш стиль-userInfoPane заменить все на это:

<div class="user_block">
	    <div class="psevdo"></div>
        <if test="membertitle:|:$author['member_title']">
            <p class='desc member_title'>{$author['member_title']}</p>
		</if>
	</div>
		
	<if test="avatar:|:$author['member_id']">
			<div class='avatar'>
				<if test="canSeeProfiles:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
				<a itemprop="url" href="{parse url="showuser={$author['member_id']}" template="showuser" seotitle="{$author['members_seo_name']}" base="public"}" title="{$this->lang->words['view_profile']}: {$author['members_display_name']}" class='ipsUserPhotoLink'>
				</if>
				<if test="hasVariable:|:$this->settings['member_topic_avatar_max']">
					<img itemprop="image" src='{$author['pp_main_photo']}' class='ipsUserPhoto ipsUserPhoto_variable' />
				<else />
					<img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
				</if>
				<if test="canSeeProfiles2:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
				</a>
				</if>
			</div>
		<else />
			<div class='avatar'>
				<img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
			</div>
		</if>

		<if test="rankimage:|:$author['member_rank_img']">
			<div class='group_icon'>
			<if test="rankimageimage:|:$author['member_rank_img_i'] == 'img'">
				<img src='{$author['member_rank_img']}' alt='' />
			<else />
				{$author['member_rank_img']}
			</if>
			</div>
		</if>
		<br>
	<div class="wa-block">
		<div class="psevdo"></div>
		Сообщений:
		<div class="u-mini">
			 {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} 
		</div>
	</div>

<div class="wa-block">
		<div class="psevdo"></div>
		Замечания:
		<div class="u-mini">
			 <a href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;member={$author['member_id']}&amp;from_app={$this->request['app']}&amp;from_id1={$contentid}&amp;from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( $this->lang->words['warns_status'], $author['warn_level'] )"}</a> 
		</div>
	</div>
	
	<if test="authorcfields:|:$author['custom_fields'] != """>		
		<foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
			<foreach loop="customFields:$author['custom_fields'][ $group ] as $field">
				<if test="$field != ''">
						
					{$field}
						
				</if>
			</foreach>
		</foreach>
	</if>
<br>
<!--reputation-->
                                                             <if test="RepPositive:|:$author['pp_reputation_points'] > 0">
                                                                        <div class='reputation positive' data-tooltip="{parse expression=" $author['author_reputation']['text']"}"><div style='font-size:13px'>Репутация: {parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div></div>
                                                                </if>
                                                                <if test="RepNegative:|:$author['pp_reputation_points'] < 0">
                                                                        <div class='reputation negative' data-tooltip="{parse expression=" $author['author_reputation']['text']"}">      <div style='font-size:13px'>Репутация: {parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div></div>
                                                                </if>
                                                                <if test="RepZero:|:$author['pp_reputation_points'] == 0">
                                                                        <div class='reputation zero' data-tooltip="{parse expression=" $author['author_reputation']['text']"}"><div style='font-size:13px'>Репутация: {parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div></div>
                                                                </if>
<!--reputation-->

2 Перейти Админ Панель-Внешний вид-Ваш стиль-css-ipb_styles.css  добавить у самый низ:

.member_title {
    background: #e9e9e9;
    height: 17px;
    display: inline-block;
    font-size: 14px;
    padding: 1px;
    width: 152px;
    text-align: center;
    font-size: 0.8em;
    color: #606060;
}

.user_block {
       color:#474747;
}

.wa-block {
       border-radius: 3px;
       -moz-border-radius: 3px;
       -webkit-border-radius: 3px;
       height: 21px;
    padding: 0 3px;
       width: 137px;
       text-align: left;
       background: #e9e9e9;
       margin: 4px auto;
}

.u-mini {
       float: right;
}

.psevdo {
       height: 3px;
}
  • Author

[member=]

<MISS>

, C 1ех зделай 1 пункт потом иди к 2ех

Я так и сделала, а в css отсутствует таблица bussinescard

 

А 3 пункт нашла 2 кода, но они совсем не похожи

.author_info {
width: 213px;
float: left;
font-size: 12px;
text-align: center;
margin: 5px 3px 0 3px;
-webkit-box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.5);
}

а вот второй код

 

.author_info {
		background: #dfedd1;

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.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.