Forums
-
- Forum
- Posts
-
- Installation
- 28,255
- Troubleshooting
- 61,780
- Themes
- 10,301
- Plugins
- 15,221
- Requests & Feedback
- 14,830
- Showcase
- 3,252
-
YAY!!! I figured it out!
<?php global $user_identity;
get_currentuserinfo();
if ($user_identity == ”) {
echo(‘Welcome Guest’);
} else {
echo(‘<img src=”/forum/avatars/’ . strtolower($user_identity) . ‘.jpg” alt=”avatar” />’);
}
?>
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS