Jump to content

Изменит размер сообщений под авой.

Featured Replies

Всем привет.

 

Прошу не ругать, не как не мог понять как искать тему на эту тематику.

 

1. Как увеличит размер и начальное заглавные буквы?

post-3226-0-26411600-1401106266.jpg

 

2. Как можно перенести статус ниже под авой.

post-3226-0-40151400-1401106515.png

Link to comment
https://ipbmafia.ru/topic/8237-izmenit-razmer-soobshenij-pod-avoj/
Share on other sites

1) в ipb_styles.css

.posticss {color: #FFF;background: #323232;padding: 4px;margin-top: 2px;border: 1px solid #DDD;border-radius: 5px;-webkit-border-radius: 1px;
-moz-border-radius: 1px;text-align: center;width: 97%;}

Заменяем на 

.posticss {color: #FFF;background: #323232;padding: 4px;margin-top: 2px;border: 1px solid #DDD;border-radius: 5px;-webkit-border-radius: 1px;
-moz-border-radius: 1px;text-align: center;width: 97%;font-size: 14px;}

Где font-size: 14px; - меняем на свой размер

Link to comment
https://ipbmafia.ru/topic/8237-izmenit-razmer-soobshenij-pod-avoj/?&do=findComment&comment=64206
Share on other sites

SanyaSamp,

 

А как увеличить начальное заглавные буквы?

Link to comment
https://ipbmafia.ru/topic/8237-izmenit-razmer-soobshenij-pod-avoj/?&do=findComment&comment=64212
Share on other sites


А как увеличить начальное заглавные буквы?
Ищите в Языках по слову сообщений или по ключу m_posts и редактируйте.
Link to comment
https://ipbmafia.ru/topic/8237-izmenit-razmer-soobshenij-pod-avoj/?&do=findComment&comment=64214
Share on other sites


m_posts

Не помогло. 


LvsF,

 

 
Там стоит "Сообщении: " Но на форуме отображается вот так:
 
post-3226-0-96373800-1401115490.jpg
Link to comment
https://ipbmafia.ru/topic/8237-izmenit-razmer-soobshenij-pod-avoj/?&do=findComment&comment=64218
Share on other sites

Там есть 2 "m_post"

Выбираем самый верхний и меняем 

post-16634-0-26143500-1401115667.png

Вот это

Link to comment
https://ipbmafia.ru/topic/8237-izmenit-razmer-soobshenij-pod-avoj/?&do=findComment&comment=64219
Share on other sites

AgentK,

 

И да она на самом вверху в  -  "members/public_profile"  нечего. 

Link to comment
https://ipbmafia.ru/topic/8237-izmenit-razmer-soobshenij-pod-avoj/?&do=findComment&comment=64224
Share on other sites

Anisimov, выложите код шаблона userInfoPane 

Link to comment
https://ipbmafia.ru/topic/8237-izmenit-razmer-soobshenij-pod-avoj/?&do=findComment&comment=64274
Share on other sites

Anisimov, выложите код шаблона userInfoPane 

 

<if test="$this->settings['horizontalTopicView']='no'"></if>
<!-- -->
<div itemscope itemtype="__schema.org/Person" class='user_details <if test="$this->settings['horizontalTopicView']=='yes'">clearfix</if>'>

