################################################## ############
## MOD Title: Arama Motorunun İsmini Gösterm
## MOD Author: WILLEM Aurelien < > http://www.team-azerty.com
## MOD Description: Bu mod ile forumunuzun "Kimler Online" bölümünde ve Yönetim Panelinde
## arama motorlarının isimlerinin gözükmesi sağlanır. örneğin Google sitenizi taradığı vakit "Kimler ## Online" bölümünde Google yazar...
##
## MOD Version: 1.0.0
##
## Kurulum Zorluğu : Kolay
## Süre: 1 dakika
## Düzenlenecek dosyalar : viewonline.php, includes/page_header.php, admin/index.php
## Eklenecek dosyalar: 0
################################################## ############
## Güvenlik Uyarısı: Bu modun son sürümü için http://www.phpbb.com/mods/ adresini lütfen
## kontrol ediniz...
################################################## ############
## Yazar Notu: Bu mod phpBB versiyon 2.0.17'e kadar test edilmiştir.
################################################## ############
################################################## ############
## Bu MOD'u yüklemeden önce sisteminizin yedeğini almayı unutmayın.
################################################## ############

#
#-----[ Aç ]------------------------------------------
#

viewonline.php

#
#-----[ Bul ]------------------------------------------
#

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

#
#-----[ Sonrasına ekle ]------------------------------------------
#

//MOD Show Search Bot
$tmp_list = explode(".", decode_ip($row['session_ip']));
if ($tmp_list[0] == "66" && $tmp_list[1] == "249") {
//Google
$username = "Google";
}
if ( ($tmp_list[0] == "207" && $tmp_list[1] == "66" && $tmp_list[2] == "146") ||
($tmp_list[0] == "207" && $tmp_list[1] == "46") ){
//MSN
$username = "MSN";
}
if ( ($tmp_list[0] == "66" && $tmp_list[1] == "196") ||
($tmp_list[0] == "68" && $tmp_list[1] == "142") ) {
//Yahoo
$username = "Yahoo";
}
if ($tmp_list[0] == "195" && $tmp_list[1] == "101" && $tmp_list[2] == "94") {
//Voilà
$username = "Voilà";
}
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-Explorer";
}
if ($tmp_list[0] == "212" && $tmp_list[1] == "27" && $tmp_list[2] == "41" && $tmp_list[3] >= 20 && $tmp_list[3] <= 50) {
//Pompos
$username = "Pompos";
}
//End Show Search Bot

#
#-----[ Aç ]------------------------------------------
#

includes/page_header.php

#
#-----[ Bul ]------------------------------------------
#

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

#
#-----[ Sonrasına ekle ]------------------------------------------
#

//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'] . '">Google</span>' : '<span style="color:#' . $theme['body_link'] . '">Google</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'] . '">MSN</span>' : '<span style="color:#' . $theme['body_link'] . '">MSN</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'] . '">Yahoo</span>' : '<span style="color:#' . $theme['body_link'] . '">Yahoo</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à</span>' : '<span style="color:#' . $theme['body_link'] . '">Voilà</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-Explorer</span>' : '<span style="color:#' . $theme['body_link'] . '">Omni-Explorer</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'] . '">Pompos</span>' : '<span style="color:#' . $theme['body_link'] . '">Pompos</span>';
}
//End Show Search Bot

#
#-----[ Aç]------------------------------------------
#

admin/index.php

#
#-----[ Bul ]------------------------------------------
#

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

#
#-----[ Sonrasına ekle ]------------------------------------------
#

//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 = "Google";
}
if ( ($tmp_list[0] == "207" && $tmp_list[1] == "66" && $tmp_list[2] == "146") ||
($tmp_list[0] == "207" && $tmp_list[1] == "46") ){
//MSN
$name_guest = "MSN";
}
if ( ($tmp_list[0] == "66" && $tmp_list[1] == "196") ||
($tmp_list[0] == "68" && $tmp_list[1] == "142") ) {
//Yahoo
$name_guest = "Yahoo";
}
if ($tmp_list[0] == "195" && $tmp_list[1] == "101" && $tmp_list[2] == "94") {
//Voilà
$name_guest = "Voilà";
}
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-Explorer";
}
if ($tmp_list[0] == "212" && $tmp_list[1] == "27" && $tmp_list[2] == "41" && $tmp_list[3] >= 20 && $tmp_list[3] <= 50) {
//Pompos
$name_guest = "Pompos";
}
//End Show Search Bot

#
#-----[ Bul ]------------------------------------------
#

"USERNAME" => $lang['Guest'],

#
#-----[ Sonrasına ekle ]------------------------------------------
#

"USERNAME" => $name_guest,

#
#-----[ Kaydet ve Kapat ]------------------------------------------