Jump to content

Question

4 answers to this question

Recommended Posts

  • 0
Posted
1 hour ago, Daniel H. said:

Pui codul imaginii cu ranguri deasupra celui cu avatar... De unde ai vrea sa stim ce coduri ai pus tu acolo... ?

Ai vorbit ca să-ți faci lucru sau ? Prima oară exclude toate opțiunile valabile până să lași un comentariu de genul, având în vedere că imagine pentru grad se adaugă din mai multe locuri, nu doar codul de temă.
Schimbă :

 

<ul class='cAuthorPane_info ipsList_reset'>
			{{if $comment->author()->member_title && $comment->author()->member_id}}
				<li class='ipsType_break'>{$comment->author()->member_title}</li>
			{{elseif $comment->author()->rank['title'] && $comment->author()->member_id}}
				<li class='ipsType_break'>{$comment->author()->rank['title']}</li>
			{{endif}}
			{{if $comment->author()->rank['image'] && $comment->author()->member_id}}
				<li class='ipsType_break'>{$comment->author()->rank['image']|raw}</li>
			{{endif}}
			<li class='cAuthorPane_photo ipsType_break'>
				<img src='{{if $comment->author()->pp_thumb_photo}}{file="$comment->author()->pp_main_photo"}{{else}}{resource="puffysticks/images/default_avatar.png" location="front" app="core"}{{endif}}'>
			</li>
			{{if \IPS\Member\Group::load( $comment->author()->member_group_id )->g_icon }}
				<li><img src='{file="$comment->author()->group['g_icon']" extension="core_Theme"}' alt='' class='cAuthorGroupIcon'></li>
			{{endif}}

cu :
 

<ul class='cAuthorPane_info ipsList_reset'>
			{{if $comment->author()->member_title && $comment->author()->member_id}}
				<li class='ipsType_break'>{$comment->author()->member_title}</li>
			{{elseif $comment->author()->rank['title'] && $comment->author()->member_id}}
				<li class='ipsType_break'>{$comment->author()->rank['title']}</li>
			{{endif}}
			{{if $comment->author()->rank['image'] && $comment->author()->member_id}}
				<li class='ipsType_break'>{$comment->author()->rank['image']|raw}</li>
			{{endif}}
            {{if \IPS\Member\Group::load( $comment->author()->member_group_id )->g_icon }}
				<li><img src='{file="$comment->author()->group['g_icon']" extension="core_Theme"}' alt='' class='cAuthorGroupIcon'></li>
			{{endif}}
			<li class='cAuthorPane_photo'>
              {{if $comment->author()->pp_main_photo AND $comment->author()->pp_thumb_photo}}
              <img src="{url="" base=""}/uploads/{$comment->author()->pp_main_photo}">
              {{else}}
              <img src="{$comment->author()->photo}">
              {{endif}}
			</li>

Data viitoare atașează și codul care-l ai în postContainer.

  • Thanks 1
Guest
This topic is now closed to further replies.
  • 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.