058-005 - FIXED - Bots Color »  Show posts from    to     

Icy Phoenix


Old Patches - 058-005 - FIXED - Bots Color



KugeLSichA [ Sun 27 Aug, 2006 12:37 ]
Post subject: 058-005 - FIXED - Bots Color
Hi there,

found some minor things with bots color.

Code: [Hide] [Select]
#
#-----[ 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 != '' ) ? ', ' . '<span>Ask Jeeves</span>' : '<span>Ask Jeeves</span>';
}
if ($tmp_list[0] == "209" && $tmp_list[1] == "237" && $tmp_list[2] == "238")
{
//Alexa
$online_botlist .= ( $online_botlist != '' ) ? ', ' . '<span>Alexa</span>' : '<span>Alexa</span>';
}
if ($tmp_list[0] == "212" && $tmp_list[1] == "48" && $tmp_list[2] == "8")
{
//Virgilio
$online_botlist .= ( $online_botlist != '' ) ? ', ' . '<span>Virgilio</span>' : '<span>Virgilio</span>';
}
if ($tmp_list[0] == "66" && $tmp_list[1] == "94" && $tmp_list[2] == "229")
{
//Inktomi
$online_botlist .= ( $online_botlist != '' ) ? ', ' . '<span>InktomiBot</span>' : '<span>InktomiBot</span>';
}
if ($tmp_list[0] == "66" && $tmp_list[1] == "228" && $tmp_list[2] == "165")
{
//Inktomi
$online_botlist .= ( $online_botlist != '' ) ? ', ' . '<span>InktomiBot</span>' : '<span>InktomiBot</span>';
}
// 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 != '' ) ? ', ' . '<span style="font-weight:bold;color:' . $bots_color . '">Ask Jeeves</span>' : '<span style="font-weight:bold;color:' . $bots_color . '">Ask Jeeves</span>';
}
if ($tmp_list[0] == "209" && $tmp_list[1] == "237" && $tmp_list[2] == "238")
{
//Alexa
$online_botlist .= ( $online_botlist != '' ) ? ', ' . '<span style="font-weight:bold;color:' . $bots_color . '">Alexa</span>' : '<span style="font-weight:bold;color:' . $bots_color . '">Alexa</span>';
}
if ($tmp_list[0] == "212" && $tmp_list[1] == "48" && $tmp_list[2] == "8")
{
//Virgilio
$online_botlist .= ( $online_botlist != '' ) ? ', ' . '<span style="font-weight:bold;color:' . $bots_color . '">Virgilio</span>' : '<span style="font-weight:bold;color:' . $bots_color . '">Virgilio</span>';
}
if ($tmp_list[0] == "66" && $tmp_list[1] == "94" && $tmp_list[2] == "229")
{
//Inktomi
$online_botlist .= ( $online_botlist != '' ) ? ', ' . '<span style="font-weight:bold;color:' . $bots_color . '">InktomiBot</span>' : '<span style="font-weight:bold;color:' . $bots_color . '">InktomiBot</span>';
}
if ($tmp_list[0] == "66" && $tmp_list[1] == "228" && $tmp_list[2] == "165")
{
//Inktomi
$online_botlist .= ( $online_botlist != '' ) ? ', ' . '<span style="font-weight:bold;color:' . $bots_color . '">InktomiBot</span>' : '<span style="font-weight:bold;color:' . $bots_color . '">InktomiBot</span>';
}
// Show Search Bot - END

#
#-----[ OPEN ]------------------------------------------
#
viewonline.php
#
#-----[ FIND ]------------------------------------------
#
if ($tmp_list[0] == "65" && $tmp_list[1] == "214" && $tmp_list[2] == "44")
{
//AskJeeves
$username = '<span>AskJeeves</span>';
}
if ($tmp_list[0] == "209" && $tmp_list[1] == "237" && $tmp_list[2] == "238")
{
//Alexa
$username = '<span>Alexa</span>';
}
if ($tmp_list[0] == "212" && $tmp_list[1] == "48" && $tmp_list[2] == "8")
{
//Virgilio
$username = '<span>Virgilio</span>';
}
if ($tmp_list[0] == "66" && $tmp_list[1] == "94" && $tmp_list[2] == "229")
{
//Inktomi
$username = '<span>InktomiBot</span>';
}
if ($tmp_list[0] == "66" && $tmp_list[1] == "228" && $tmp_list[2] == "165")
{
//Inktomi
$username = '<span>InktomiBot</span>';
}
// Show Search Bot - END
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ($tmp_list[0] == "65" && $tmp_list[1] == "214" && $tmp_list[2] == "44")
{
//AskJeeves
$username = '<span style="font-weight:bold;color:' . $bots_color . '">AskJeeves</span>';
}
if ($tmp_list[0] == "209" && $tmp_list[1] == "237" && $tmp_list[2] == "238")
{
//Alexa
$username = '<span style="font-weight:bold;color:' . $bots_color . '">Alexa</span>';
}
if ($tmp_list[0] == "212" && $tmp_list[1] == "48" && $tmp_list[2] == "8")
{
//Virgilio
$username = '<span style="font-weight:bold;color:' . $bots_color . '">Virgilio</span>';
}
if ($tmp_list[0] == "66" && $tmp_list[1] == "94" && $tmp_list[2] == "229")
{
//Inktomi
$username = '<span style="font-weight:bold;color:' . $bots_color . '">InktomiBot</span>';
}
if ($tmp_list[0] == "66" && $tmp_list[1] == "228" && $tmp_list[2] == "165")
{
//Inktomi
$username = '<span style="font-weight:bold;color:' . $bots_color . '">InktomiBot</span>';
}
// Show Search Bot - END


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 ]
Post subject: 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.

Thanks KugeL!


ganesh [ Mon 28 Aug, 2006 19:42 ]
Post subject: 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 ]
Post subject: Respuesta: 058-005 - FIXED - Bots Color
Kugel.
In the ACP the Ask Jeeves Bot it does not appear in the asigned color.

Greets.


KugeLSichA [ Mon 28 Aug, 2006 23:58 ]
Post subject: Re: 058-005 - FIXED - Bots Color
thx Janu,
i´ll check this later


JANU1535 [ Mon 28 Aug, 2006 23:59 ]
Post subject: Respuesta: 058-005 - FIXED - Bots Color
No problem Kugel.


Mighty Gorgon [ Tue 29 Aug, 2006 00:10 ]
Post subject: Re: 058-005 - FIXED - Bots Color
ganesh wrote: [View Post]
Are you sure you did?
I updated that file with winmerge but I didn't seen this code...

I have these fixed in my package... anyway a big patch will be out soon... then everything will be fixed!


Nizzle [ Tue 29 Aug, 2006 00:13 ]
Post subject: Re: 058-005 - FIXED - Bots Color
yay big patch




Powered by Icy Phoenix