PDA

Orijinalini görmek için tıklayınız : vb biLqiLeri


BuLvAr ^
02-08-2008, 06:11 PM
burdaki bilgiler alıntıdır öncelikle size bir tavsiyem denemeden önce mutlaka yedeğinizi alın herhangi bir sorunla karşılaşmanızı istemem. . .

hadi şimdi gelelim forumumuza renk katmaya...

1-ALT ÇİZGİLERİ KALDIRMA

Temalar (Tema Yönetimi veya Tema Düzenleyici) >> Hangi temayı kullanıyorsan sağdan açılır menüden Main CSS kısmına gir >> Body ;

Normal Links CSS >> Text Decoration >> none yaz
Visited Links CSS >> Text Decoration >> none yaz

2-İLK MESAJDAN SONRA REKLAM


ADMİNCP>>STİL YÖNETİMİ>>Postbit Templates -> postbit_legacy

BU TEMPLATENİN EN ALTINA BUNLARI EKLEYİN OLSUN BİTSİN

Kod:
<if condition="$post[postcount] == 1">
$spacer_open
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" align="left">Sponsored Links</td>
</tr>
<tr>
<td class="alt1" align="center">
BANNER CODE HERE
</td>
</tr>
</table>
</div>
$spacer_close
</if>

-ÜYE OLURKEN GÜVENLİK KODU


- Admincp >> vBulletin Seçenekler >> Server & Optimizasyon Ayarları >> GD Version >> GD 2+

- Admincp >> vBulletin Seçenekler >> Kullanıcı Kayıt Seçenekleri >> Image Verification >> Evet


4-SİTEYİ BUGÜN ZİYARET EDENLER

forum/index.php 'yi açıp alttaki kodu bulun;
Kod:
// ### LOGGED IN USERS #################################################

Bunun hemen üst kısmına şunları ekleyin;

PHP Kodu:
// ############### Paul M - Who has visited today v1.40 #################

