Only user with avater to post message in chatr00m...
Started on the old forum in July 2011 · view the original in the archive · old links redirect here
$ava = mysql_query("SELECT avater FROM table WHERE id='".$uid."'");
if(!isset($ava[0])){
echo 'You must have an avatar to be able to type in chat<br/>';
}else{
//normal stuff here
}