FoRuMBoL - Türkiye'nin En BoL Forumu'na Hoşgeldiniz! Tüm Mesajları Okunmuş Say | Yeni Mesajlar
FoRuMBoL
Bu Alana Reklam Vermek İçin Tıklayın!

Oyunlar Programlar MSN Messenger Windows İşletim Sistemi Webmasterlara Özel Photoshop Komik Resimler ve Videolar PC Donanım ve İnternet Güvenlik Programları Yerli Filmler Hazır Web Sistemleri Uydu Alıcıları Youtube Video Paylaşım Nokia Cep Telefonu İslamiyet
Bu alana reklam vermek için tıklayın
Aylık Sadece 9 YTL
www.siteniz.com
Bu alana reklam vermek için tıklayın
Aylık Sadece 9 YTL
www.siteniz.com
Bu alana reklam vermek için tıklayın
Aylık Sadece 9 YTL
www.siteniz.com
Bu alana reklam vermek için tıklayın
Aylık Sadece 9 YTL
www.siteniz.com
Bu alana reklam vermek için tıklayın
Aylık Sadece 9 YTL
www.siteniz.com
Bu alana reklam vermek için tıklayın
Aylık Sadece 9 YTL
www.siteniz.com

Ayrıntılı Konu Bilgileri
Konu BaşlığıKonu: MSN Oturum Açma Bildirisi Gibi Üye Ol Eklentisi!
Cevap SayısıCevap Sayısı: 16 cevap var
Okunma SayısıOkunma Sayısı: 188 defa
Konuyu Görüntüleyenler0 Üye ve 1 Ziyaretçi konuyu incelemekte.

Sayfa: [1] 2
Seçenekler   Arama
Konu: MSN Oturum Açma Bildirisi Gibi Üye Ol Eklentisi!  (Okunma Sayısı 188 defa)
Bu konu henüz derecelendirilmemiş!
Bu konuyu derecelendirmediniz. Derece Seç:
« : Eylül 24, 2008, 08:24:31 pm »
Sahip-ül Edevat
Mareşal
*
REP GÜCÜ: 12241

Online Online

Mesaj Sayısı: 9183
Konu Sayısı: 2827

Cinsiyet: Bay

Nerden: Nereye...

Üye ID: 1


Üyelik Bilgileri WWW

Aktiflik

Uyarı Puanı:

%0
MSN Oturum Açma Bildirisi Gibi Üye Ol Eklentisi!

Bu Alana Reklam Vermek İçin Tıklayın!



Resimde de görüldüğü gibi bu mod sayesinde sitenize giren ziyaretçilere MSN oturum açtı uyarısı gibi üye ol uyarısı gözükür. Bir kaç arkadaş istekte bulununca ben de paylaşayım dedim. gülücük

index.template.php dosyasında bulun;

CODE
</head>

üstüne şu kodları ekleyin;

CODE
<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.site.com/Themes/tema/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 full 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>

Not: Kod içindeki şu kısmı "Linklerin Görülmesine İzin Verilmiyor
Linki Görebilmek İçin Üye Ol veya Giriş Yap" kendinize göre editlemeyi unutmayın.

Aynı dosyada şunu bulun;

CODE
</body>

Hemen üst satırına şunları ekleyin;

CODE
';

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>

Aşağıdaki linkten de resimleri indiriyorsunuz ve img klasörü içindeki resimleri temanızın images klasörüne atıyorsunuz. Hepsi bu kadar, hayırlı olsun gülücük

Resimler:

Gizli
(Daha Fazla Bilgi?)
« Son Düzenleme: Eylül 24, 2008, 08:26:04 pm Gönderen: ★ѕραη∂αυєя★ » Logged

Linklerin Görülmesine İzin Verilmiyor
Linki Görebilmek İçin Üye Ol veya Giriş Yap
>>GÖZLERİNİZE İNANAMAYACAKSINIZ!!<<

