Gönderen Konu: Msn Uyarısı Gibi Üye ol Uyarısı  (Okunma sayısı 3252 defa)

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

Çevrimdışı jarni

  • Moderatör
  • *
  • İleti: 864
  • Puan: 122
  • Cinsiyet: Bay
  • Trash Metal
Msn Uyarısı Gibi Üye ol Uyarısı
« : Ekim 30, 2008, 20:04:39 ÖS »


index.template de BUL:

Kod: [Seç]
</head>
Üstüne Ekle:

Kod: [Seç]
<style type="text/css">
#topbar{
position:absolute;
padding: 2px;
BORDER-RIGHT: #455690 1px solid;
BORDER-TOP: #b9c9ef 1px solid;
BORDER-LEFT: #b9c9ef 1px solid;
BORDER-BOTTOM: #455690 1px solid;
background-color: #e0e9f8;
width: 200px;
height: 105px;
visibility: hidden;
z-index: 100;
background-image: url(http://www.forumsn.com/forum/Themes/SMFone_blue/images/arka.jpg);
}
</style>

<script type="text/javascript">

/***********************************************
* Floating Top Bar script- © Dynamic Drive (www.dynamicdrive.com)
* Sliding routine by Roy Whittle (http://www.javascript-fx.com/)
* This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for ¤¤¤¤ source code
***********************************************/

var persistclose=0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 5 //set x offset of bar in pixels
var startY = 5 //set y offset of bar in pixels
var verticalpos="frombottom" //enter "fromtop" or "frombottom"

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}

function closebar(){
if (persistclose)
document.cookie="remainclosed=1"
document.getElementById("topbar").style.visibility="hidden"
}

