Jump to content
Banner 730x90px boost

Recommended Posts

  • Administrator

Am decis sa fac acest tutorial, poate fi de folos celor care folosesc ipb 4.3.x


CSS:

  • Alege tema pe care vrei sa o modifici si intra in: core > front > custom > custom.css si  la sfarsit adaugi acest cod:
.cAuthorPane_photo img{
    max-width: 170px;
}

Template

  • Intra in forums > front > topics > postcontainer si cauta:
<li class='cAuthorPane_photo'>
  {template="userPhoto" app="core" group="global" params="$comment->author(), 'large', $comment->warningRef()"}
</li>
  • Schimba cu:
<li class='cAuthorPane_photo'>
  {{if $comment->author()->pp_main_photo}}
    <span class='ipsUserPhoto ipsUserPhoto_variable'>
      <img src="{setting="base_url"}uploads/{$comment->author()->pp_main_photo}" />
    </span>
  {{else}}
    <span class='ipsUserPhoto ipsUserPhoto_variable'>
      <img src="<Path_to>/default_photo.png" />
    </span>
  {{endif}}
</li>

 

 

Dupa ce ati terminat la duceti la grupul dorit si modificati "Maximum profile photo width/height" cu 250.

Pentru orice problema lasati reply, bafta.

 

Link to comment
Share on other sites

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.


×
×
  • Create New...