mod istek (online arama motorları)

Bu bölümümüzde PHP uzantılı web sayfaları hakkında aradığınıza ulaşabileceksiniz..Kodlar, programlar ve daha niceleri.. Ayrıca bu bölümümüzde PHP forumlar hakkında da sorular sorabilir paylaşımlarda bulunabilirsiniz.
Cevapla
Kullanıcı avatarı
Erhanbay
Bağımlı Üye
Bağımlı Üye
Mesajlar: 400
Kayıt: 06 Şub 2007 [ 13:05 ]

mod istek (online arama motorları)

Mesaj gönderen Erhanbay »

sitenizdeki online arama motorlarını gösteren modu paylaşır mısınız acaba?



Kullanıcı avatarı
Erhanbay
Bağımlı Üye
Bağımlı Üye
Mesajlar: 400
Kayıt: 06 Şub 2007 [ 13:05 ]

ss

Mesaj gönderen Erhanbay »

cevap yok mu? :(

Kullanıcı avatarı
VSaBaH
Tasarımcı Yönetici
Tasarımcı Yönetici
Mesajlar: 6135
Kayıt: 21 Kas 2005 [ 23:54 ]

Mesaj gönderen VSaBaH »

Cevap olmaz mı bizde yok yok...!

:idea: Arama motorlarını çevrimiçi bölümünde gösteren bir mod..
Stabil ve doğru çalıştığını gördüm..
Mod kurulumunda dikkat gerektirir.. Bulamadığınız yada anlayamadığınız yerleri buradan sorabilirsiniz.

:arrow: LİNKİ GÖREBİLMEK İÇİN LÜTFEN KAYIT OL VEYA GİRİŞ YAP!

Önizleme
LİNKİ GÖREBİLMEK İÇİN LÜTFEN KAYIT OL VEYA GİRİŞ YAP!

KOLAY GELSİN...
 !
REKLAMLARA YAPILAN TIKLAMA BİZİM TEK GELİR KAPIMIZDIR. LÜTFEN ADBLOCK TARZI EKLENTİLERLE REKLAMLARI ENGELLEMEYELİM. BİZE EN GÜZEL TEŞEKKÜRÜ BU ŞEKİLDE YAPABİLİRSİNİZ. TEŞEKKÜRLER...


Resim

Kullanıcı avatarı
Erhanbay
Bağımlı Üye
Bağımlı Üye
Mesajlar: 400
Kayıt: 06 Şub 2007 [ 13:05 ]

Mesaj gönderen Erhanbay »

sizin sitenizdeki daha iyiyidi :D

Kullanıcı avatarı
VSaBaH
Tasarımcı Yönetici
Tasarımcı Yönetici
Mesajlar: 6135
Kayıt: 21 Kas 2005 [ 23:54 ]

Mesaj gönderen VSaBaH »

Nasıl yani?? Biz bunu kullandık..

Ben birkaç yerini düzenledim o kadar..Sende yapabilirsin... :)

Ama şunu da kullanabilirsin.. Bizimkine benziyor..

Kod: Tümünü seç

############################################################## 
## MOD Title: Show Search Bot 
## MOD Author: WILLEM Aurelien < > http://www.team-azerty.com 
##             Bots added by will_hough < > http://www.willhough.com 
## MOD Description: This mod add Search Bot in the list of connected users, in the "who is online" page, and in the administration index. 
## MOD Version: 1.0.0 
## 
## Installation Level: Easy 
## Installation Time: 1 Minute 
## Files To Edit: viewonline.php, includes/page_header.php,  admin/index.php 
## Included Files: 0 
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/ 
############################################################## 
## Author Notes: This mod was tested on phpBB version 2.0.17 
##               This MOD is EasyMOD Friendly! 
## 
##     v.1.0.0b: This mod tested on phpBB version 2.0.19 
## 
############################################################## 
## MOD History: 
## 
##   2005-08-22 - Version 1.0.0 
##      - Initial version. 
## 
##   2006-06-27 - Version 1.0.0b 
##   //Added bots 
##       Ask Jeezes 65.214.44.~ 
##       Alexa      209.237.238.~ 
##       Virgilio   212.48.8.~ 
##       Inktomi    66.94.229.~ 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 

# 
#-----[ OPEN ]------------------------------------------ 
# 

viewonline.php 
  
