Jump to content

Криво отображается Userpane гостям.

Featured Replies

Гостям форума,когда они заходят в любую отображает криво userpane :post-5-0-77868500-1429690202_thumb.thumb

А автовизированным пользователям отображается все норм : BYeLOFw.thumb.png.299cbf010991ddd90f6fb6

Кеш,куки форума и сайта чистил.. 

Вот весь userpane :

<if test="membertitle:|:$author['member_title']">
<p class='reputation positive'>{$author['member_title']}</p>
</if>
<br></br>
<div class="user_details">
	<ul class="basic_info">
		<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' />
				</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_main_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
			</li>
		</if>
		<br>
		<li>
			<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='http://cs-mo4ilova.ru/public/style_images/velvet/email_open.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='http://cs-mo4ilova.ru/public/style_images/velvet/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='http://cs-mo4ilova.ru/public/style_images/velvet/user_add.png' alt='{$this->lang->words['add_friend']}' /></a>
				</if>
			</if>
		</li>
		<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>
		<ul class="custom_fields">
			<li>
				<span class="ft">
					<img src="http://gameextra.ru/public/style_images/wartydesign/ms.png">
				</span> Сообщений:
				<span class="fc">
					{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}
				</span>
			</li>
			<if test="authorcfields:|:$author['custom_fields'] != """></if>
			<if test="authorwarn:|:$author['show_warn']">
				<li>
				       <img src='{$this->settings['img_url']}/warn.png' class='clickable' onclick='warningPopup( this, {$options['wl_id']} )' title='{$this->lang->words['warnings_issued']}' />
					<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']}'>{$author['warn_level']} нарушений</a>
				</li>
			</if>
		</ul>
	</ul>
</div>

<div class="user_details">
	<ul class="custom_fields" style="margin-top: 0px;">
		<li style="position: relative;">
			<if test="postCount:|:$author['member_id']"></if>
		</li>
	</ul>
</div>

Подскажите в чем может быть проблема ?

Link to comment
https://ipbmafia.ru/topic/11246-krivo-otobrazhaetsya-userpane-gostyam/
Share on other sites

ац -> внешний вид -> ваш стиль -> темы -> post

найти:

<if test="postModCheckbox:|:$post['post']['moddable'] && ! $topic['_isArchived']">
                    <span class='right'>
                        <label for='checkbox_{$post['post']['pid']}' class='post_mod hide'>{$this->lang->words['mod_select_post']}</label> <input type='checkbox' id='checkbox_{$post['post']['pid']}' name='selectedpids[]' value='{$post['post']['pid']}' class='post_mod right'<if test="postModSelected:|:!empty( $post['post']['_pid_selected'] )"> checked='checked'</if> data-status='{$post['post']['queued']}' />
                    </span>

замените на:

                <if test="postModCheckbox:|:$post['post']['moddable'] && ! $topic['_isArchived']">
                    <span class='right'>
                        <label for='checkbox_{$post['post']['pid']}' class='post_mod hide'>{$this->lang->words['mod_select_post']}</label> <input type='checkbox' id='checkbox_{$post['post']['pid']}' name='selectedpids[]' value='{$post['post']['pid']}' class='post_mod right'<if test="postModSelected:|:!empty( $post['post']['_pid_selected'] )"> checked='checked'</if> data-status='{$post['post']['queued']}' />
                    </span>
</if>

 

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.