Linklerin Görülmesine İzin Verilmiyor
Linki Görebilmek İçin Üye Ol veya Giriş Yap
>>TÜM PAYLAŞIMLARIM İÇİN TIKLA!!..<<

Linklerin Görülmesine İzin Verilmiyor
Linki Görebilmek İçin Üye Ol veya Giriş Yap
>>ŞOK OLACAKSINIZ, TIKLAYIN!!<<

KONULARDA KIRIK LİNKE RASTLARSANIZ LÜTFEN KONU SAHİBİNE VEYA YÖNETİCİLERE BİLDİRİNİZ!

Bu Alana Reklam Vermek İçin Tıklayın!
« Yanıtla #1 : Eylül 25, 2008, 12:11:18 am »
Er
*
Avatar Yok
REP GÜCÜ: 0


Offline Offline

Mesaj Sayısı: 35
Konu Sayısı: 3

Cinsiyet: Bay

Nerden: 20

Üye ID: 11017


Üyelik Bilgileri

Aktiflik

Uyarı Puanı:

%0
MSN Oturum Açma Bildirisi Gibi Üye Ol Eklentisi!

thanks a lot my friend
Logged
« Yanıtla #2 : Eylül 25, 2008, 01:07:33 am »
Er
*
Avatar Yok
REP GÜCÜ: 0


Offline Offline

Mesaj Sayısı: 5
Konu Sayısı: 0

Cinsiyet: Bay

Nerden: izmir

Üye ID: 14741


Üyelik Bilgileri

Aktiflik

Uyarı Puanı:

%0
MSN Oturum Açma Bildirisi Gibi Üye Ol Eklentisi!

paylaşım için saol
Logged
« Yanıtla #3 : Eylül 25, 2008, 07:58:58 pm »
Er
*
Avatar Yok
REP GÜCÜ: 0


Offline Offline

Mesaj Sayısı: 35
Konu Sayısı: 3

Cinsiyet: Bay

Nerden: 20

Üye ID: 11017


Üyelik Bilgileri

Aktiflik

Uyarı Puanı:

%0
MSN Oturum Açma Bildirisi Gibi Üye Ol Eklentisi!

iam getting template parser error here is my index.template.php

CODE
<?php
// Version: 1.1.5; index

/* This template is, perhaps, the most important template in the theme. It
contains the main template layer that displays the header and footer of
the forum, namely with main_above and main_below. It also contains the
menu sub template, which appropriately displays the menu; the init sub
template, which is there to set the theme up; (init can be missing.) and
the linktree sub template, which sorts out the link tree.

The init sub template should load any data and set any hardcoded options.

The main_above sub template is what is shown above the main content, and
should contain anything that should be shown up there.

The main_below sub template, conversely, is shown after the main content.
It should probably contain the copyright statement and some other things.

The linktree sub template should display the link tree, using the data
in the $context['linktree'] variable.

The menu sub template should display all the relevant buttons the user
wants and or needs.

For more information on the templating system, please see the site at:
http://www.simplemachines.org/
*/

// Initialize the template... mainly little settings.
function template_init()
{
global $context$settings$options$txt;

/* Use images from default theme when using templates from the default theme?
if this is 'always', images from the default theme will be used.
if this is 'defaults', images from the default theme will only be used with default templates.
if this is 'never' or isn't set at all, images from the default theme will not be used. */
$settings['use_default_images'] = 'never';

/* What document type definition is being used? (for font size and other issues.)
'xhtml' for an XHTML 1.0 document type definition.
'html' for an HTML 4.01 document type definition. */
$settings['doctype'] = 'xhtml';

/* The version this template/theme is for.
This should probably be the version of SMF it was created for. */
$settings['theme_version'] = '1.1';

/* Set a setting that tells the theme that it can render the tabs. */
$settings['use_tabs'] = true;

/* Use plain buttons - as oppossed to text buttons? */
$settings['use_buttons'] = false;

/* Show sticky and lock status seperate from topic icons? */
$settings['seperate_sticky_lock'] = true;
}

