Re: Unhide Profile Email Adresses
Thanks for the replies!
I wouldn’t mind installing a plugin to accomplish this, but I tried out Role Manager and it didn’t have any option for displaying emails.
Ashfame, I just went with your method of putting it in profile.php. It’d be nice to not have it as a per template thingy, but it works fine for now. You’re right about it needing to check to see if the current user is an admin to prevent duplicates. I’m new to bbpress so I don’t know if there’s a proper way to do this or not, but I figure the admin is the only one who can edit users, so I plopped in this little guy:
<?php
if ( bb_is_user_logged_in() && !bb_current_user_can( 'edit_users' ) ) {
echo 'user_email .'">' . $user->user_email . '';
}
?>
It seems to work.