Gossamer Forum
Quote Reply
user space used
I'm aware that I might be posting this in the wrong forum, but I'm not geting any help any where else. Well this is some how related to GLink. I would like a global to show the percentage of space used in gmail once users login from GC.

This is what I have so far, can sombody please point me in the right directions.

sub {
my $gmail_id = shift;
my $db = GT::SQL->new("path/to/cgi-bin/mail/data/admin/defs");
my $count = $db->table('users')->count( {
userid => $gmail_id,
users_space_used => 1,
});
return $count;
}

I'm calling it with <%space_used($app_gmail_userid)%>

This global is just giving me a (0)

Last edited by:

goman: Oct 20, 2005, 8:24 AM
Subject Author Views Date
Thread user space used goman 2723 Oct 20, 2005, 8:22 AM
Thread Re: [goman] user space used
Andy 2664 Oct 20, 2005, 8:32 AM
Post Re: [Andy] user space used
goman 2621 Oct 20, 2005, 11:21 AM