############################################### 
##   Hack Title:   Admin user info text - Mod addon
##   Hack Version:   1.0.0
##   Author:      Antony Bailey 
##   Description:   Allows mods to view the info text.
##   Compatibility:   2.0.4 
## 
##   Installation Level: Moderate
##   Installation Time: 10 minutes 
##   Files To Edit: 1 
##      usercp_viewprofile.php
## 
## 
##   Support:      http://www.phpbbhacks.com/forums 
##   Copyright:      2003 Admin user info text 1.0.0 - Antony Bailey 
## 
############################################### 
##   You downloaded this hack from phpBBHacks.com, the #1 source for phpBB related downloads. 
##   Please visit http://www.phpbbhacks.com/forums for support. 
############################################### 
## 
############################################### 
##   This hack is released under the GPL License. 
##   This hack can be freely used, but not distributed, without permission. 
##   Intellectual Property is retained by the hack author(s) listed above. 
############################################### 
#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_viewprofile.php


#
#-----[ FIND ]------------------------------------------
#

if($userdata['user_level'] == ADMIN) 
{ 
  $infotext = $profiledata['user_infotext']; 
} 



#
#-----[ AFTER, ADD ]------------------------------------------
#

else if ( $userdata['user_level'] == MOD )
{
 $infotext = $profiledata['user_infotext']; 
}


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