View Single Post
Old 06-23-2004, 06:10 PM   #4 (permalink)
GoldDust
Contributing Member
 
GoldDust's Avatar
 
Join Date: 12-28-03
Location: East London, UK
Posts: 601
iTrader: 0 / 0%
Latest Blog:
None

GoldDust is just really niceGoldDust is just really niceGoldDust is just really niceGoldDust is just really niceGoldDust is just really niceGoldDust is just really niceGoldDust is just really niceGoldDust is just really niceGoldDust is just really niceGoldDust is just really niceGoldDust is just really nice
Send a message via MSN to GoldDust
All sorted


This mod allows only forum admins to only see IP addresses, always good if you have created multiple accounts and dont want to be found out

Quote:
################################################## ###############

## Mod Title: IP Only Viewable By Admin

## Mod Version: 1.0.0

## Author: Acyd Burn < acyd.burnatgmx.de > - Meik Sievertsen - 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


}
GoldDust is offline   Reply With Quote