https://www.icyphoenix.com/viewtopic.php?f=27&t=186 ----------------------------------- 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 ----------------------------------- Mighty Gorgon Sun 27 Aug, 2006 14:43 Re: 058-005 - FIXED - Bots Color ----------------------------------- I've included this modifications in the CRITICAL patch here: http://www.phpbbxs.eu/viewtopic.php?t=183 So if you apply that patch, you don't need to apply also this one. :wink: Thanks [b]KugeL[/b]! :wink: ----------------------------------- ganesh Mon 28 Aug, 2006 19:42 Re: 058-005 - FIXED - Bots Color ----------------------------------- Are you sure you did? I updated that file with winmerge but I didn't seen this code... :? ----------------------------------- JANU1535 Mon 28 Aug, 2006 21:47 Respuesta: 058-005 - FIXED - Bots Color ----------------------------------- Kugel. In the ACP the Ask Jeeves Bot it does not appear in the asigned color. :wink: Greets. ----------------------------------- KugeLSichA Mon 28 Aug, 2006 23:58 Re: 058-005 - FIXED - Bots Color ----------------------------------- thx Janu, i´ll check this later ----------------------------------- JANU1535 Mon 28 Aug, 2006 23:59 Respuesta: 058-005 - FIXED - Bots Color ----------------------------------- No problem Kugel. ;) ----------------------------------- Mighty Gorgon Tue 29 Aug, 2006 00:10 Re: 058-005 - FIXED - Bots Color ----------------------------------- [quote user="ganesh" post="1626"]Are you sure you did? I updated that file with winmerge but I didn't seen this code... :?[/quote] I have these fixed in my package... anyway a big patch will be out soon... then everything will be fixed! :P ----------------------------------- Nizzle Tue 29 Aug, 2006 00:13 Re: 058-005 - FIXED - Bots Color ----------------------------------- yay big patch :mrg: