Avatarı Olmayan Üyeye Default Avatar [3.5.x ]

bLoOdLusT1912

Kadim Üye
1 Ağu 2007
5,470
41
postbit templatesini açıp alttakini bulun;

Kod:
[FONT=Courier New]<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td[/FONT][FONT=Courier New]></if>  [/FONT]


alttakiyle değiştirin;
Kod:
[FONT=Courier New]<if condition="$show['avatar']"[/FONT]
Kod:
[FONT=Courier New][COLOR=white]> [/COLOR][/FONT]
[FONT=Courier New][COLOR=white]<td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td[/COLOR][/FONT][FONT=Courier New][COLOR=white]> [/COLOR][/FONT]
[FONT=Courier New][COLOR=white]<else /> [/COLOR][/FONT]
[FONT=Courier New][COLOR=white]<td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$stylevar[imgdir_misc]/noavatar.gif" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td[/COLOR][/FONT][COLOR=white][FONT=Courier New]> [/FONT][/COLOR]
[FONT=Courier New][COLOR=white]</if>  [/COLOR][/FONT]

postbit legacy templatesini açıp alttakileri bulun;
Kod:
[FONT=Courier New]<if condition="$show['avatar']"[/FONT]
Kod:
[FONT=Courier New][COLOR=white]> [/COLOR][/FONT]
[FONT=Courier New][COLOR=white]<div class="smallfont"[/COLOR][/FONT][FONT=Courier New][COLOR=white]> [/COLOR][/FONT]
[FONT=Courier New][COLOR=white] <br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a[/COLOR][/FONT][FONT=Courier New][COLOR=white]> [/COLOR][/FONT]
[FONT=Courier New][COLOR=white]</div[/COLOR][/FONT][COLOR=white][FONT=Courier New]> [/FONT][/COLOR]
[FONT=Courier New][COLOR=white]</if>  [/COLOR][/FONT]

alttakiyle değiştirin;
Kod:
[FONT=Courier New]<if condition="$show['avatar']"[/FONT]
Kod:
[FONT=Courier New][COLOR=white]> [/COLOR][/FONT]
[FONT=Courier New][COLOR=white]<div class="smallfont"[/COLOR][/FONT][FONT=Courier New][COLOR=white]> [/COLOR][/FONT]
[FONT=Courier New][COLOR=white] <br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a[/COLOR][/FONT][FONT=Courier New][COLOR=white]> [/COLOR][/FONT]
[FONT=Courier New][COLOR=white]</div[/COLOR][/FONT][FONT=Courier New][COLOR=white]> [/COLOR][/FONT]
[FONT=Courier New][COLOR=white]<else /> [/COLOR][/FONT]
[FONT=Courier New][COLOR=white]<div class="smallfont"[/COLOR][/FONT][FONT=Courier New][COLOR=white]> [/COLOR][/FONT]
[FONT=Courier New][COLOR=white] <br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$stylevar[imgdir_misc]/noavatar.gif" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a[/COLOR][/FONT][FONT=Courier New][COLOR=white]> [/COLOR][/FONT]
[FONT=Courier New][COLOR=white]</div[/COLOR][/FONT][COLOR=white][FONT=Courier New]> [/FONT][/COLOR]
[FONT=Courier New][COLOR=white]</if>  [/COLOR][/FONT]

memberinfo templatesi açıp alttakini bulun;
Kod:
[FONT=Courier New]<if condition="$show['avatar']"[/FONT]
Kod:
[FONT=Courier New][COLOR=white]> [/COLOR][/FONT]
[FONT=Courier New][COLOR=white]   <td><img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td[/COLOR][/FONT][FONT=Courier New][COLOR=white]> [/COLOR][/FONT]
[FONT=Courier New][COLOR=white]  <else /> [/COLOR][/FONT]
[FONT=Courier New][COLOR=white]   <td> </td[/COLOR][/FONT][COLOR=white][FONT=Courier New]> [/FONT][/COLOR]
[FONT=Courier New][COLOR=white]  </if> [/COLOR][/FONT]

alttakiyle değiştirin;
Kod:
[FONT=Courier New]<if condition="$show['avatar']"[/FONT]
Kod:
[FONT=Courier New][COLOR=white]> [/COLOR][/FONT]
[FONT=Courier New][COLOR=white]   <td><img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td[/COLOR][/FONT][FONT=Courier New][COLOR=white]> [/COLOR][/FONT]
[FONT=Courier New][COLOR=white]  <else /> [/COLOR][/FONT]
[FONT=Courier New][COLOR=white]   <td><img src="$stylevar[imgdir_misc]/noavatar.gif" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td[/COLOR][/FONT][COLOR=white][FONT=Courier New]> [/FONT][/COLOR]
[FONT=Courier New][COLOR=white]  </if>  [/COLOR][/FONT]

son olarakta noavatar isimli bir gif oluşturup images/misc içine upload edin iyi forumlar...
 
Üst

Turkhackteam.org internet sitesi 5651 sayılı kanun’un 2. maddesinin 1. fıkrasının m) bendi ile aynı kanunun 5. maddesi kapsamında "Yer Sağlayıcı" konumundadır. İçerikler ön onay olmaksızın tamamen kullanıcılar tarafından oluşturulmaktadır. Turkhackteam.org; Yer sağlayıcı olarak, kullanıcılar tarafından oluşturulan içeriği ya da hukuka aykırı paylaşımı kontrol etmekle ya da araştırmakla yükümlü değildir. Türkhackteam saldırı timleri Türk sitelerine hiçbir zararlı faaliyette bulunmaz. Türkhackteam üyelerinin yaptığı bireysel hack faaliyetlerinden Türkhackteam sorumlu değildir. Sitelerinize Türkhackteam ismi kullanılarak hack faaliyetinde bulunulursa, site-sunucu erişim loglarından bu faaliyeti gerçekleştiren ip adresini tespit edip diğer kanıtlarla birlikte savcılığa suç duyurusunda bulununuz.