# 
#-----[ FIND ]------------------------------------------ 
# 

      if ( $row['session_ip'] != $prev_ip ) 
      { 
         $username = $lang['Guest']; 

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

         //MOD Show Search Bot 
         $tmp_list = explode(".", decode_ip($row['session_ip'])); 
         if ($tmp_list[0] == "66" && $tmp_list[1] == "249") { 
            //Google 
            $username = "GoogleBot"; 
         } 
         if ( ($tmp_list[0] == "207" && $tmp_list[1] == "66" && $tmp_list[2] == "146") || 
            ($tmp_list[0] == "207" && $tmp_list[1] == "46") ){ 
            //MSN 
            $username = "MSNBot"; 
         } 
         if ( ($tmp_list[0] == "66" && $tmp_list[1] == "196") || 
            ($tmp_list[0] == "68" && $tmp_list[1] == "142") ) { 
            //Yahoo 
            $username = "YahooBot"; 
         } 
         if ($tmp_list[0] == "195" && $tmp_list[1] == "101" && $tmp_list[2] == "94") { 
            //Voilà 
            $username = "VoilàBot"; 
         } 
         if ($tmp_list[0] == "65" && $tmp_list[1] == "19" && $tmp_list[2] == "150" && $tmp_list[3] >= 193 && $tmp_list[3] <= 256) { 
            //Omni-Explorer 
            $username = "Omni-ExplorerBot"; 
         } 
         if ($tmp_list[0] == "212" && $tmp_list[1] == "27" && $tmp_list[2] == "41" && $tmp_list[3] >= 20 && $tmp_list[3] <= 50) { 
            //Pompos 
            $username = "PomposBot"; 
         } 
         //Added bots 
         if ($tmp_list[0] == "65" && $tmp_list[1] == "214" && $tmp_list[2] == "44") { 
            //AskJeeves 
            $username = "AskJeeves"; 
         } 
         if ($tmp_list[0] == "209" && $tmp_list[1] == "237" && $tmp_list[2] == "238") { 
            //Alexa 
            $username = "Alexa"; 
         } 
         if ($tmp_list[0] == "212" && $tmp_list[1] == "48" && $tmp_list[2] == "8") { 
            //Virgilio 
            $username = "Virgilio"; 
         } 
         if ($tmp_list[0] == "66" && $tmp_list[1] == "94" && $tmp_list[2] == "229") { 
            //Inktomi 
            $username = "Inktomi"; 
         } 
         //End Show Search Bot 
  
# 
#-----[ OPEN ]------------------------------------------ 
# 

includes/page_header.php 
  
# 
#-----[ FIND ]------------------------------------------ 
# 

         // Skip multiple sessions for one user 
         if ( $row['session_ip'] != $prev_session_ip ) 
         { 
            $guests_online++; 

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

            //MOD Show Search Bot 
            $tmp_list = explode(".", decode_ip($row['session_ip'])); 
            if ($tmp_list[0] == "66" && $tmp_list[1] == "249") { 
               //Google 
               $online_userlist .= ( $online_userlist != '' ) ? ', ' . '<span style="color:#' . $theme['body_link'] . '">GoogleBot</span>' : '<span style="color:#' . $theme['body_link'] . '">GoogleBot2</span>'; 
            } 
            if ( ($tmp_list[0] == "207" && $tmp_list[1] == "66" && $tmp_list[2] == "146") || 
               ($tmp_list[0] == "207" && $tmp_list[1] == "46") ){ 
               //MSN 
               $online_userlist .= ( $online_userlist != '' ) ? ', ' . '<span style="color:#' . $theme['body_link'] . '">MSNBot</span>' : '<span style="color:#' . $theme['body_link'] . '">MSNBot2</span>'; 
            } 
            if ( ($tmp_list[0] == "66" && $tmp_list[1] == "196") || 
               ($tmp_list[0] == "68" && $tmp_list[1] == "142") ) { 
               //Yahoo 
               $online_userlist .= ( $online_userlist != '' ) ? ', ' . '<span style="color:#' . $theme['body_link'] . '">YahooBot</span>' : '<span style="color:#' . $theme['body_link'] . '">YahooBot2</span>'; 
            } 
            if ($tmp_list[0] == "195" && $tmp_list[1] == "101" && $tmp_list[2] == "94") { 
               //Voilà 
               $online_userlist .= ( $online_userlist != '' ) ? ', ' . '<span style="color:#' . $theme['body_link'] . '">VoilàBot</span>' : '<span style="color:#' . $theme['body_link'] . '">VoilàBot2</span>'; 
            } 
            if ($tmp_list[0] == "65" && $tmp_list[1] == "19" && $tmp_list[2] == "150" && $tmp_list[3] >= 193 && $tmp_list[3] <= 256) { 
               //Omni-Explorer 
               $online_userlist .= ( $online_userlist != '' ) ? ', ' . '<span style="color:#' . $theme['body_link'] . '">Omni-ExplorerBot</span>' : '<span style="color:#' . $theme['body_link'] . '">Omni-ExplorerBot2</span>'; 
            } 
            if ($tmp_list[0] == "212" && $tmp_list[1] == "27" && $tmp_list[2] == "41" && $tmp_list[3] >= 20 && $tmp_list[3] <= 50) { 
               //Pompos 
               $online_userlist .= ( $online_userlist != '' ) ? ', ' . '<span style="color:#' . $theme['body_link'] . '">PomposBot</span>' : '<span style="color:#' . $theme['body_link'] . '">PomposBot2</span>'; 
            } 
            //Added Bots 
            if ($tmp_list[0] == "65" && $tmp_list[1] == "214" && $tmp_list[2] == "44") { 
               //Ask Jeeves 
               $online_userlist .= ( $online_userlist != '' ) ? ', ' . '<span style="color:#' . $theme['body_link'] . '">Ask Jeeves</span>' : '<span style="color:#' . $theme['body_link'] . '">Ask Jeeves2</span>'; 
            } 
            if ($tmp_list[0] == "209" && $tmp_list[1] == "237" && $tmp_list[2] == "238") { 
               //Alexa 
               $online_userlist .= ( $online_userlist != '' ) ? ', ' . '<span style="color:#' . $theme['body_link'] . '">Alexa</span>' : '<span style="color:#' . $theme['body_link'] . '">Alexa2</span>'; 
            } 
            if ($tmp_list[0] == "212" && $tmp_list[1] == "48" && $tmp_list[2] == "8") { 
               //Virgilio 
               $online_userlist .= ( $online_userlist != '' ) ? ', ' . '<span style="color:#' . $theme['body_link'] . '">Virgilio</span>' : '<span style="color:#' . $theme['body_link'] . '">Virgilio2</span>'; 
            } 
            if ($tmp_list[0] == "66" && $tmp_list[1] == "94" && $tmp_list[2] == "229") { 
               //Inktomi 
               $online_userlist .= ( $online_userlist != '' ) ? ', ' . '<span style="color:#' . $theme['body_link'] . '">Inktomi</span>' : '<span style="color:#' . $theme['body_link'] . '">Inktomi2</span>'; 
            } 
            //End Show Search Bot 

# 
#-----[ OPEN ]------------------------------------------ 
# 

admin/index.php 
  
# 
#-----[ FIND ]------------------------------------------ 
# 

$guest_ip = decode_ip($onlinerow_guest[$i]['session_ip']); 

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

         //MOD Show Search Bot 
         $name_guest = $lang['Guest']; 
         $tmp_list = explode(".", $guest_ip); 
         if ($tmp_list[0] == "66" && $tmp_list[1] == "249") { 
            //Google 
            $name_guest = "GoogleBot"; 
         } 
         if ( ($tmp_list[0] == "207" && $tmp_list[1] == "66" && $tmp_list[2] == "146") || 
            ($tmp_list[0] == "207" && $tmp_list[1] == "46") ){ 
            //MSN 
            $name_guest = "MSNBot"; 
         } 
         if ( ($tmp_list[0] == "66" && $tmp_list[1] == "196") || 
            ($tmp_list[0] == "68" && $tmp_list[1] == "142") ) { 
            //Yahoo 
            $name_guest = "YahooBot"; 
         } 
         if ($tmp_list[0] == "195" && $tmp_list[1] == "101" && $tmp_list[2] == "94") { 
            //Voilà 
            $name_guest = "VoilàBot"; 
         } 
         if ($tmp_list[0] == "65" && $tmp_list[1] == "19" && $tmp_list[2] == "150" && $tmp_list[3] >= 193 && $tmp_list[3] <= 256) { 
            //Omni-Explorer 
            $name_guest = "Omni-ExplorerBot"; 
         } 
         if ($tmp_list[0] == "212" && $tmp_list[1] == "27" && $tmp_list[2] == "41" && $tmp_list[3] >= 20 && $tmp_list[3] <= 50) { 
            //Pompos 
            $name_guest = "PomposBot"; 
         } 
         //Added Bots 
         if ($tmp_list[0] == "65" && $tmp_list[1] == "214" && $tmp_list[2] == "44") { 
            //AskJeeves 
            $username = "AskJeeves"; 
         } 
         if ($tmp_list[0] == "209" && $tmp_list[1] == "237" && $tmp_list[2] == "238") { 
            //Alexa 
            $username = "Alexa"; 
         } 
         if ($tmp_list[0] == "212" && $tmp_list[1] == "48" && $tmp_list[2] == "8") { 
            //Virgilio 
            $username = "Virgilio"; 
         } 
         if ($tmp_list[0] == "66" && $tmp_list[1] == "94" && $tmp_list[2] == "229") { 
            //Inktomi 
            $username = "Inktomi"; 
         } 
         //End Show Search Bot 
          
# 
#-----[ FIND ]------------------------------------------ 
# 
          
         "USERNAME" => $lang['Guest'], 

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
      
         "USERNAME" => $name_guest, 
    
# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM
 !
REKLAMLARA YAPILAN TIKLAMA BİZİM TEK GELİR KAPIMIZDIR. LÜTFEN ADBLOCK TARZI EKLENTİLERLE REKLAMLARI ENGELLEMEYELİM. BİZE EN GÜZEL TEŞEKKÜRÜ BU ŞEKİLDE YAPABİLİRSİNİZ. TEŞEKKÜRLER...


Resim

Cevapla