Bu eklenti ile gelen pm'lerin kapatılabilen bir popup penceresi ile gösterilmesini sağlayabilirsiniz. Ayrıntılı bilgi sahibi olmak için lütfen ekran görüntüsüne bakınız.
Kurulum çok basit. Tek yapmanız gereken, pm_popup_script template'ini açmak ve içindeki kodları, aşağıdaki kodlarla değiştirmek.
Dosyayı İndir...
Son olarak eklenti içersindeki fixed_position_ie.js dosyasını clientscript/ klasorune upload edin. Boylelikle kurulum tamamlanmış olacaktır.
Kurulum çok basit. Tek yapmanız gereken, pm_popup_script template'ini açmak ve içindeki kodları, aşağıdaki kodlarla değiştirmek.
Dosyayı İndir...
Kod:
[COLOR=#007700]<[/COLOR][COLOR=#0000bb]script type[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#dd0000]"text/javascript" [/COLOR][COLOR=#0000bb]src[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#dd0000]"clientscript/fixed_position_ie.js"[/COLOR][COLOR=#007700]>[/COLOR][COLOR=#0000bb]</script>[/COLOR]
<script type='text/javascript'>
var agtbrw=navigator.userAgent.toLowerCase();
var operaaa=(agtbrw.indexOf('opera')!=-1);
var head="display:''";
var folder='';
function expandit(curobj){
if(document.getElementById(curobj)){
folder=document.getElementById(curobj).style;
}else{
if(ns6==1||operaaa==true){
folder=curobj.nextSibling.nextSibling.style;
}else{
folder=document.all[curobj.sourceIndex+1].style;
}
}
if (folder.display=="none"){folder.display="";}else{folder.display="none";}
}
mytagid = Math.floor( Math.random() * 10000 );
</script>
<style type="text/css">
#pm_popup {
position:fixed;
top:250px;
border:1px solid;
width:64%;
margin-right:18%;
margin-left:18%;
}
</style>
<div id="pm_popup">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat">
<span class="smallfont" style="float:$stylevar[right]"><a href="#" onclick="expandit('pm_popup');">Close</a></span>
You have a private message!
</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
You're newest message is from <b>$newpm[fromusername]</b>, entitled <b>'$newpm[title]'</b>
<br />
</td>
</tr>
<tr>
<td align="center">
<br /><br />
<a href="#" onclick='window.open("private.php?do=showpm&pmid=$newpm[pmid]", "pmbox", "menubar=yes,scrollbars=yes,toolbar=yes,********=yes,directories=yes,resizable=ye s,top=50,left=50");expandit("pm_popup");window.focus("pmbox");' >Read this message</a>
<br /><br />
<a href="#" onclick='window.open("private.php", "pmbox", "menubar=yes,scrollbars=yes,toolbar=yes,********=yes,directories=yes,resizable=ye s,top=50,left=50");expandit("pm_popup");window.focus("pmbox");' >Go to my PM inbox</a>
</td>
</tr>
</table>
</div>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<form><input type="button" class="button" value="Close this popup" onclick="expandit('pm_popup');" /></form>
</div>
</td>
</tr>
</table>
</div>
Son olarak eklenti içersindeki fixed_position_ie.js dosyasını clientscript/ klasorune upload edin. Boylelikle kurulum tamamlanmış olacaktır.
