View Single Post
  #1  
Old 5th September 2008, 17:00
Grom's Avatar
Grom Grom is offline
Senior Member
 
Join Date: Aug 2008
Posts: 73
Default Replace avatar of warned user with warned image
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
Attached Thumbnails
screen.png  
Attached Images
 
__________________
Hello All
Reply With Quote
The Following 2 Users Say Thank You to Grom For This Useful Post:
davydx (20th October 2011), gogo999 (6th September 2012)