Seite 1 von 1

IP verbergen

Verfasst: 13.05.2004 10:22
von Moloch
Hallo,
wie kann ich bei jemanden, dem ich zum Junior Admin ernannt habe verhindern, das er die IP´s einsehen kann.

Verfasst: 13.05.2004 10:28
von Markus Wandel
Hallo Moloch,

vielleicht hilft dir dieser MOD weiter:

Code: Alles auswählen

################################################################# 
## Mod Title: IP Only Viewable By Admin
## Mod Version: 1.0.0
## Author: Acyd Burn < acyd.burn@gmx.de > - Meik Sievertsen - http://www.opentools.de/
##
## Description: 
##		This little mod allows only admins to view the ip of Users.
##
## Installation Level: easy
## Installation Time: 5 Minutes
## Files To Edit: modcp.php, viewtopic.php
## Included Files: 0
##
############################################################## 
## This MOD is released under the GPL License. 
## Intellectual Property is retained by the MOD Author(s) listed above 
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/ 
############################################################# 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
################################################################ 

# 
#-----[ OPEN ]--------------------------------------------- 
# 
/phpBB2/modcp.php

#
#-----[ FIND ]---------------------------------------------
# 
// 
// End Auth Check 
// 
 
# 
#-----[ AFTER, ADD ]--------------------------------------- 
# 
if ( ($mode == 'ip') && ($userdata['user_level'] != ADMIN) ) 
{ 
	$mode = '';
} 
 
# 
#-----[ OPEN ]--------------------------------------------- 
# 
/phpBB2/viewtopic.php

#
#-----[ FIND ]---------------------------------------------
# 
			$delpost_img = '';
			$delpost = '';
		}
	}

# 
#-----[ AFTER, ADD ]---------------------------------------
# 
	if ( ($is_auth['auth_mod']) && ($userdata['user_level'] != ADMIN) )
	{
		$ip_img = '';
		$ip = '';
	}

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM

bye bye