![ads305zmi9.png](http://img145.imageshack.us/img145/3272/ads305zmi9.png)
Yapılışı
ilk önce images klasorune
![kapat.gif](http://www.myforumum.com/forum/Themes/ayisigi/images/kapat.gif)
index.templateyi açıyoruz
bu kodu bulup
Kod:
</head>
<body>';
üst satırına bunu ekliyoruz
Kod:
<script type="text/javascript">
function getposOffset(overlay, offsettype){
var totaloffset=(offsettype=="left")? overlay.offsetLeft : overlay.offsetTop;
var parentEl=overlay.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}
function overlay(curobj, subobjstr, opt_position){
if (document.getElementById){
var subobj=document.getElementById(subobjstr)
subobj.style.display=(subobj.style.display!="block")? "block" : "none"
var xpos=getposOffset(curobj, "left")+((typeof opt_position!="undefined" && opt_position.indexOf("right")!=-1)? -(subobj.offsetWidth-curobj.offsetWidth) : 0)
var ypos=getposOffset(curobj, "top")+((typeof opt_position!="undefined" && opt_position.indexOf("bottom")!=-1)? curobj.offsetHeight : 0)
subobj.style.left=xpos+"px"
subobj.style.top=ypos+"px"
return false
}
else
return true
}
function overlayclose(subobj){
document.getElementById(subobj).style.display="none"
}
</script>
Sources/Load.php açın
Şunu bulun:
Kod:
'link' => '<a href="' . $scripturl . '?action=profile;u=' . $profile['ID_MEMBER'] . '" title="' . $txt[92] . ' ' . $profile['realName'] . '">' . (!empty($modSettings['MemberColorLink']) ? ( !empty($profile['member_group_color']) || !empty($profile['post_group_color']) ? '<font color="'. ( !empty($profile['member_group_color']) ? $profile['member_group_color'] : $profile['post_group_color'] ) .'">' : '' ) : '' ) . $profile['realName'] . (!empty($modSettings['MemberColorLink']) && (!empty($profile['member_group_color']) || !empty($profile['post_group_color'])) ? '</font>' : '' ).'</a>',
Hemen altına şunu ekleyin...
Kod:
'renk' => (!empty($modSettings['MemberColorLink']) ? ( !empty($profile['member_group_color']) || !empty($profile['post_group_color']) ? '<font color="'. ( !empty($profile['member_group_color']) ? $profile['member_group_color'] : $profile['post_group_color'] ) .'">' : '' ) : '' ) . $profile['realName'] . (!empty($modSettings['MemberColorLink']) && (!empty($profile['member_group_color']) || !empty($profile['post_group_color'])) ? '</font>' : '' ).'',
Display.template.php açın
Şunu bulun:
Kod:
<b>', $message['member']['link'], '</b>
Şöle değiştirin...
Kod:
<a href="', $message['member']['href'], '" onClick="return overlay(this, \'profil_', $message['member']['name'], '\',\'bottom\')"><b>', $message['member']['renk'], '</b></a><DIV id="profil_', $message['member']['name'], '" style="position:absolute; border: 1px solid #000000; width: 210px; padding: 1px; display:none" bordercolor="#FFFFFF">
<table width="100%" border="0" cellpadding="2" cellspacing="0" class="windowbg">
<tr>
<td class="titlebg" width="97%" class="titlebg" align="left">', $message['member']['name'], '</td>
<td class="titlebg" width="3%" class="titlebg"><a href="#" onClick="overlayclose(\'profil_', $message['member']['name'], '\'); return false"><img align="absmiddle" src="', $settings['images_url'], '/kapat.gif" border="0" /></a></td>
</tr>
<tr>
<td valign="middle" align="left">
<a href="', $message['member']['href'], '"><font size="2"><span style="font-size: 8pt">Kullanıcının profilini göster</span></a>
</td>
</tr>
<tr>
<td valign="middle" align="left">
<A href="', $scripturl, '?action=pm;sa=send;u=', $message['member']['id'], '"><span style="font-size: 8pt">Özel mesaj gönder</span></a>
</td>
</tr>
<tr>
<td valign="middle" align="left">
<A href="', $scripturl, '?action=profile;u=', $message['member']['id'], ';sa=showPosts"><span style="font-size: 8pt">Son mesajlarını göster</span></a>
</td>
</tr>
<tr>
<td valign="middle" align="left">
<a href="', $scripturl, '?action=buddy;u=', $message['member']['id'], ';sesc=', $context['session_id'], '"><span style="font-size: 8pt">Arkadaş listeme ekle</span></a>
</td>
</tr>
</table>
</DIV>