Am observat că unele persoane nu știu cum să mărească avatarele în versiunea 4.5, nu este o diferență între ele doar că s-au băgat badge-urile și toți le vor. Acest cod conține și badge-urile adăugate de IPS.
1. In forums - topics - postContainer căutam codul acesta:
<li data-role='photo' class='cAuthorPane_photo'>
{template="userPhoto" app="core" group="global" params="$comment->author(), 'large', $comment->warningRef()"}
{{if $comment->author()->modShowBadge()}}
<span class="cAuthorPane_badge cAuthorPane_badge--moderator" data-ipsTooltip title="{lang="member_is_moderator" sprintf="$comment->author()->name"}"></span>
{{elseif $comment->author()->joinedRecently()}}
<span class="cAuthorPane_badge cAuthorPane_badge--new" data-ipsTooltip title="{lang="member_is_new_badge" sprintf="$comment->author()->name"}"></span>
{{endif}}
</li>
2. O să înlocuim codul de mai sus cu acesta:
<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}}
{{if $comment->author()->modShowBadge()}}
<span class="cAuthorPane_badge cAuthorPane_badge--moderator" data-ipsTooltip title="{lang="member_is_moderator" sprintf="$comment->author()->name"}"></span>
{{elseif $comment->author()->joinedRecently()}}
<span class="cAuthorPane_badge cAuthorPane_badge--new" data-ipsTooltip title="{lang="member_is_new_badge" sprintf="$comment->author()->name"}"></span>
{{endif}}
</li>
3. Salvați codul, vă duceți în custom.css și puneți acest cod unde doriți voi:
.cAuthorPane_photo img {
max-width: 170px;
width: auto;
}
Pentru persoanele care vor să se dea importante, am precizat mai sus fix la început că nu există diferențe mari din 4.4 și 4.5.
Pentru cei care doresc un custom postContainer să apese pe acest link.