(2011-05-21, 03:18 PM)Yaldaram Wrote: Yes, its fine.
Or more precisely, use this;
if (!empty($mybb->user['avatar'])) { $avatar = $mybb->user['avatar']; } else { $avatar = ""; }
Thanks Yaldaram, I updated it but there seems to be a white thing there in place of the avatar heh. Am I supposed to have:
<img src="$avatar" width="100px"
or do I need to remove the "<img src" stuff there?