<if test="($this->settings['horizontalTopicView']=='yes') AND $this->request['section'] == 'topics'">

	<div class='horizontalAvatar left'>

    <if test="avatar:|:$author['member_id']">
            <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>
    <else />
            <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
    </if>
    
    </div>
    
    <div class='horizontalUserInfo'>

	<div class='horizontalUsername'>
       
        <if test="$author['member_id']">
            <span itemprop="creator name" class="author vcard">{parse template="userHoverCard" group="global" params="$author"}</span>
        <else />
            {$author['members_display_name']}
        </if>
    
    </div>

    <ul class='horizontalInfoList' style='width: 140px;'>
    	<li class='group_title'>
			{$author['_group_formatted']}
		</li>
        <if test="postCount:|:$author['member_id']">
		<li class='post_count desc lighter'>
			{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} {$this->lang->words['m_posts']}
		</li>
		</if>
    </ul>
    
    <ul class='horizontalInfoList' style='width: 140px;'>
		<if test="rankimage:|:$author['member_rank_img']">
			<li 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>
			</li>
		</if>
        <if test="membertitle:|:$author['member_title']">
			<li>{$author['member_title']}</li>
		</if>
		<if test="authorwarn:|:$author['show_warn']">
			<li>
				<if test="hasWarningId:|:$options['wl_id']">
					<img src='{$this->settings['img_url']}/warn.png' class='clickable' onclick='warningPopup( this, {$options['wl_id']} )' title='{$this->lang->words['warnings_issued']}' />
				</if>
				<a class='desc lighter blend_links' 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['warn_status'], $author['warn_level'] )"}</a>
			</li>
		</if>
	</ul>
	
	<if test="authorcfields:|:$author['custom_fields'] != """>
		<ul class='horizontalInfoList custom_fields'>
			<foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
				<foreach loop="customFields:$author['custom_fields'][ $group ] as $field">
					<if test="$field != ''">
						<li>
							{$field}
						</li>
					</if>
				</foreach>
			</foreach>
		</ul>
	</if>
    
    <ul class='horizontalInfoList' style='float: right; width: 190px;'>
    	<li><if test="$author['_online']"><img src="{style_images_url}/post_online.png" alt="" class='post_online' data-tooltip="Online" /><else /><img src="{style_images_url}/post_offline.png" alt="" class='post_online' data-tooltip="Offline" /></if> Last active: {$author['_last_active']}</li>
		<li style='padding-left: 15px;'>Joined: {parse date="$author['joined']" format="DATE"}</li>
    </ul>
    
    </div>

<else />

<span class='hide' itemprop="name">{$author['members_display_name']}</span>

	<ul class='basic_info'>
		<if test="membertitle:|:$author['member_title']">
			<p class='desc member_title'>{$author['member_title']}</p>
		</if>
		<if test="avatar:|:$author['member_id']">
			<li 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>
			</li>
		<else />
			<li class='avatar'>
				<img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
			</li>
		</if>
		<li class='group_title'>
			
		</li>
		<if test="rankimage:|:$author['member_rank_img']">
			<li 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>
			</li>
		</if><font size="1" color="323232"></font>
		<li class='posticss'>
			 {$this->lang->words['m_posts']}: {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}
		</li>
		

{parse variable="tb_srtv_style" default=" style='float:none;text-align:center;'"}
                <if test="$author['pp_reputation_points'] > 0">
                        <div class='posticss'{parse variable="tb_srtv_style"}>
                </if>
                <if test="$author['pp_reputation_points'] < 0">
                        <div class='posticss'{parse variable="tb_srtv_style"}>
                </if>
                <if test="$author['pp_reputation_points'] == 0">
                        <div class='reputation zero'{parse variable="tb_srtv_style"}>
                </if>
                        <div style='font-size:1.1em'>{$this->lang->words['reputation']}: {parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div>
                        <if test="$author['author_reputation'] && $author['author_reputation']['image']">
                                <span class='image'><img src='{$author['author_reputation']['image']}' alt='{$this->lang->words['reputation']}' /></span>
                        </if>
                </div>

		<if test="authorwarn:|:$author['show_warn']">
			<li>
				<if test="$options['wl_id']">
					<img src='{$this->settings['img_url']}/warn.png' class='clickable' onclick='warningPopup( this, {$options['wl_id']} )' title='{$this->lang->words['warnings_issued']}' />
				</if>
				
			</li>
		</if>
	</ul>
	
	<if test="authorcfields:|:$author['custom_fields'] != """>
		<ul class='custom_fields'>
			<foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
				
			</foreach>
		</ul>
	</if>

</if>
	
</div> 

Link to comment
https://ipbmafia.ru/topic/8237-izmenit-razmer-soobshenij-pod-avoj/?&do=findComment&comment=64336
Share on other sites

Замените на

<if test="$this->settings['horizontalTopicView']='no'"></if>
<!-- -->
<div itemscope itemtype="__schema.org/Person" class='user_details <if test="$this->settings['horizontalTopicView']=='yes'">clearfix</if>'>

<if test="($this->settings['horizontalTopicView']=='yes') AND $this->request['section'] == 'topics'">

	<div class='horizontalAvatar left'>

    <if test="avatar:|:$author['member_id']">
            <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>
    <else />
            <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
    </if>
    
    </div>
    
    <div class='horizontalUserInfo'>

	<div class='horizontalUsername'>
       
        <if test="$author['member_id']">
            <span itemprop="creator name" class="author vcard">{parse template="userHoverCard" group="global" params="$author"}</span>
        <else />
            {$author['members_display_name']}
        </if>
    
    </div>

    <ul class='horizontalInfoList' style='width: 140px;'>
    	<li class='group_title'>
			{$author['_group_formatted']}
		</li>
        <if test="postCount:|:$author['member_id']">
		<li class='post_count desc lighter'>
			{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} {$this->lang->words['m_posts']}
		</li>
		</if>
    </ul>
    
    <ul class='horizontalInfoList' style='width: 140px;'>
		<if test="rankimage:|:$author['member_rank_img']">
			<li 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>
			</li>
		</if>
        <if test="membertitle:|:$author['member_title']">
			<li>{$author['member_title']}</li>
		</if>
		<if test="authorwarn:|:$author['show_warn']">
			<li>
				<if test="hasWarningId:|:$options['wl_id']">
					<img src='{$this->settings['img_url']}/warn.png' class='clickable' onclick='warningPopup( this, {$options['wl_id']} )' title='{$this->lang->words['warnings_issued']}' />
				</if>
				<a class='desc lighter blend_links' 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['warn_status'], $author['warn_level'] )"}</a>
			</li>
		</if>
	</ul>
	
	<if test="authorcfields:|:$author['custom_fields'] != """>
		<ul class='horizontalInfoList custom_fields'>
			<foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
				<foreach loop="customFields:$author['custom_fields'][ $group ] as $field">
					<if test="$field != ''">
						<li>
							{$field}
						</li>
					</if>
				</foreach>
			</foreach>
		</ul>
	</if>
    
    <ul class='horizontalInfoList' style='float: right; width: 190px;'>
    	<li><if test="$author['_online']"><img src="{style_images_url}/post_online.png" alt="" class='post_online' data-tooltip="Online" /><else /><img src="{style_images_url}/post_offline.png" alt="" class='post_online' data-tooltip="Offline" /></if> Last active: {$author['_last_active']}</li>
		<li style='padding-left: 15px;'>Joined: {parse date="$author['joined']" format="DATE"}</li>
    </ul>
    
    </div>

