Home : Products : Gossamer Links : Development, Plugins and Globals :

Products: Gossamer Links: Development, Plugins and Globals: user space used: Edit Log

Here is the list of edits for this post
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

Edit Log: