I know this is simple but can't find the answer. I'm just wanting to put the contents of user-profile.tpl.php in a block. No extra formatting or anything. Just pull the information and put it in a block. It can either be in my custom module or by creating a block. Thanks for your help!
After trying the initial suggestion, I received this error message:
Fatal error: Unsupported operand types user.module
My user-profile.tpl.php doesn't contain the usual information and I should have mentioned that originally. There's a lot to it but I think the problem is here:
$account = menu_get_object('user');
Since it calls that immediately at the top, it may create a problem. Beyond that, the rest of the user-profile.tpl.php file uses the account variable highlighted above to get a bunch more information.
I'm using the latest version of Drupal which is 7.7 at this time.