Geschrieben von sourceforge am 12.08.2006 um 18:16:
füge vor:
code: |
1:
2:
3:
4:
5:
6:
|
if (!$row['userid']) {
$username = $lang->get("LANG_WIW_GUEST", array('$guestcount' => $guestcount));
$guestcount++;
}
|
|
folgendes ein:
[code]/// * Bot - Erkennung und Sprachvariablen Aufruf * ///
/// W3C_Validator (validator.w3.org)
if (strchr($row['useragent'], "W3C_Validator")) {
eval ("\$username = \"".$lang->get4eval("LANG_WIW_BOT_VALIDATOR")."\";");
}
else
/// Slurp-Bot (Diverse Suchmachinen)
if (strchr($row['useragent'], "slurp")) {
eval ("\$username = \"".$lang->get4eval("LANG_WIW_BOT_SLURP")."\";");
}
else
/// MSN-Bot (
www.msnsearch.com)
if (strchr($row['useragent'], "msnbot")) {
eval ("\$username = \"".$lang->get4eval("LANG_WIW_BOT_MSN")."\";");
}
else
/// Google-Bot (
www.google.de)
if (strchr($row['useragent'], "googlebot")) {
eval ("\$username = \"".$lang->get4eval("LANG_WIW_BOT_GOOGLE")."\";");
}
else
/// Google-Bot/2.1 (
www.google.de)
if (strchr($row['useragent'], "Googlebot/2.1")){
eval ("\$username = \"".$lang->get4eval("LANG_WIW_BOT_GOOGLE1.2")."\";");
}
else
/// Mediapartners-Google/2.1 (
www.google.de)
if (strchr($row['useragent'], "Mediapartners-Google/2.1")){
eval ("\$username = \"".$lang->get4eval("LANG_WIW_BOT_GOOGLEMEDIA")."\";");
}
else
/// FireFly-Bot (
www.fireball.de)
if (strchr($row['useragent'], "firefly")) {
eval ("\$username = \"".$lang->get4eval("LANG_WIW_BOT_FIREFLY")."\";");
}
else
/// Ask Jeeves/Teoma (
www.de.ask.com)
if (strchr($row['useragent'], "Ask Jeeves/Teoma")) {
eval ("\$username = \"".$lang->get4eval("LANG_WIW_BOT_ASK")."\";");
}
else
/// Fireball-Bot (
www.fireball.de)
if (strchr($row['useragent'], "fireball")) {
eval ("\$username = \"".$lang->get4eval("LANG_WIW_BOT_FIREBALL")."\";");
}
else
/// Scooter-Bot (
www.altavista.de)
if (strchr($row['useragent'], "scooter")) {
eval ("\$username = \"".$lang->get4eval("LANG_WIW_BOT_SCOOTER")."\";");
}
else
/// Suchnase-Bot (
www.suchnase.de)
if (strchr($row['useragent'], "suchnase")) {
eval ("\$username = \"".$lang->get4eval("LANG_WIW_BOT_SUCHNASE")."\";");
}
else
/// Abacho-Bot (
www.abacho.com)
if (strchr($row['useragent'], "abacho")) {
eval ("\$username = \"".$lang->get4eval("LANG_WIW_BOT_ABACHO")."\";");
}
else
/// Fast-Bot (
www.fast-search.net)
if (strchr($row['useragent'], "fast")) {
eval ("\$username = \"".$lang->get4eval("LANG_WIW_BOT_FASTSEARCH")."\";");
}
else
/// IA_Archiver-Bot (
www.alexa.com)
if (strchr($row['useragent'], "ia_archiver")) {
eval ("\$username = \"".$lang->get4eval("LANG_WIW_BOT_SCOOTER")."\";");
}
else
/// Search-Bot (
www.search.ch)
if (strchr($row['useragent'], "search.ch")) {
eval ("\$username = \"".$lang->get4eval("LANG_WIW_BOT_SEARCH")."\";");
}
else
/// SlySearch-Bot (
www.slysearch.com)
if (strchr($row['useragent'], "slysearch")) {
eval ("\$username = \"".$lang->get4eval("LANG_WIW_BOT_SLYSEARCH")."\";");
}
else
/// TheSuBot (
www.thesubot.de)
if (strchr($row['useragent'], "TheSuBot")) {
$username = $lang->get("LANG_WIW_BOT_THESUBOT");
$botonlinecount++;
$botcount++;
$boton=true;
}
else
/// * ENDE - Bot - Erkennung und Sprachvariablen Aufruf * ///
sollte dann funzen ^^
in der datei wiw.php in deinem hauptordner