Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Mailbox Quota - Graph for user

Quote Reply
Mailbox Quota - Graph for user
In our old mail system we had a very cool graph that let users know how much diskspace they had available. Very simple, it just used percentages inside a table based on these values:

$kb_quota
$kb_used

Are these a couple simple values to extract from the code that we could add into a template? It would be a great addon!

Thanks!

Diversity by Design
Quote Reply
Re: [diversity] Mailbox Quota - Graph for user In reply to
In Reply To:
Are these a couple simple values to extract from the code that we could add into a template? It would be a great addon!

I second that - this would be a great little addition.

regan.
Quote Reply
Re: [diversity] Mailbox Quota - Graph for user In reply to
Hi,

If you click on Folders, it tells you how much disk space you have left:

USAGE: 1.3%

at the bottom left corner.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Mailbox Quota - Graph for user In reply to
Here's a snippet of what was added in our system to graph the user quota.

Code:
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td colspan=2> <font face="Arial, Helvetica, sans-serif" size="2"><b>MailBox
Quota</b><br>
</font><font face="Arial, Helvetica, sans-serif" size="1">
[Disk Space Used <%users_percent_used%> %]</font></td>
</tr>
<tr>
<td width="100%" colspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td bgcolor="RED" width="<%users_percent_used%>%"><i><font color="white" face="Arial,Helvetica" size="2"><b>
<%users_percent_used%>
%</b></font></i> </td>
<td bgcolor="#FFFFFF"> </td>
</tr>
</table>
</td>
</tr>
</table>

Diversity by Design