would it be possible either via an option, or just post a code-modification here, to remove the "quota left" from displaying on OTHER member's account-page? it's very confusing to my members to view someone else's account-page, but have THEIR quota displayed on it.

Comments

PeterZ’s picture

I did this in Drupal 6.x by creating the following user-profile.tpl.php file:

<div class="profile">
<?php
global $user;
// check if user viewing is the same as the my profile page; if not, unset quota_by_role portion of $profile
if ($user->uid != arg(1)) {
  unset($profile[t('quota_by_role')]);
}
foreach ($profile AS $k => $v) {
  print $v;
}
?>
</div>

Info that helped me figure this out:
http://drupal.org/node/35728
http://drupal.org/node/138127, especially http://drupal.org/node/138127#comment-1197051