How to theme user profile parts added by other modules?

Hi everybody,
I've managed to theme our user profiles, so they now looks nice (http://folk.sk/uzivatel/petiar). I am using this code:
<?php$uid = arg(1);$myprofile = user_load(array('uid' => $uid));?>
to put all information into the $myprofile object. So far so good. However, when I install (just an example) User Visits module (http://drupal.org/project/user_visits) I can't see the variables counted by this module in my $myprofile object. That actually means that I can't implement them to our profiles. Does anybody know where could I find these variables? I think that the similar problem will be with modules like Friends or any which add something to original profile page.
Thanks a lot.
Petiar

Advertising