https://www.icyphoenix.com/viewtopic.php?f=27&t=186&p=1381#p1381 ----------------------------------- KugeLSichA Sun 27 Aug, 2006 12:37 058-005 - FIXED - Bots Color ----------------------------------- Hi there, found some minor things with bots color. [code linenumbers=false] # #-----[ OPEN ]------------------------------------------ # includes/page_header.php # #-----[ FIND ]------------------------------------------ # if ($tmp_list[0] == "65" && $tmp_list[1] == "214" && $tmp_list[2] == "44") { //Ask Jeeves $online_botlist .= ( $online_botlist != '' ) ? ', ' . 'Ask Jeeves' : 'Ask Jeeves'; } if ($tmp_list[0] == "209" && $tmp_list[1] == "237" && $tmp_list[2] == "238") { //Alexa $online_botlist .= ( $online_botlist != '' ) ? ', ' . 'Alexa' : 'Alexa'; } if ($tmp_list[0] == "212" && $tmp_list[1] == "48" && $tmp_list[2] == "8") { //Virgilio $online_botlist .= ( $online_botlist != '' ) ? ', ' . 'Virgilio' : 'Virgilio'; } if ($tmp_list[0] == "66" && $tmp_list[1] == "94" && $tmp_list[2] == "229") { //Inktomi $online_botlist .= ( $online_botlist != '' ) ? ', ' . 'InktomiBot' : 'InktomiBot'; } if ($tmp_list[0] == "66" && $tmp_list[1] == "228" && $tmp_list[2] == "165") { //Inktomi $online_botlist .= ( $online_botlist != '' ) ? ', ' . 'InktomiBot' : 'InktomiBot'; } // Show Search Bot - END # #-----[ REPLACE WITH ]------------------------------------------ # if ($tmp_list[0] == "65" && $tmp_list[1] == "214" && $tmp_list[2] == "44") { //Ask Jeeves $online_botlist .= ( $online_botlist != '' ) ? ', ' . 'Ask Jeeves' : 'Ask Jeeves'; } if ($tmp_list[0] == "209" && $tmp_list[1] == "237" && $tmp_list[2] == "238") { //Alexa $online_botlist .= ( $online_botlist != '' ) ? ', ' . 'Alexa' : 'Alexa'; } if ($tmp_list[0] == "212" && $tmp_list[1] == "48" && $tmp_list[2] == "8") { //Virgilio $online_botlist .= ( $online_botlist != '' ) ? ', ' . 'Virgilio' : 'Virgilio'; } if ($tmp_list[0] == "66" && $tmp_list[1] == "94" && $tmp_list[2] == "229") { //Inktomi $online_botlist .= ( $online_botlist != '' ) ? ', ' . 'InktomiBot' : 'InktomiBot'; } if ($tmp_list[0] == "66" && $tmp_list[1] == "228" && $tmp_list[2] == "165") { //Inktomi $online_botlist .= ( $online_botlist != '' ) ? ', ' . 'InktomiBot' : 'InktomiBot'; } // Show Search Bot - END # #-----[ OPEN ]------------------------------------------ # viewonline.php # #-----[ FIND ]------------------------------------------ # 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 = 'InktomiBot'; } if ($tmp_list[0] == "66" && $tmp_list[1] == "228" && $tmp_list[2] == "165") { //Inktomi $username = 'InktomiBot'; } // Show Search Bot - END # #-----[ REPLACE WITH ]------------------------------------------ # 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 = 'InktomiBot'; } if ($tmp_list[0] == "66" && $tmp_list[1] == "228" && $tmp_list[2] == "165") { //Inktomi $username = 'InktomiBot'; } // Show Search Bot - END [/code] I must post this here because i have no access to patches area, maybe MG give me access? ;-) cya