Jump to content

Cum dau stil la campurile din custom user info pane?


OcC

Recommended Posts

Cum pot rezolva bug-ul din poza de mai jos. Cand spun bug ma refer sa asez

Last visit 

Tara

Favorite Game 

Time Online 

una sub alta cum este si Member Number, Join, etc. Si sa scot mention de jos deoarece il am sus. 

Y0zgAkU.png

Link to comment
Share on other sites

Nu cred ca are legatura ce spui tu, totul tine de userInfoPane

Mai jos este userInfoPane cum il am acuma. Totusi cred ca este o problema din css

Spoiler

	
<div itemscope itemtype="http://schema.org/Person" class='user_details'>
	<span class='hide' itemprop="name">{$author['members_display_name']}</span>
	<ul class='basic_info'>
		<if test="membertitle:|:$author['member_title']">
			<p class='title2'>{$author['member_title']}</p>
		</if>
<ul class="dialog7">
                      <li class="dialog5">
                          <div class="arr"></div>
                      </li>
            
</ul>
</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>

{$author['_group_formatted']}
		<if test="rankimage:|:$author['member_rank_img']">
			<li id="nofun" 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>
		</ul>

	<if test="memberbox:|:$this->memberData['member_id']">
<a href="#" onclick="ipb.textEditor.getEditor( ipb.textEditor.getCurrentEditorId() ).insert( '@{$author['members_display_name']}' ); return false;" title="@{$author['members_display_name']}"><div class="mentionbtn bgtw"><i class="fa fa-bullhorn"></i><paper-ripple fit></paper-ripple></div></a>

<if test="pmlink:|:($member['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 $member['members_disable_pm'] == 0">
							<li class='pmbtn2' id='pm_xxx_{$member['member_id']}'><a 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='pmbtn bgtw'> {$this->lang->words['send_message']}<i class="fa fa-paper-plane-o"></i>  <paper-ripple fit></paper-ripple></a></li>
			
	
				


<if test="authorwarn:|:$author['show_warn']">
<if test="hasWarningId:|:$options['wl_id']">
					
			</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']}'><div class="warnbtn bgtw tooltip tooltipstered"> <i class="fa fa-exclamation-triangle"></i>  <paper-ripple fit></paper-ripple></div></a>

</if>

 </if>

</if>

<div class="ig_userinfo_b4">

				
				
	
    <div class="left ig_userinfo_b4_1">
      <div>
        <span class="ig_userinfo_b4_m">Posts</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 ig_userinfo_b4_1">
      <div><span class="ig_userinfo_b4_m">Threads</span></div>
      <div style="padding-top: 5px;">
<span style="font-size: 15px;"><php>$topics=ipsRegistry::DB()->buildAndFetch(array('select'=>'count(*) as topics','from'=>'topics','where'=>"starter_id=".$author['member_id']));</php> {$topics['topics']}
</span></div>


    </div>
	

    
</div>
					

	<div class="extraUserInfo">
			
	
			<dl class="pairsJustified">
				<li class='post_count desc lighter'>
					<dt><i class="fa fa-user"> </i>&nbsp  Member Number:</dt>
					<dd>{$author['member_id']}</dd>
				</li>
			</dl>

	
<dl class="pairsJustified">
				<li class='post_count desc lighter'>
					<dt><i class="fa fa-calendar"> </i>&nbsp  {$this->lang->words['m_joined']}</dt>
					<dd>{parse date="$author['joined']" format="joined"}</dd>
				</li>
			</dl>
		<if test="authorwarn:|:$author['show_warn']">
				<dl class="pairsJustified">
					<li class='post_count desc lighter'>
						<dt><i class="fa fa-exclamation-circle"> </i>&nbsp  Warnings:</dt>
						<dd>{parse expression="$this->registry->getClass('class_localization')->formatNumber(intval($author['warn_level']))"}</dd>
					</li>
				</dl>
		</if>

	<dl class="pairsJustified">
				<li class='post_count desc lighter'>
					<dt><i class="fa fa-thumbs-up"> </i>&nbsp  Reputation:</dt>
					<dd>{$author['pp_reputation_points']}</dd>
				</li>
		</dl>




  <if test="authorcfields:|:$author['custom_fields'] != """><ul>
            <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>

	</div>
<if test="$author['_online']">
<div class="postbitbox3_online"><span class="online">Online</span></div>
<else />
<div class="postbitbox3_offline"><span class="offline">Offline</span></div></if>
</div>

 

  •  
     
    ipb_styles.css
 
Link to comment
Share on other sites

Nu este nicio problemă de CSS. Ceea ce trebuie să faci este să iei clasa / id de la Last visit spre exemplu și s-o adaugi la last visited, tață etc. Dar, trebuie să stai atent.

 

Și data viitoare citește regulamentul fără să pui titluri aiurea. 

Link to comment
Share on other sites

Am stat atent si am reusit sa le fac, singura problema este ca nu gasesc id/class/['author'] la aplicatia (SOS33) Total Time Spent On Forums 3.1.0. Am incerca cu urmatoarele 

time_spent, sos33_time_spent inclusiv time_spent_title si nimic. Ai cumva idee care poate fi.

Multumesc anticipat.

Link to comment
Share on other sites

  • gadeas changed the title to Cum dau stil la campurile din custom user info pane?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.