// The main sub template above the content.
function template_main_above()
{
global $context$settings$options$scripturl$txt$modSettings;

// Show right to left and the character set for ease of translating.
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"'
$context['right_to_left'] ? ' dir="rtl"' '''><head>
<meta http-equiv="Content-Type" content="text/html; charset='
$context['character_set'], '" />
<meta name="description" content="'
$context['page_title'], '" />', empty($context['robot_no_index']) ? '' '
<meta name="robots" content="noindex" />'
'
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
<script language="JavaScript" type="text/javascript" src="'
$settings['default_theme_url'], '/script.js?fin11"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "'
$settings['theme_url'], '";
var smf_images_url = "'
$settings['images_url'], '";
var smf_scripturl = "'
$scripturl'";
var smf_iso_case_folding = '
$context['server']['iso_case_folding'] ? 'true' 'false'';
var smf_charset = "'
$context['character_set'], '";
// ]]></script>
<title>'
$context['page_title'], '</title>';

// The ?fin11 part of this link is just here to make sure browsers don't cache it wrongly.
echo '
<link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/style.css?fin11" />
<link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/print.css?fin11" media="print" />';

/* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
Standards compliance mode happens when you use xhtml... */
if ($context['browser']['needs_size_fix'])
echo '
<link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/fonts-compat.css" />';

// Show all the relative links, such as help, search, contents, and the like.
echo '
<link rel="help" href="'
$scripturl'?action=help" target="_blank" />
<link rel="search" href="' 
$scripturl '?action=search" />
<link rel="contents" href="'
$scripturl'" />';

// If RSS feeds are enabled, advertise the presence of one.
if (!empty($modSettings['xmlnews_enable']))
echo '
<link rel="alternate" type="application/rss+xml" title="'
$context['forum_name'], ' - RSS" href="'$scripturl'?type=rss;action=.xml" />';

// If we're viewing a topic, these should be the previous and next topics, respectively.
if (!empty($context['current_topic']))
echo '
<link rel="prev" href="'
$scripturl'?topic='$context['current_topic'], '.0;prev_next=prev" />
<link rel="next" href="'
$scripturl'?topic='$context['current_topic'], '.0;prev_next=next" />';

// If we're in a board, or a topic for that matter, the index will be the board's index.
if (!empty($context['current_board']))
echo '
<link rel="index" href="' 
$scripturl '?board=' $context['current_board'] . '.0" />';

// We'll have to use the cookie to remember the header...
if ($context['user']['is_guest'])
{
$options['collapse_header'] = !empty($_COOKIE['upshrink']);
$options['collapse_header_ic'] = !empty($_COOKIE['upshrinkIC']);
}

// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'], '

<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_header = '
, empty($options['collapse_header']) ? 'false' 'true'';

function shrinkHeader(mode)
{'
;

// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);'
;
else
echo '
smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "'
$context['session_id'], '");';

echo '
document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";
document.getElementById("upshrinkHeader2").style.display = mode ? "none" : "";

current_header = mode;
}
// ]]></script>'
;

// the routine for the info center upshrink
echo '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_header_ic = '
, empty($options['collapse_header_ic']) ? 'false' 'true'';

function shrinkHeaderIC(mode)
{'
;

if ($context['user']['is_guest'])
echo '
document.cookie = "upshrinkIC=" + (mode ? 1 : 0);'
;
else
echo '
smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, null, "'
$context['session_id'], '");';

echo '
document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse.gif");

document.getElementById("upshrinkHeaderIC").style.display = mode ? "none" : "";

current_header_ic = mode;
}
// ]]></script>
</head>
<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.site.com/Themes/tema/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 full 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>
<body>'
;
'; 

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>
echo '
<div class="tborder" '
$context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' '''>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="" height="">'
;

if (empty($settings['header_logo_url']))
echo '
<span style="font-family: Verdana, sans-serif; font-size: 140%; ">'