|
|||||||
| Web Tasarım İnternet sitesi ile ilgili kodlar, kaynaklar, ipuçları, uygulamalar ve diğer herşey. |
![]() |
|
|
Konu Araçları |
|
|
#1 (permalink) |
![]() Katılma Tarihi: Eki 2005
Mesajlar: 64
|
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>
__________________
∂єя∂ιηι ѕöуℓємєуєη เyเ уαραя, вιя ∂є σηυη ∂єя∂ιуℓє υğяαşαмαм
|
|
|
|
| Bu mesaj için Selcioo kişisine teşekkür edenler: |
serkan911 (27.02.2006)
|
|
|
#2 (permalink) |
![]() Katılma Tarihi: Eki 2005
Mesajlar: 64
|
-Ü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>
__________________
∂єя∂ιηι ѕöуℓємєуєη เyเ уαραя, вιя ∂є σηυη ∂єя∂ιуℓє υğяαşαмαм
|
|
|
|
|
|
#3 (permalink) |
![]() Katılma Tarihi: Eki 2005
Mesajlar: 64
|
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="http://www.imageshack.us/iframe.php?txtcolor=111111" 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="http://www.adresiniz.com/rapid.php" target="_blank" scrolling="no" allowtransparency="true" frameborder="0" width="400" height="70"></iframe></div></fieldset> www.adresiniz.com Buraya Kendi Adresiniz Gelecek!!! Eklentideki php yi Ftpden Direk Forum Klasörüne Atın!!! Eklenti Burda >> http://www.hemenpaylas.com/download/...rapid.php.html 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
__________________
∂єя∂ιηι ѕöуℓємєуєη เyเ уαραя, вιя ∂є σηυη ∂єя∂ιуℓє υğяαşαмαм
Bu mesajı en son BenCesur (BC) düzenledi . Düzenleme zamanı: 08.02.2006... 14:57. |
|
|
|
|
|
#4 (permalink) |
![]() Katılma Tarihi: Eki 2005
Mesajlar: 64
|
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>
__________________
∂єя∂ιηι ѕöуℓємєуєη เyเ уαραя, вιя ∂є σηυη ∂єя∂ιуℓє υğяαşαмαм
|
|
|
|
|
|
#5 (permalink) |
![]() Katılma Tarihi: Eki 2005
Mesajlar: 64
|
10- BANNER EKLEME
Banneri Navbar' in (ustte Anasayfa Üye KP Yardım Üyeler Listesi yazan yer) hemen altina eklemek icin.. Admincp -> Styles & Templates - > Style Yönetimi - > SIZIN TEMANIZ - > Edit Template - > Forum Home Templates -> FORUMHOME Yolunu izleyip FORUMHOME templateini aciyoruz.. Hemen sonra $navbar yazan satırı ariyoruz.. bulduktan sonra hemen altina asagidaki kodlari ekliyoruz.. Kod: <!-- BANNER KODLARI --> <p><center><a href="ADRES BURAYA YAZILACAK/" target="_blank"> <img border="0" src="BANNER RESIM ADRESI BURAYA YAZILACAK" align="center" width="420" height="60"></a></center></p> <table border="1" style="border-collapse: collapse" width="100%" id="table1" bordercolor="#003265"> <!-- BANNER KODLARI --> Not : üstteki kodlar sadece tek banner eklemek içindir. Kaç tane ekleyecekseniz okadar copy & paste yaparsınız Kullanıcılarla forum kategorileri arasında olmasını isterseniz; <!-- /main --> yazan satırın altına ekleyin bu banner kodlarını... Eğer forum logosunun yanına koymak isterseniz şunları yapın; Admincp >> Temalar >> Kullandığınız Temayı seçin >> Common Templates >> header yazan kısımda şu kodları bulun; PHP Kodu: </td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output ve hemen üst kısmına; üstte verdiğim banner link kodlarını ekleyin.... 11- YEDEK ALMA Yedeğinizi almadan önce Yönetici >> İçeri Al & Bakım >> Tabloları Tamir Et / Düzenle >> Tümünü İşaretle >> Devam tıklayın ki yedekleme esnasındaki daha önceden tablolarınızda oluşmuş veya yemekleme işlemi esnasında oluşacak sorunlar ortadan kalsın. Yedekleme için 4 yolunuz var. Bunları kısaca özetlersek; 1. Yönetici >> İçeri Al & Bakım >> Database Yedekleme >> Kaydet. Not: (Eklerinizi ister database içine alır veya ayrı olarak ftpde bir klasör altında toplar bunları database'i geri yüklerken çağrılmasını sağlayabilirsiniz.) 2. Cpanel'den alabilirsiniz. 3. Host firmanızda root yetkisi olan biri ile görüşerek ssh açtırıp host firmanızın kullanış olduğu php sürümüne göre vbullentin den girilecek gerekli komutu aratarak veya genel olarak en sık kullanılan; mysqldump --opt -Q -u dbusername -p databasename > /path/to/backupname.sql veya mysqldump --opt -Q -h servername -u dbusername -p databasename > /path/to/backupname.sql kullanarak yedek alabilirsiniz. 4. Host firmanız günlük veya haftalık yedek alıyorsa bunlarla uğraşmanıza gerek yok kendileri hallederler Almış olduğunuz yedeği açmak içinde tekrar host firmanızdan root yetkisi olan biri ile görüşüp ssh açtırdıktan sonra; mysql -u dbusername -p databasename < /path/to/backupname.sql veya mysql -h servername -u dbusername -p databasename < /path/to/backupname.sql komutlarını kullanarak yedeği geri çağırabilirsiniz
__________________
∂єя∂ιηι ѕöуℓємєуєη เyเ уαραя, вιя ∂є σηυη ∂єя∂ιуℓє υğяαşαмαм
|
|
|
|
|
|
#6 (permalink) |
![]() Katılma Tarihi: Eki 2005
Mesajlar: 64
|
12- ZİYARETÇİLER MESAJLARI GÖREMESİN
BAŞLAMADAN ÖNCE YEDEK ALMAYI UNUTMAYINIZ başlıyoruz ; asagidaki dosyalarda degisiklik yapmaniz gerekecek: 1.includes/init.php 2.includes/adminfunctions_forums.php 3.admincp/resources.php 4.admincp/usergroup.php 5.showthread.php 6.archive/index.php 7.archive/global.php 8.printthread.php 9.showpost.php Ve izinlere iki yeni bolum eklenecek. bunun icinde bul includes/init.php: PHP Kodu: 'canthreadrate' => 65536, 'isalwaysmoderated' => 131072, 'canseedelnotice' => 262144 ); BUNUNLA DEGISTIR: PHP Kodu: 'canthreadrate' => 65536, 'isalwaysmoderated' => 131072, 'canseedelnotice' => 262144 // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] ,'gtpcanreadcontent' => 524288 // VIEW THREAD // == [ 00-00-2004 - GTP END ] // ================================================= \\ ); işlem bitmiştir kaydedin Burada Bul includes/adminfunctions_forums.php; PHP Kodu: print_yes_no_row($vbphrase['always_moderate_posts'], 'forumpermission[isalwaysmoderated]', $forumpermission['isalwaysmoderated'], $extra); print_yes_no_row($vbphrase['can_upload_attachments'], 'forumpermission[canpostattachment]', $forumpermission['canpostattachment'], $extra); print_yes_no_row($vbphrase['can_rate_threads'], 'forumpermission[canthreadrate]', $forumpermission['canthreadrate'], $extra); BUNUNLA DEGISTIR: PHP Kodu: print_yes_no_row($vbphrase['always_moderate_posts'], 'forumpermission[isalwaysmoderated]', $forumpermission['isalwaysmoderated'], $extra); print_yes_no_row($vbphrase['can_upload_attachments'], 'forumpermission[canpostattachment]', $forumpermission['canpostattachment'], $extra); print_yes_no_row($vbphrase['can_rate_threads'], 'forumpermission[canthreadrate]', $forumpermission['canthreadrate'], $extra); // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] print_yes_no_row($vbphrase['gtp_can_read_content'], 'forumpermission[gtpcanreadcontent]', $forumpermission['gtpcanreadcontent'], $extra); // == [ 00-00-2004 - GTP END ] // ================================================= \\ işlem bitmiştir kaydedin ------------------------------------------------------------- Burada Bul admincp/resources.php: PHP Kodu: 'canthreadrate' => $vbphrase['can_rate_threads'], 'canseedelnotice' => $vbphrase['can_see_deletion_notices'], 'isalwaysmoderated' => $vbphrase['always_moderate_posts'] BUNUNLA DEGISTIR: PHP Kodu: 'canthreadrate' => $vbphrase['can_rate_threads'], 'canseedelnotice' => $vbphrase['can_see_deletion_notices'], 'isalwaysmoderated' => $vbphrase['always_moderate_posts'], // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] 'gtpcanreadcontent' => $vbphrase['gtp_can_read_content'] // == [ 00-00-2004 - GTP END ] // ================================================= \\ işlem bitmiştir KAYDET ------------------------------------------------------------- Burada Bul admincp/usergroup.php: PHP Kodu: 'canusesignature' => 1, 'cannegativerep' => 1, 'canuserep' => 1, BUNUNLA DEGISTIR: PHP Kodu: 'canusesignature' => 1, 'cannegativerep' => 1, 'canuserep' => 1, // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] 'gtpcanreadcontent' => 1 // == [ 00-00-2004 - GTP END ] // ================================================= \\ BUL PHP Kodu: print_yes_no_row($vbphrase['can_rate_threads'], 'usergroup[canthreadrate]', $ug_bitfield['canthreadrate']); print_table_break(); BUNUNLA DEGISTIR: PHP Kodu: print_yes_no_row($vbphrase['can_rate_threads'], 'usergroup[canthreadrate]', $ug_bitfield['canthreadrate']); // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] print_yes_no_row($vbphrase['gtp_can_read_content'], 'usergroup[gtpcanreadcontent]', $ug_bitfield['gtpcanreadcontent']); // == [ 00-00-2004 - GTP END ] // ================================================= \\ print_table_break(); işlem bitmiştir KAYDET ------------------------------------------------------------------- Burada Bul showthread.php: PHP Kodu: if ($threadedmode == 0) { BUNUNLA DEGISTIR: PHP Kodu: // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] if (!($forumperms & GTPCANREADCONTENT)) { eval(print_standard_error('gtp_cannot_read')); } // == [ 00-00-2004 - GTP END ] // ================================================= \\ if ($threadedmode == 0) { işlem bitmiştir KAYDET ------------------------------------------------------------------- BU SAYEDE ARSIV ICERiGiNE ULASILAMAYACAK PHP Kodu: Burada Bul archive/index.php $forumperms = $bbuserinfo['forumpermissions'][$foruminfo['forumid']]; if (!($forumperms & CANVIEW) OR !($forumperms & CANVIEWOTHERS) OR in_coventry($threadinfo['postuserid']) OR $threadinfo['isdeleted']) { exit; } BUNUNLA DEGISTIR: PHP Kodu: $forumperms = $bbuserinfo['forumpermissions'][$foruminfo['forumid']]; // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] //if (!($forumperms & CANVIEW) OR !($forumperms & CANVIEWOTHERS) OR in_coventry($threadinfo['postuserid']) OR $threadinfo['isdeleted']) if (!($forumperms & CANVIEW) OR !($forumperms & CANVIEWOTHERS) OR !($forumperms & GTPCANREADCONTENT) OR in_coventry($threadinfo['postuserid']) OR $threadinfo['isdeleted']) // == [ 00-00-2004 - GTP END ] // ================================================= \\ { exit; } BUL: PHP Kodu: $forumperms = $bbuserinfo['forumpermissions'][$f]; if (!($forumperms & CANVIEW) OR !($forumperms & CANVIEWOTHERS)) { exit; } BUNUNLA DEGISTIR: PHP Kodu: $forumperms = $bbuserinfo['forumpermissions'][$f]; // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] //if (!($forumperms & CANVIEW) OR !($forumperms & CANVIEWOTHERS)) if (!($forumperms & CANVIEW) OR !($forumperms & CANVIEWOTHERS) OR !($forumperms & GTPCANREADCONTENT)) // == [ 00-00-2004 - GTP END ] // ================================================= \\ { exit; } işlem bitmiştir KAYDET ------------------------------------------------------------------ BURADA BUL archive/global.php: PHP Kodu: if (!($bbuserinfo['forumpermissions']["$forumid"] & CANVIEW) AND $vboptions['hideprivateforums']) BUNUNLA DEGISTIR: PHP Kodu: // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] //if (!($bbuserinfo['forumpermissions']["$forumid"] & CANVIEW) AND $vboptions['hideprivateforums']) if (!($bbuserinfo['forumpermissions']["$forumid"] & CANVIEW) OR !($bbuserinfo['forumpermissions']["$forumid"] & GTPCANREADCONTENT) AND $vboptions['hideprivateforums']) // == [ 00-00-2004 - GTP END ] // ================================================= \\ işlem bitmiştir KAYDET ----------------------------------------------------------------------- BU SAYEDE PRINTTHREAD ICERIGINE ERISILEMEYECEK BURADA BUL printthread.php: PHP Kodu: $forumperms = fetch_permissions($threadinfo['forumid']); if (!($forumperms & CANVIEW)) { print_no_permission(); } ASAGIYA EKLE PHP Kodu: // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] if (!($forumperms & GTPCANREADCONTENT) ) { eval(print_standard_error('gtp_cannot_read')); } // == [ 00-00-2004 - GTP END ] // ================================================= \\ işlem bitmiştir KAYDET ------------------------------------------------------------ BU SAYEDE SHOWPOST ICERIGINE ERISILEMEYECEK BURADA BUL showpost.php: PHP Kodu: $forumperms = fetch_permissions($threadinfo['forumid']); if (!($forumperms & CANVIEW)) { print_no_permission(); } ASAGIYA EKLE PHP Kodu: // ================================================= \\ // == [ ALLOW GROUP TO READ TITLE / NOT CONTENT - GTP BEGIN ] if (!($forumperms & GTPCANREADCONTENT) ) { eval(print_standard_error('gtp_cannot_read')); } // == [ 00-00-2004 - GTP END ] // ================================================= \\ işlem bitmiştir KAYDET ----------------------------------------------------------------- hepsini yerlereine atıyoruz unutmayınız yedek alın aşağıda herşeyi admin kontrol panelinde yapacağız Diller & Cümleler de yeni birtane cümle ekliyeceğiz cümle tipini : Permissions seç Varname : gtp_can_read_content Yazı :Group can read content? not : gtp_can_read_content = Group can read content? ( bu yazının türkçesini yazabilirsiniz.. şimdi arkadaşlar Kullanıcı Grubları ->Kullanıcı Grup Yönetimi->Registered Users->edit user grup deyin ve şu ayarları yapın Gönderi / Konu İzinleri bölümünde Group can read content? i bulun ve o seçeneği "evet" yapın Forum İzin Görüntüleyicisi forumuı görebilir ve diğer konuları görebilir seçeneği zaten evet kalacak şimdi ise Unregistered / Not Logged In kullanıcı gurubuna giriyoruz Gönderi / Konu İzinleri bölümünde "Group can read content?" burayı "hayır" seçiyoruz ve Forum İzin Görüntüleyicisi bölümünde Forumu Görebilir "evet" Diğer Konuları Görebilir "evet" seçiyoruz.
__________________
∂єя∂ιηι ѕöуℓємєуєη เyเ уαραя, вιя ∂є σηυη ∂єя∂ιуℓє υğяαşαмαм
|
|
|
|
|
|
#7 (permalink) |
![]() Katılma Tarihi: Eki 2005
Mesajlar: 64
|
13- ÜYELER AVATAR EKLEYEBİLSİN
Admincp >> Kullanıcı Grubu Düzenleyici >> Normal Üye Kullanıcı Grubu (Kayıtlı Kullanıcılar veya Registered Users) >> Kullanıcılar Avatar Upload Edebilir >> Evet 14- HIZLI CEVAP Admincp >> vBulletin Seçenekler (en üstte) >> Mesaj Gönderme ve Düzenleme Seçenekleri >> Quick Reply Enabled >> Evet - Standart Editör Başlığını Göster 15- REPUT VEREN KİM GÖZÜKSÜN Admincp >> Kullanıcı Grupları >> Kullanıcı Grubu Düzenleyici >> normal Üye Kullanıcı Grubu >> Kullanıcı Rütbe İzinleri >> Can See Who Left User Ratings >> Evet 16- ŞU AN ONLİNE OLANLAR İSTEDİĞİNİZ KADAR OLSUN Admincp >> vBulletin seçenekler >> Çevrimiçi Kullanıcılar Seçenekleri >> Who's Online Refresh Period >> saniye cinsinden istediğiniz değeri girin. Mesela 600 yazarsanız 10 dakika olacaktır.. 0 yazarsanız forumdan çıkanların ismi hemen kalkar. 17- SMILE EKLEME admnicp>>>vbulletin seçenekleri>>>mesaj yollama arabirim seçenekleri>>>Enable Clickable Message Formatting Controls>>>Varsayılan Kontroller Etkin similiesleri bi klasör hazırla adını simili1 yap mesela o klasörü ftp de forum/images/similes in içine at sonra admincp>>>new similie upload>>Çok Kullanımlı Smilies Ekle(alttaki tablo) burdan klaösrün yolunu göstericeksin images/smilies>>>simili1 gibi yükle diyince o klasördeki smililer çıkıcak hepsini işaretleyip yükle diceksin yüklenicek toplu halde... 18- YENİ ÜYE OLANLARA ONAY MAILI admincp>>>vbullettin seçenekleri>>>kullanıcı kayıt seçenekleri>>>Verify Email address in Registration>>>yes 19- REPUT VERME OLAYINI AÇMA admincp>>>vbulletin seçenekleri>>>user repupation options>>>Enable User Reputation system>>>evet
__________________
∂єя∂ιηι ѕöуℓємєуєη เyเ уαραя, вιя ∂є σηυη ∂єя∂ιуℓє υğяαşαмαм
|
|
|
|
|
|
#8 (permalink) |
![]() Katılma Tarihi: Eki 2005
Mesajlar: 64
|
20- AVATARIN ALTINA REKLAM
admincp>>>style yönetimi>>>edit templates>>>postbit_legacy templatini aşağıdaki gibi değiştir; Kod: <!-- post #$post[postid] --> <if condition="$show['spacer']">$spacer_open<if condition="!$post['islastshown']"><div style="padding:0px 0px $stylevar[cellpadding]px 0px"></if></if> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center"> <tr> <if condition="$show['announcement']"> <td class="thead" style="font-weight:normal" colspan="2"> <img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /> <phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase> </td> <else /> <td class="thead" style="font-weight:normal" $scrolltothis> <!-- status icon and date --> <a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a> $post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if> $post[firstnewinsert] <!-- / status icon and date --> </td> <td class="thead" style="font-weight:normal" align="$stylevar[right]"> <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new"><strong>$post[postcount]</strong></a></if> </td> </if> </tr> <tr valign="top"> <td class="alt2" width="175"> <div id="postmenu_$post[postid]"> <if condition="$show['profile']"> <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script> <else /> $post[musername] </if> </div> <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if> <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if> <if condition="$show['avatar']"> <div class="smallfont"> <br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a> </div> </if> <div class="smallfont"> <br /> <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if> <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if> <div> $vbphrase[posts]: $post[posts] </div> <if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if> <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div> </div> </td> <td class="alt1"> <if condition="$show['messageicon'] OR $post['title']"> <!-- icon and title --> <div class="smallfont"> <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if> <if condition="$post['title']"><strong>$post[title]</strong></if> </div> <hr size="1" style="color:$stylevar[tborder_bgcolor]" /> <!-- / icon and title --> </if> <!-- message --> <div>$post[message]</div> <!-- / message --> <if condition="$show['attachments']"> <!-- attachments --> <div style="padding:$stylevar[cellpadding]px"> <if condition="$show['thumbnailattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_thumbnails]</legend> <div style="padding:$stylevar[formspacer]px"> $post[thumbnailattachments] </div> </fieldset> </if> <if condition="$show['imageattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_images]</legend> <div style="padding:$stylevar[formspacer]px"> $post[imageattachments] </div> </fieldset> </if> <if condition="$show['imageattachmentlink']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_images]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $post[imageattachmentlinks] </table> </fieldset> </if> <if condition="$show['otherattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_files]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $post[otherattachments] </table> </fieldset> </if> <if condition="$show['moderatedattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attachments_pending_approval]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $post[moderatedattachments] </table> </fieldset> </if> </div> <!-- / attachments --> </if> <if condition="$post['signature']"> <!-- sig --> <div> __________________<br /> $post[signature] </div> <!-- / sig --> </if> <if condition="$show['postedited']"> <!-- edit note --> <div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" /> <em> <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>. <if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if> </em> </div> <!-- / edit note --> </if> </td> </tr> <tr> <td class="alt2"> <center> <a href="http://www.forumay.com/forum/showthread.php?t=1158"><img src="http://www.forumay.com/images/banner/avatar.gif"></a> </center> <br> $post[onlinestatus] <if condition="$show['reputationlink']"><a href="#" onclick="return reputation($post[postid])"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></a></if> <if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if> $post[iplogged] </td> <td class="alt1" align="$stylevar[right]"> <!-- controls --> <if condition="$post['editlink']"> <a href="$post[editlink]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a> </if> <if condition="$post['forwardlink']"> <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a> </if> <if condition="$post['replylink']"> <a href="$post[replylink]"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a> </if> <if condition="$SHOWQUICKREPLY AND !$show['threadedmode']"> <a href="$post[replylink]" onclick="return qr($post[postid]);"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a> </if> <!-- / controls --> </td> </tr> </table> <!-- post $post[postid] popup menu --> <div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">$post[username]</td> </tr> <if condition="$show['profile']"> <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]userid=$post[userid]">$vbphrase[view_public_profile]</a></td></tr> </if> <if condition="$show['pmlink']"> <tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&userid=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr> </if> <if condition="$show['emaillink']"> <tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr> </if> <if condition="$show['homepage']"> <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr> </if> <if condition="$show['search']"> <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&userid=$post[userid]"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr> </if> <if condition="$post['userid']"> <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr> </if> </table> </div> <!-- / post $post[postid] popup menu --> <if condition="$show['spacer']"><if condition="!$post['islastshown']"></div></if>$spacer_close</if> <!-- / post #$post[postid] -->
__________________
∂єя∂ιηι ѕöуℓємєуєη เyเ уαραя, вιя ∂є σηυη ∂єя∂ιуℓє υğяαşαмαм
|
|
|
|
|
|
#9 (permalink) |
![]() Katılma Tarihi: Eki 2005
Mesajlar: 64
|
xx gün xx saat xx dakika xx saniye büyüyoruz
FORUMHOME adlı templatede şu kodu bulun PHP Kodu: <div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div> </div> altna bu kodları ekliyoruz (açılış tarihi olarak geçen 2005,05,07 tarihini kendinze göre editleyin...) PHP Kodu: <div> <script language="JavaScript1.2"> function setcountup(theyear,themonth,theday){ yr=theyear;mo=themonth;da=theday } //////////CONFIGURE THE countup SCRIPT HERE////////////////// //STEP 1: Configure the date to count up from, in the format year, month, day: //This date should be less than today setcountup(2005,05,07) //STEP 2: Configure text to be attached to count up var displaymessage="(her saniye büyüyoruz)" //STEP 3: Configure the below 5 variables to set the width, height, background color, and text style of the countup area var countupwidth='95%' var countupheight='20px' //applicable only in NS4 var countupbgcolor='alt1' var opentags='<span class="smallfont">' var closetags='</span>' //////////DO NOT EDIT PASS THIS LINE////////////////// var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","A ug","Sep","Oct","Nov","Dec") var crosscount='' function start_countup(){ if (document.layers) document.countupnsmain.visibility="show" else if (document.all||document.getElementById) crosscount=document.getElementById&&!document.all? document.getElementById("countupie") : countupie countup() } if (document.all||document.getElementById) document.write('<span id="countupie" style="width:'+countupwidth+'; background-color:'+countupbgcolor+'"></span>') window.onload=start_countup function countup(){ var today=new Date() var todayy=today.getYear() if (todayy < 1000) todayy+=1900 var todaym=today.getMonth() var todayd=today.getDate() var todayh=today.getHours() var todaymin=today.getMinutes() var todaysec=today.getSeconds() var todaystring=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec paststring=montharray[mo-1]+" "+da+", "+yr dd=Date.parse(todaystring)-Date.parse(paststring) dday=Math.floor(dd/(60*60*1000*24)*1) dhour=Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1) dmin=Math.floor(((dd%(60*60*1000*24))%(60*60*1000) )/(60*1000)*1) dsec=Math.floor((((dd%(60*60*1000*24))%(60*60*1000 ))%(60*1000))/1000*1) if (document.layers){ document.countupnsmain.document.countupnssub.docum ent.write(opentags+dday+ " gün, "+dhour+" saat, "+dmin+" dakika ve "+dsec+" saniyedir sizlerleyiz... "+displaymessage+closetags) document.countupnsmain.document.countupnssub.docum ent.close() } else if (document.all||document.getElementById) crosscount.innerHTML=opentags+dday+ " gün, "+dhour+" saat, "+dmin+" dakika ve "+dsec+" saniye "+displaymessage+closetags setTimeout("countup()",1000) } </script> <ilayer id="countupnsmain" width=&{countupwidth}; height=&{countupheight}; bgColor=&{countupbgcolor}; visibility=hide><layer id="countupnssub" width=&{countupwidth}; height=&{countupheight}; left=0 top=0></layer></ilayer></div>
__________________
∂єя∂ιηι ѕöуℓємєуєη เyเ уαραя, вιя ∂є σηυη ∂єя∂ιуℓє υğяαşαмαм
|
|
|
|
| Bu mesaj için Selcioo kişisine teşekkür edenler: |
king_10 (21.07.2006)
|
![]() |
| Şu Anda Konuyu İnceleyen Aktif Kullanıcılar: 1 (0 üye ve 1 misafir) | |
| Konu Araçları | |
|
|
Benzer Konular
|
||||
| Konu | Konuyu Başlatan | Forum | Cevaplar | Son Mesaj |
| Voleybol Hakkında Herşey | The Answer | Voleybol | 18 | 05.03.2008 17:20 |
| PUS hakkında herşey... | Babacandeniz | Knight Online | 1 | 23.04.2007 19:50 |
| İRC hakkında herşey | ManisaLi | Sohbet Programları | 12 | 31.01.2007 04:48 |
| Nba Hakkında Herşey | WaDe TiMe | NBA | 19 | 14.12.2006 19:42 |
| Donanım Hakkında Herşey! | GeNeRaLsSs | Donanım | 3 | 24.10.2006 01:57 |