require_once('./includes/functions_misc.php');
$now = TIMENOW - intval($vboptions['hourdif']);
$cutoff = vbmktime(0, 0, 0, date('m', $now), date('d', $now), date('Y', $now));
//$cutoff = $now - 86400 ; // ## Uncomment this line if you want a rolling 24 hours display ## //
$todaysusers = $DB_site->query("SELECT userid, lastactivity, options, username, opentag, closetag
FROM " . TABLE_PREFIX . "user as user
LEFT JOIN " . TABLE_PREFIX . "usergroup as usergroup ON(user.usergroupid = usergroup.usergroupid)
WHERE lastactivity > " .$cutoff. " ORDER BY username" );

$totaltoday = 0;
while ($today = $DB_site->fetch_array($todaysusers))
{
$today[visible] = 1 ;
$totaltoday += 1;
if ($today[options] & $_USEROPTIONS[invisible])
{
$today[visible] = 0 ;
if (($permissions['genericpermissions'] & CANSEEHIDDEN) OR $today['userid'] == $bbuserinfo['userid'])
{
$today[visible] = 2 ;
}
}
if ($today[visible])
{
$wrdate = vbdate($vboptions['timeformat'], $today['lastactivity']);
$whotoday .= "<a href='member.php?u=$today[userid]' title='$wrdate' >";
if ($today[visible] == 2)
{
$whotoday .= $today['opentag'].$today[username].$today['closetag']."</a>*, ";
}
else
{
$whotoday .= $today['opentag'].$today[username].$today['closetag']."</a>, ";
}
}
}
if ($whotoday)
{
$whotoday = substr($whotoday, 0, strlen($whotoday)-2);
}

// ############# End of Who has visited today ###############


kaydedip upload edin.

FORUMHOME templatesini açıp alttaki kodları bulun;



PHP Kodu:
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<a href="online.php?$session[sessionurl]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><a href="online.php?$session[sessionurl]"><img src="$stylevar[imgdir_statusicon]/forum_link.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
<div>$activeusers</div>
</div>
</td>
</tr>
</tbody>
<!-- end logged-in users -->
</if>


Bunun tümünü şu kodlarla değiştirin;

PHP Kodu:
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<a href="online.php?$session[sessionurl]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><a href="online.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
<div>$activeusers</div>
</div>
</td>
</tr>
</tbody>
<!-- end logged-in users -->

<!-- Todays active users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_todayusers')"><img id="collapseimg_forumhome_todayusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_todayusers].gif" alt="" border="0" /></a>
Total users that have visited today: $totaltoday
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_todayusers" style="$vbcollapse[collapseobj_forumhome_todayusers]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="Users online today" border="0" /></td>
<td class="alt1" width="100%"><div class="smallfont">$whotoday</div></td>
</tr>
</tbody>
<!-- Todays active users -->
</if>

4-IMAGESHACK VE RAPIDSHARE EKLENTILERI


İMAGESHACK EKLENTİSİ


Admincp>>Stil Yönetimde -newreply , newthread ve editpost templatelerinde; alttaki kısmı bulun;




HTML Kodu:
Kod:
$disablesmiliesoption

</div>
</fieldset>


Altına şunları ekleyin;

HTML Kodu:
Kod:
<fieldset class="fieldset"><legend>Buradan Resim Upload Edebilirsiniz</legend>
<div style="padding:$stylevar[formspacer]px">
<iframe src="[Only Registered Users Can See Links]" scrolling="no" allowtransparency="true" frameborder="0" width="280" height="70"></iframe></div></fieldset>



RAPİDSHARE EKLENTİSİ


Admincp>>Stil Yönetimde - newreply , newthread ve editpost templatelerinde;

alttaki kısmı bulun;

HTML Kodu:
Kod:
$disablesmiliesoption

</div>
</fieldset>



Altına Bunları Ekleyin

HTML KODU:
Kod:
<fieldset class="fieldset"><legend><br><center>Buradan Dosya Upload Edebilirsiniz-Açılan Sayfadan Direk Linki Alın Ve Foruma Yapıştırın</center></a></br></legend>
<div style="padding:$stylevar[formspacer]px">
<iframe src="[Only Registered Users Can See Links]" target="_blank" scrolling="no" allowtransparency="true" frameborder="0" width="400" height="70"></iframe></div></fieldset>


[Only Registered Users Can See Links] Buraya Kendi Adresiniz Gelecek!!!
Eklentideki php yi Ftpden Direk Forum Klasörüne Atın!!!

Eklenti Burda >> [Only Registered Users Can See Links]
Not: Bunlar İkiside Aynı Templatelerde Değişiklik Yapılarak Olur.Bu Yüzden 2 Eklentiyide Birden Alt Alta Kurabilirsiniz...Yani İlk Önce İmage Kodlarını Yapıştırıp Altına Rapid Kodlarını Yapıştırabilirsiniz...2 Eklentide "Gözat" ve "Yükle" Şeklinde Çıkar

Kolay Gelsin.....


5-FORUMU HİÇ GÖRMEDEN DİREK LOGİN SAYFASI

admincp>>>usergroup manager>>>Unregistered / Not Logged In

6- AVATAR DİKEY OLSUN

admincp > vbulletin options > Style & Language Settings > Use Legacy (Vertical) Postbit Template > Yes böle olduğu zaman dikey olur...

7- ÜYELERE KAPALI BÖLÜM YAPMA

Admin cp >> Forumlar & Moderatörler >> İzinleri Görüntüle
kısmına gelin ve sadece belirli kişilerin görmesini istediğiniz forum bölümünü seçin. "Kullanıcı Grubu" satırından da, hangi kullanıcı grubunun burayı görmesini istiyorsanız seçin ve alttaki özelliklerden gerekli ayarlarınızı yapın. Mesela Kullanıcı Grubu olarak admin ve co-adminler için ayrı ayrı "Forum Konularını görebilir vs.." ayarlarını yapın. Diğer kullanıcı gruplarını da kotrol edin bu forum için ve, izinlerini negatif ayarlayın. Böylece forumun o bölümünü sadece admin ve co-admin'ler görecektir.

8- FORUM ANA SAYFASINDA ALT FORUMLARDA GÖRÜNSÜN

Admin cp >> vBUlletin Seçenekler >> Forum Listeleme Görüntüleme Seçenekleri >> Depth of Sub-Forums >> Ordaki değer "0" ise mesela "4" yapın.
Alt forumlar ana sayfada görünecektir.

9- ALT FORUMLARI ALT ALTA GÖRME

Alt Forumların yanyana değil de, alt alta sıralanması için;

Admin CP -> Templateler -> Style Manager (Tema Düzenleyici) -> « » -> Forum Home Templates -> forumhome_forumbit_level2_post

bu templatede alttaki yeri bulun;
PHP Kodu:
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>



ve bunu komple şununla değiştirin;
PHP Kodu:
<if condition="$show['subforums']">

<table width="100%" cellpadding="1" cellspacing="0" border="0">

<tr>

<td width="50%" align="left" colspan="2"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>:</div></td>

</tr>

<tr>

$forum[subforums]

</tr>

</table>

</if>



Daha sonra alttaki her iki templatenin de içeriğini boşaltın, yani silin (zaten sadece virgül vardır)

Admin CP -> Templateler -> Style Manager (Tema Düzenleyici) -> « » -> Forum Home Templates -> forumhome_subforumseparator_post ve

Admin CP -> Templateler -> Style Manager (Tema Düzenleyici) -> « » -> Forum Home Templates ->forumhome_subforumseparator_nopost

Daha sonra şu iki templatede;

Admin CP -> Templateler -> Style Manager (Tema Düzenleyici) -> « » -> Forum Home Templates -> forumhome_subforumbit_post

Admin CP -> Templateler -> Style Manager (Tema Düzenleyici) -> « » -> Forum Home Templates ->forumhome_subforumbit_nopost

bunların ikisine de alttaki kodlara kırmızı olanları şekildeki gibi ekleyin;
Kod:
<td width="50%" align="left" nowrap="nowrap">

<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum_$forum[statusicon].gif" alt="" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
</td>

<if condition="$GLOBALS[subrow]">

</tr><tr>

</if>

<if condition="$GLOBALS[subrow] = !$GLOBALS[subrow]"></if>

__________________________________________________ _______________

Eğer bunu yapınca herhangi bir terslik dikkatinizi çekerse, alt forumların dizilişi sırasında, alttaki ayarlamayı yapın.

Admin CP -> Templateler -> Style Manager (Tema Düzenleyici) -> « » -> Forum Home Templates -> forumhome_forumbit_level1_nopost
forumhome_forumbit_level1_post
forumhome_forumbit_level2_nopost
forumhome_forumbit_level2_post

bu 4 templatede de alttaki kodları bulup, kırmızı renkli kodları şekildeki gibi ekleyin;
Kod:
<if condition="$show['subforums']">

<if condition="$GLOBALS[subrow] = false"></if>

<table width="100%" cellpadding="1" cellspacing="0" border="0">

<tr>

<td width="50%" align="left" colspan="2"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>:</div></td>

</tr>

<tr>

$forum[subforums]

</tr>

</table>

</if>


Yukarda anlatılanlardan başka extra bir ayar yok burada da... Sadece boyutlarını ayarlamak için şu extra mavi renkli kodları girin ve düzenleyin boyutu;
Kod:
<td width="50%" align="left" nowrap="nowrap">

<div style="font-size: 10px;">

<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum_$forum[statusicon].gif" alt="" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>

</div>

</td>

<if condition="$GLOBALS[subrow]">

</tr><tr>

</if>

<if condition="$GLOBALS[subrow] = !$GLOBALS[subrow]"></if>