View Single Post
  #3  
Old 8th October 2008, 11:38
Subzero's Avatar
Subzero Subzero is offline
Coder
 
Join Date: Jul 2008
P2P
Posts: 190
Default
Quote:
Originally Posted by Grom View Post
Replace the avatar of the user alerted by a warning avatar in the block login.Perfect
Open login_block and search code..
PHP Code:
print ("<center><img width=80 height=80 src=$avatar></center><br>" DOWNLOADED ": $userdownloaded<br>" UPLOADED ": $useruploaded<BR>" ACCOUNT_PRIVACY_LV ": $privacylevel<BR>"RATIO .": $userratio"); 
Replace with
PHP Code:
if ($CURUSER["warned"] != "no") {
    
$warnedd "<center><img width=128 height=128 src=images/warned_users.png border=0><br><blink><font color=#ff0000><b>Warning By Staff !</b></blink></font></center>";
    print (
"$warnedd");
} else {        
    print (
"<center><img width=80 height=80 src=$avatar></center>");
    }    
    print (
"<br>" DOWNLOADED ": $userdownloaded<br>" UPLOADED ": $useruploaded<BR>" ACCOUNT_PRIVACY_LV ": $privacylevel<BR>"RATIO .": $userratio"); 
Uploader image warning in the root site folder images.

screenshoot
Nice addon m8
Reply With Quote