Exiled - Gaming Romania este o comunitate bazata pe gaming-ul profesionist.


Tutorial avatare normale in IPB 4.0

 



Vezi subiectul anterior Vezi subiectul urmator In jos   Mesaj • Pagina 1 din 1

Adi
#1

la data de Dum Mai 15, 2016 10:02 pm

avatar


Primul pas
Intrati in ACP > Customization > Themes si alegeti tema dvs.

Al 2-lea pas
Cautati template-ul  postContainer .

Pasul 3
Cautati urmatorul cod:

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

Pasul 5
Il inlocuiti cu acesta:

Cod:
<li class='cAuthorPane_photo'>
                {{if $comment->author()->pp_main_photo}}<a href='{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}-{$comment->author()->name}" seoTemplate="profile" seoTitle="$seoName"}' data-ipsHover data-ipsHover-target='{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}-{$comment->author()->name}&do=hovercard" seoTemplate="profile" seoTitle="$seoName"}' title="{lang="view_user_profile" sprintf="$name"}"><span class='ipsUserPhoto ipsUserPhoto_variable'><img src="{setting="base_url"}uploads/{$comment->author()->pp_main_photo}" /></span></a>{{else}}<a href='{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}-{$comment->author()->name}" seoTemplate="profile" seoTitle="$seoName"}' data-ipsHover data-ipsHover-target='{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}-{$comment->author()->name}&do=hovercard" seoTemplate="profile" seoTitle="$seoName"}' title="{lang="view_user_profile" sprintf="$name"}"><img src="Default Image Url" /></a>{{endif}}
          </li>

Cod:
[b]Si modificati la <img src="Default Image Url" /> cu linkul catre avatarul dvs default pentru forum. Exemplu:

<img src="http://imgur.com/tUt0rIal.png" /> [/b]



Vezi profilul utilizatorului http://exiled.wow3.info

Vezi subiectul anterior Vezi subiectul urmator Sus   Mesaj • Pagina 1 din 1