Re: bbpress info in wordpress?
by looking at the code for the “upload avatar” plugin I found this…
strtolower($user->user_identity);
This is what I have now, but nothing displays for the filename, just yourkahil.com/forum/avatars/.jpg
<?php
/*
Plugin Name: WP Avatars
*/
function wp_aud( $felID ) {
$avatar = strtolower($user->user_identity);
$bburl = ‘http://yourkahil.com/forum’;
echo ‘<img alt=”avatar” src=”‘ . $bburl . ‘/avatars/’ . $avatar . ‘.jpg” class=”avatar” />’;
}
?>