Here's what I did:
In function.php, Line 185 after '$userinfo=$post;'
// HACK
if ($post[fieldX]) {
$post[fieldX] = "<img width=\"50\" height=\"50\" src=\"$post[fieldX]\" border=\"0"\>";
}
// HACK
What this will do is CHECK to see if the user has an image set in fieldX. If so, it will display the avatar, otherwise it skips it.
Now that I look at it, I should make it check to ensure it's a gif or jpg and then that the image is there.
|