Jump to content
Cyberpixelz Community
Sign in to follow this  
cyb3r d0c

Mărire dimensiune avatar - IP.Board 4.4

Recommended Posts

Acesta este un nou update al versiunii de marire a avatarelor creat de Sebastian ( click )

Mergem în forums - topics și selectăm „postContainer” după care căutăm următorul cod :

<li class='cAuthorPane_photo'>
{template="userPhoto" app="core" group="global" params="$comment->author(), 'large', $comment->warningRef()"}

Codul de mai sus îl vom înlocui cu următorul :

<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}">
              <img src="{$comment->author()->photo}">

Salvăm după care mergem în „costum.css” și adăugăm următorul cod :

.cAuthorPane_photo img {
    max-width: 170px;
    width: auto;

Rezultat ( click )

  • Like 1

Share this post

Link to post
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.

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.

Sign in to follow this  

Board Life Status

Board startup date: November 01, 2018 11:05:38
  • Create New...