<else />

<span class='hide' itemprop="name">{$author['members_display_name']}</span>

	<ul class='basic_info'>
		<if test="membertitle:|:$author['member_title']">
			<p class='desc member_title'>{$author['member_title']}</p>
		</if>
		<if test="avatar:|:$author['member_id']">
			<li 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>
			</li>
		<else />
			<li class='avatar'>
				<img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
			</li>
		</if>
		<li class='group_title'>
			
		</li>
		<if test="rankimage:|:$author['member_rank_img']">
			<li 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>
			</li>
		</if><font size="1" color="323232"></font>
		<li class='posticss'>
			 Сообщений: {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}
		</li>
		

{parse variable="tb_srtv_style" default=" style='float:none;text-align:center;'"}
                <if test="$author['pp_reputation_points'] > 0">
                        <div class='posticss'{parse variable="tb_srtv_style"}>
                </if>
                <if test="$author['pp_reputation_points'] < 0">
                        <div class='posticss'{parse variable="tb_srtv_style"}>
                </if>
                <if test="$author['pp_reputation_points'] == 0">
                        <div class='reputation zero'{parse variable="tb_srtv_style"}>
                </if>
                        <div style='font-size:1.1em'>{$this->lang->words['reputation']}: {parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div>
                        <if test="$author['author_reputation'] && $author['author_reputation']['image']">
                                <span class='image'><img src='{$author['author_reputation']['image']}' alt='{$this->lang->words['reputation']}' /></span>
                        </if>
                </div>

		<if test="authorwarn:|:$author['show_warn']">
			<li>
				<if test="$options['wl_id']">
					<img src='{$this->settings['img_url']}/warn.png' class='clickable' onclick='warningPopup( this, {$options['wl_id']} )' title='{$this->lang->words['warnings_issued']}' />
				</if>
				
			</li>
		</if>
	</ul>
	
	<if test="authorcfields:|:$author['custom_fields'] != """>
		<ul class='custom_fields'>
			<foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
				
			</foreach>
		</ul>
	</if>

</if>
	
</div>  
Link to comment
https://ipbmafia.ru/topic/8237-izmenit-razmer-soobshenij-pod-avoj/?&do=findComment&comment=64342
Share on other sites
Guest
This topic is now closed to further replies.

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

  • No registered users viewing this page.