[ModDB] - Show Search Bot - 2.0.1

Eklenti geliştirme bölümü.

[ModDB] - Show Search Bot - 2.0.1

İleti sabri ünal 04.01.2007, 11:50

http://www.phpbb.com/phpBB/viewtopic.php?t=495372

Modu sonunda yeniledim...

Resim

mod artık beta seviyesindedir ve artık phpbb mod syntaxsıyladır...

Kod: Tümünü seç
##############################################################
## MOD Title: Show Search Bot
## MOD Author: yakusha < yakushaBB@yahoo.com > (phpBB Turkiye) http://www.canver.net
## MOD Description: This mod show search mods on whois online bar, whois online page
## and ACP index page..
##
## MOD Version: 2.0.1
##
## Installation Level: EASY
## Installation Time: 3 minutes
## Files To Edit:
## - page_header.php
## - viewonline.php
## - admin/index.php
## Included Files: n/a
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##
############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##
############################################################
## Author Notes:
## Designed from Show Search Bot 1.0.0
## MOD Author: WILLEM Aurelien < > http://www.team-azerty.com/
## Ip adresses updated and new adresses added
## Voilà, Omni-Explorer, Pompos is deleted
##
############################################################
## MOD History:
## 2.0.1 / 15.01.2007
## corrected ip adress from:
## http://www.iplists.com/google.txt
## http://www.iplists.com/nw/msn.txt
## http://www.iplists.com/inktomi.txt
##
## 2.0.0 / 06.01.2007
## Second Release
##
############################################################
## 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
         (
            // number is -> ip adress count...
            //verifred from -> http://www.iplists.com/google.txt
            //172
            ($tmp_list[0] == "64" && $tmp_list[1] == "68")  ||
            //63
            ($tmp_list[0] == "64" && $tmp_list[1] == "233" && $tmp_list[2] == "173") ||
            //26
            ($tmp_list[0] == "216" && $tmp_list[1] == "239") ||
            //11
            ($tmp_list[0] == "66" && $tmp_list[1] == "249")
         )
         { //Google
            $username = 'Google';
         }
         if
         (
            // verifred from -> http://www.iplists.com/nw/msn.txt
            //107
            ($tmp_list[0] == "65" && $tmp_list[1] == "54") ||
            //11
            ($tmp_list[0] == "131" && $tmp_list[1] == "107") ||
            //10
            ($tmp_list[0] == "65" && $tmp_list[1] == "55") ||
            //9
            ($tmp_list[0] == "207" && $tmp_list[1] == "46") ||
            //8
            ($tmp_list[0] == "63" && $tmp_list[1] == "194" && $tmp_list[2] == "155") ||
            //8
            ($tmp_list[0] == "202" && $tmp_list[1] == "96" && $tmp_list[2] == "51") ||
            //7
            ($tmp_list[0] == "207" && $tmp_list[1] == "68")
         )
         { //MSN
            $username = 'MSN';
         }
         if
         (
            // verifred from -> http://www.iplists.com/inktomi.txt
            //126
            ($tmp_list[0] == "68" && $tmp_list[1] == "142") ||
            //36
            ($tmp_list[0] == "72" && $tmp_list[1] == "30") ||
            //26*
            ($tmp_list[0] == "66" && $tmp_list[1] == "196") ||
            //25
            ($tmp_list[0] == "216" && $tmp_list[1] == "32" && $tmp_list[2] == "237") ||
            //20
            ($tmp_list[0] == "66" && $tmp_list[1] == "94" && $tmp_list[2] == "230") ||
            //20
            ($tmp_list[0] == "74" && $tmp_list[1] == "6" && $tmp_list[2] == "131") ||
            //19
            ($tmp_list[0] == "216" && $tmp_list[1] == "109" && $tmp_list[2] == "126") ||
            //17
            ($tmp_list[0] == "66" && $tmp_list[1] == "163" && $tmp_list[2] == "170") ||
            //16
            ($tmp_list[0] == "216" && $tmp_list[1] == "239" && $tmp_list[2] == "193") ||
            //16
            ($tmp_list[0] == "209" && $tmp_list[1] == "191") ||
            //13
            ($tmp_list[0] == "202" && $tmp_list[1] == "160") ||
            //13
            ($tmp_list[0] == "209" && $tmp_list[1] == "131") ||
            //12
            ($tmp_list[0] == "66" && $tmp_list[1] == "218") ||
            //10
            ($tmp_list[0] == "202" && $tmp_list[1] == "212" && $tmp_list[2] == "5")
         )
         { //Yahoo
            $username = 'Yahoo';
         }
         //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
            (
               // number is -> ip adress count...
               //verifred from -> http://www.iplists.com/google.txt
               //172
               ($tmp_list[0] == "64" && $tmp_list[1] == "68")  ||
               //63
               ($tmp_list[0] == "64" && $tmp_list[1] == "233" && $tmp_list[2] == "173") ||
               //26
               ($tmp_list[0] == "216" && $tmp_list[1] == "239") ||
               //11
               ($tmp_list[0] == "66" && $tmp_list[1] == "249")
            )
            { //Google
               $online_userlist .= ( $online_userlist != '' ) ? ', ' . '<span style="color:#' . $theme['body_link'] . '">Google</span>' : '<span style="color:#' . $theme['body_link'] . '">Google</span>';
            }
            if
            (
               // verifred from -> http://www.iplists.com/nw/msn.txt
               //107
               ($tmp_list[0] == "65" && $tmp_list[1] == "54") ||
               //11
               ($tmp_list[0] == "131" && $tmp_list[1] == "107") ||
               //10
               ($tmp_list[0] == "65" && $tmp_list[1] == "55") ||
               //9
               ($tmp_list[0] == "207" && $tmp_list[1] == "46") ||
               //8
               ($tmp_list[0] == "63" && $tmp_list[1] == "194" && $tmp_list[2] == "155") ||
               //8
               ($tmp_list[0] == "202" && $tmp_list[1] == "96" && $tmp_list[2] == "51") ||
               //7
               ($tmp_list[0] == "207" && $tmp_list[1] == "68")
            )
            { //MSN
               $online_userlist .= ( $online_userlist != '' ) ? ', ' . '<span style="color:#' . $theme['body_link'] . '">MSN</span>' : '<span style="color:#' . $theme['body_link'] . '">MSN</span>';
            }
            if
            (
               // verifred from -> http://www.iplists.com/inktomi.txt
               //126
               ($tmp_list[0] == "68" && $tmp_list[1] == "142") ||
               //36
               ($tmp_list[0] == "72" && $tmp_list[1] == "30") ||
               //26*
               ($tmp_list[0] == "66" && $tmp_list[1] == "196") ||
               //25
               ($tmp_list[0] == "216" && $tmp_list[1] == "32" && $tmp_list[2] == "237") ||
               //20
               ($tmp_list[0] == "66" && $tmp_list[1] == "94" && $tmp_list[2] == "230") ||
               //20
               ($tmp_list[0] == "74" && $tmp_list[1] == "6" && $tmp_list[2] == "131") ||
               //19
               ($tmp_list[0] == "216" && $tmp_list[1] == "109" && $tmp_list[2] == "126") ||
               //17
               ($tmp_list[0] == "66" && $tmp_list[1] == "163" && $tmp_list[2] == "170") ||
               //16
               ($tmp_list[0] == "216" && $tmp_list[1] == "239" && $tmp_list[2] == "193") ||
               //16
               ($tmp_list[0] == "209" && $tmp_list[1] == "191") ||
               //13
               ($tmp_list[0] == "202" && $tmp_list[1] == "160") ||
               //13
               ($tmp_list[0] == "209" && $tmp_list[1] == "131") ||
               //12
               ($tmp_list[0] == "66" && $tmp_list[1] == "218") ||
               //10
               ($tmp_list[0] == "202" && $tmp_list[1] == "212" && $tmp_list[2] == "5")
            )
            { //Yahoo
               $online_userlist .= ( $online_userlist != '' ) ? ', ' . '<span style="color:#' . $theme['body_link'] . '">Yahoo</span>' : '<span style="color:#' . $theme['body_link'] . '">Yahoo</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
         (
            // number is -> ip adress count...
            //verifred from -> http://www.iplists.com/google.txt
            //172
            ($tmp_list[0] == "64" && $tmp_list[1] == "68")  ||
            //63
            ($tmp_list[0] == "64" && $tmp_list[1] == "233" && $tmp_list[2] == "173") ||
            //26
            ($tmp_list[0] == "216" && $tmp_list[1] == "239") ||
            //11
            ($tmp_list[0] == "66" && $tmp_list[1] == "249")
         )
         { //Google
         $name_guest = 'Google';
         }
         if
         (
            // verifred from -> http://www.iplists.com/nw/msn.txt
            //107
            ($tmp_list[0] == "65" && $tmp_list[1] == "54") ||
            //11
            ($tmp_list[0] == "131" && $tmp_list[1] == "107") ||
            //10
            ($tmp_list[0] == "65" && $tmp_list[1] == "55") ||
            //9
            ($tmp_list[0] == "207" && $tmp_list[1] == "46") ||
            //8
            ($tmp_list[0] == "63" && $tmp_list[1] == "194" && $tmp_list[2] == "155") ||
            //8
            ($tmp_list[0] == "202" && $tmp_list[1] == "96" && $tmp_list[2] == "51") ||
            //7
            ($tmp_list[0] == "207" && $tmp_list[1] == "68")
         )
         { //MSN
            $name_guest = 'MSN';
         }
         if
         (
            // verifred from -> http://www.iplists.com/inktomi.txt
            //126
            ($tmp_list[0] == "68" && $tmp_list[1] == "142") ||
            //36
            ($tmp_list[0] == "72" && $tmp_list[1] == "30") ||
            //26*
            ($tmp_list[0] == "66" && $tmp_list[1] == "196") ||
            //25
            ($tmp_list[0] == "216" && $tmp_list[1] == "32" && $tmp_list[2] == "237") ||
            //20
            ($tmp_list[0] == "66" && $tmp_list[1] == "94" && $tmp_list[2] == "230") ||
            //20
            ($tmp_list[0] == "74" && $tmp_list[1] == "6" && $tmp_list[2] == "131") ||
            //19
            ($tmp_list[0] == "216" && $tmp_list[1] == "109" && $tmp_list[2] == "126") ||
            //17
            ($tmp_list[0] == "66" && $tmp_list[1] == "163" && $tmp_list[2] == "170") ||
            //16
            ($tmp_list[0] == "216" && $tmp_list[1] == "239" && $tmp_list[2] == "193") ||
            //16
            ($tmp_list[0] == "209" && $tmp_list[1] == "191") ||
            //13
            ($tmp_list[0] == "202" && $tmp_list[1] == "160") ||
            //13
            ($tmp_list[0] == "209" && $tmp_list[1] == "131") ||
            //12
            ($tmp_list[0] == "66" && $tmp_list[1] == "218") ||
            //10
            ($tmp_list[0] == "202" && $tmp_list[1] == "212" && $tmp_list[2] == "5")
         )
         { //Yahoo
            $name_guest = 'Yahoo';
         }
         //End Show Search Bot
       
#
#-----[ FIND ]------------------------------------------
#
           
            "USERNAME" => $lang['Guest'],

#
#-----[ AFTER ADD ]------------------------------------------
#
       
            "USERNAME" => $name_guest,
     
#
#-----[ SAVE & CLOSE ]------------------------------------------
#EOM
En son sabri ünal tarafından, 15.01.2007, 10:14 tarihinde değiştirildi, toplamda 5 değişiklik yapıldı.
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

İleti Holy 05.01.2007, 03:42

görebileceğimiz örnek warmı ?

nası bişey çok merak ettim
Holy
Üye
Üye
 
İleti: 53
Kayıt: 28.01.2006, 18:37

İleti sabri ünal 05.01.2007, 03:46

canver bu modun eski sürümünü kullanıyor, canverde kimler online kısmına bakarsan bazen google veya msn veya yahoo diye görebililirsin, bu işe yarıyor...
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

İleti CeRBeR 05.01.2007, 04:55

Çok cici olmuş ellerine sağlık ustam ben kullandım ve beğendim :D
Kullanıcı avatarı
CeRBeR
Üye
Üye
 
İleti: 232
Kayıt: 05.10.2005, 20:37

İleti sabri ünal 06.01.2007, 03:44

modun admin paneliyle ilgili kısmında küççük bir hata varmış, giderildi ve mod phpBB ana sitesine gönderildi direk olarak da modDB ye gönderildi...

mod sentaxı düzeltildi, müthiş güzel oldu, ilk dakikasında yahoo yu yakaladı, ipleri güncelleyince sitemizden çıkmayan misafirin yahoo dayı olduğu anlaşıldı... msn ablamızı da bekleriz, arada çay kayfe içeriz..
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

İleti sabri ünal 15.01.2007, 09:18

mod güncel, ip adresleri kısmını yeniden uygulamanız yeni sürüme geçmeniz için yeterli olacaktır... Bu arada modu ModDB ye gönderdim... satırlardaki ip sayısı dışında karın ağrıtacak bir şeyleri yok...
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

İleti asdf29 15.01.2007, 20:04

ben bunu kullanıyorumda başka bişi sorucam.. bazı sitelerde googlebot , googlebot2 diye yazıyor onların kullandıkları farklı mı.. neden 1-2 diye sıralıyor ki..
Kullanıcı avatarı
asdf29
Üye
Üye
 
İleti: 206
Kayıt: 24.03.2006, 15:05

İleti mazlum 15.01.2007, 20:46

sanırım google siteyi birden fazla botla indexlediği içindir.
mazlum
Üye
Üye
 
İleti: 312
Kayıt: 04.05.2006, 16:51
Konum: Zonguldak

İleti Simuzer 15.01.2007, 21:57

Evet, farklı IP'lere sahip birden fazla Google Botu olduğu durumda googlebot, googlebot2, googlebot3... diye yazar..
Kullanıcı avatarı
Simuzer
Geliştirme Grubu
Geliştirme Grubu
 
İleti: 669
Kayıt: 09.11.2005, 09:34
Konum: İstanbul


Eklenti Geliştirme



Kimler çevrimiçi

Bu forumu görüntüleyenler: Kayıtlı kullanıcı yok ve 0 misafir

cron