function staticbar(){
barheight=document.getElementById("topbar").offsetHeight
barwidth=document.getElementById("topbar").offsetWidth
var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
var d = document;
function ml(id){
var el=d.getElementById(id);
if (!persistclose || persistclose && get_cookie("remainclosed")=="")
el.style.visibility="visible"
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
el.x = iecompattest().clientWidth - barwidth - startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopLeft=function(){
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : iecompattest().scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("topbar");
stayTopLeft();
}

if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
</script>

BUL:

Kod: [Seç]
</body>
Üstüne Ekle:

Kod: [Seç]
';

if ($context['user']['is_guest'])
  echo '
<div id="topbar">
<table width="100%" style="cursor: default;">
<tr>
<td valign="top" align="left">

<img src="', $settings['images_url'], '/popup.gif" border="0" />
</td>
<td valign="top" align="left">
<font color="red" size="1px"><b>Hosgeldiniz</b></font>
</td>
<td valign="top" align="right">
<a href="" onClick="closebar(); return false">
<img src="', $settings['images_url'], '/close.gif" border="0" />

</a>
</td>
</tr>
</table>
<table height="78%" width="100%" style="border-right:1px solid #b9c9ef; border-top:1px solid #728eb8; border-bottom:1px solid #b9c9ef; border-left:1px solid #728eb8; cursor: default;">
<tr>
<td valign="top">
<img align="left" src="', $settings['images_url'], '/guest.gif" border="0" />
</td>

<td valign="center">
<font size="1px"><b>Hala Üye degilmisiniz?<br />Üye olmak çok kolay</b></font>
</td>
</tr>
<tr>
<td valign="top" align="center" colspan="2">
<font size="2px"><b><a href="', $scripturl, '?action=register"><font color="red">Üye olmak için tiklayin</font></a></b></font>

</td>
</tr>
</table>
</div>

Konuyu Paylaş:
  delicious  facebook  twitter  google

Çevrimdışı ibo123

  • İleti: 29
  • Puan: 0
-Msn Uyarısı Gibi Üye ol Uyarısı
« Yanıtla #1 : Şubat 11, 2009, 01:23:32 ÖÖ »
hocam olmadı bu yaa kopyalarkenki boşluklar falan önemlimidir toptan gidiyo tema indexi tekrar upload etmem gerekiyor

Çevrimdışı jarni

  • Moderatör
  • *
  • İleti: 864
  • Puan: 122
  • Cinsiyet: Bay
  • Trash Metal
-Msn Uyarısı Gibi Üye ol Uyarısı
« Yanıtla #2 : Şubat 11, 2009, 20:37:51 ÖS »
bosluklar onemli değil sadece kodlamada virgul hatası bile yapmayın. su anda bunu kullanan arkadaslar var  tema içinde index.template dosyasında yapıyosn bu değişikliği dimi.

Çevrimdışı ibo123

  • İleti: 29
  • Puan: 0
-Msn Uyarısı Gibi Üye ol Uyarısı
« Yanıtla #3 : Şubat 11, 2009, 21:13:05 ÖS »
echo '</body></html>'; satırı var bende sadece içinde '</body> geçen bunun üstüne kopyalıyorum maa olmuyor tekrar deniyorum

Çevrimdışı Ozgur Hicyilmaz

  • Süper Moderatör
  • *
  • İleti: 1131
  • Puan: 106
  • Cinsiyet: Bay
    • Kişisel İnternet Sitem
-Msn Uyarısı Gibi Üye ol Uyarısı
« Yanıtla #4 : Şubat 11, 2009, 21:16:22 ÖS »
echo ile <body> arasına kodu kopyalayınız.3 tanede resim dosyası bulunmakta.Ekten indirebilirsiniz.
« Son Düzenleme: Şubat 11, 2009, 21:19:05 ÖS Gönderen: Özgür Hiçyılmaz »

Çevrimdışı ibo123

  • İleti: 29
  • Puan: 0
-Msn Uyarısı Gibi Üye ol Uyarısı
« Yanıtla #5 : Şubat 12, 2009, 08:48:32 ÖÖ »
saolun çalıştı  :"5 resimleri image klasörüne attım güzel oldu  :!1
« Son Düzenleme: Şubat 12, 2009, 08:55:33 ÖÖ Gönderen: ibo123 »

Çevrimdışı coruhunsesi

  • Süper Moderatör
  • *
  • İleti: 572
  • Puan: 24
  • Cinsiyet: Bay
  • Php de adım adım yol alıyor'du
-Msn Uyarısı Gibi Üye ol Uyarısı
« Yanıtla #6 : Şubat 12, 2009, 08:50:31 ÖÖ »
Resimleri buraya atın bakın   http://forumiphone.byethost8.com/Themes/Faux_Apple/images/popup.gif





« Son Düzenleme: Şubat 12, 2009, 09:28:43 ÖÖ Gönderen: surgunum08 »
Bir bak etrafına herkes mutlu bir sen misin üzgün? Dertler türlü türlü her biri bir sürgün!Ama unutma ki ALLAH var gülsün yüzün.

Çevrimdışı coruhunsesi

  • Süper Moderatör
  • *
  • İleti: 572
  • Puan: 24
  • Cinsiyet: Bay
  • Php de adım adım yol alıyor'du
-Msn Uyarısı Gibi Üye ol Uyarısı
« Yanıtla #7 : Şubat 12, 2009, 09:29:32 ÖÖ »
Soruyu sorduktan sonra cevap geldiğinde sorunun giderildiğini cevabın altına yazarsanız bizim yazdığımız cevapta anlamsız kalmaz. sorduğunuz soruyu düzeltme yapmışsınız bizim cevapta anlamsız kaldı onun için yazdım.
Bir bak etrafına herkes mutlu bir sen misin üzgün? Dertler türlü türlü her biri bir sürgün!Ama unutma ki ALLAH var gülsün yüzün.

Çevrimdışı ibo123

  • İleti: 29
  • Puan: 0
-Msn Uyarısı Gibi Üye ol Uyarısı
« Yanıtla #8 : Şubat 13, 2009, 00:43:11 ÖÖ »
farkettim ama düzeltmedim yazdım artık diye kusura bakmayın :/

Çevrimdışı mixnet

  • İleti: 1
  • Puan: 0
-Msn Uyarısı Gibi Üye ol Uyarısı
« Yanıtla #9 : Mart 07, 2009, 15:12:47 ÖS »
saol güzel oldu

 

Benzer Konular

  Konu / Başlatan Yanıt Son İleti
1 Yanıt
1154 Gösterim
Son İleti Mayıs 25, 2007, 16:06:59 ÖS
Gönderen: burajan
2 Yanıt
1299 Gösterim
Son İleti Temmuz 27, 2007, 08:14:11 ÖÖ
Gönderen: prog_cenk
0 Yanıt
883 Gösterim
Son İleti Ağustos 22, 2008, 22:35:04 ÖS
Gönderen: GozyaSi
0 Yanıt
1002 Gösterim
Son İleti Ekim 12, 2008, 00:01:23 ÖÖ
Gönderen: GozyaSi
1 Yanıt
998 Gösterim
Son İleti Ekim 20, 2008, 20:16:40 ÖS
Gönderen: AdmiN