Where I can place that function and what are the arguments I need to pass for that. Now My profile page looks like this when i go to http://localhost/myproject/user/1 link.
<br />
<br />admin&#39;s profile
<br />
<br />    View    Edit    Invitations    Invitations    OpenID identities    Track    Contact    Signups
<br />
<br />Member since
<br />    July 2011
<br />Last login
<br />    Within the past half hour
<br />Album image
<br />
<br />        There are 3 albums in total
<br />        There are 5 images in total
<br />        Slideshow
<br />
<br />Groups:
<br />
<br />    Players
<br />    Sports
<br />
<br />Blog
<br />    View recent blog entries
<br />
<br />Newsletters
<br />
<br />    Manage my subscriptions
<br />Current subscriptions
<br />    localhost newsletter, mahesh
<br />
<br />
<br /> Now for this I want to add the 
<br />
<br />Total Upload Space used :
<br />
<br />Using that function how I can add that.I am fresher in drupal.
<br />On , Liviu Nicolicioiu &lt;liviu.nicolicioiu@epoint.ro&gt; wrote:
<br />&gt; Check:
<br />&gt; 
<br />&gt; 
<br />&gt; http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hook_user/6
<br />&gt; 
<br />&gt; 
<br />&gt; ,
<br />&gt; 
<br />&gt; 
<br />&gt; with $op = &#39;view&#39;
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; And function:
<br />&gt; 
<br />&gt; 
<br />&gt; file_space_used
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; On Fri, Jul 29, 2011 at 10:28 AM,  mahesh143an@gmail.com&gt; wrote:
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; Hi,
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; Hi I wanted to show the total file upload space used by the user on his
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; profile page,by using following query.
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; db_result(db_query(&quot;SELECT SUM(filesize) FROM {files} WHERE uid = %d&quot;,
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; $uid));
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; Which function I need to so the changes and add the field for this
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; result.Thanks in advance.
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; --
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; [ Drupal support list | http://lists.drupal.org/ ]
<br />&gt; 
<br />&gt; 
<br />&gt; &gt;
<br />&gt; 
<br />&gt; 
<br />&gt; --
<br />&gt; 
<br />&gt; 
<br />&gt; [ Drupal support list | http://lists.drupal.org/ ]
<br />&gt; 
<br />&gt; 
<br />&gt;