Seite 1 von 1
IP Adressen Look-up für Moderatoren ausschalten?
Verfasst: 16.01.2004 02:41
von mscholz
Hallo Forum,
gibt es ein Mod, um das IP Adressen Look-up für Moderatoren auszuschalten? Ich nehme an mit Bo(a)rdmitteln geht das nicht?
Mirko
Verfasst: 16.01.2004 02:55
von andreasOymann
viewtopic.php:
suche
Code: Alles auswählen
if ( $is_auth['auth_mod'] )
{
$temp_url = "modcp.$phpEx?mode=ip&" . POST_POST_URL . "=" . $postrow[$i]['post_id'] . "&" . POST_TOPIC_URL . "=" . $topic_id . "&sid=" . $userdata['session_id'];
$ip_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_ip'] . '" alt="' . $lang['View_IP'] . '" title="' . $lang['View_IP'] . '" border="0" /></a>';
$ip = '<a href="' . $temp_url . '">' . $lang['View_IP'] . '</a>';
ersetze durch
suche
Code: Alles auswählen
$post_subject = ( $postrow[$i]['post_subject'] != '' ) ? $postrow[$i]['post_subject'] : '';
$message = $postrow[$i]['post_text'];
$amazon = $postrow[$i]['post_az'];
$bbcode_uid = $postrow[$i]['bbcode_uid'];
$user_sig = ( $postrow[$i]['enable_sig'] && $postrow[$i]['user_sig'] != '' && $board_config['allow_sig'] ) ? $postrow[$i]['user_sig'] : '';
$user_sig_bbcode_uid = $postrow[$i]['user_sig_bbcode_uid'];
füge darüber ein
Code: Alles auswählen
if ( $userdata['user_level'] == ADMIN )
{
$temp_url = "modcp.$phpEx?mode=ip&" . POST_POST_URL . "=" . $postrow[$i]['post_id'] . "&" . POST_TOPIC_URL . "=" . $topic_id . "&sid=" . $userdata['session_id'];
$ip_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_ip'] . '" alt="' . $lang['View_IP'] . '" title="' . $lang['View_IP'] . '" border="0" /></a>';
$ip = '<a href="' . $temp_url . '">' . $lang['View_IP'] . '</a>';
A.
Verfasst: 16.01.2004 13:46
von mscholz
boah, klasse, danke, das ging ja sehr flott.