058-005 - FIXED - Bots Color


Subject: 058-005 - FIXED - Bots Color
Hi there,

found some minor things with bots color.

Code: [Download] [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

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. :wink:

Thanks KugeL! :wink:

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... :?

Subject: Respuesta: 058-005 - FIXED - Bots Color
Kugel.
In the ACP the Ask Jeeves Bot it does not appear in the asigned color.
:wink:
Greets.

Subject: Re: 058-005 - FIXED - Bots Color
thx Janu,
i´ll check this later

Subject: Respuesta: 058-005 - FIXED - Bots Color
No problem Kugel.
;)

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! :P

Subject: Re: 058-005 - FIXED - Bots Color
yay big patch :mrg:


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.9163s (PHP: 2% SQL: 98%)
SQL queries: 15 - Debug Off - GZIP Enabled