From: p d. t. <pdo...@an...> - 2004-09-02 08:09:51
|
Walker, Thanks for the contribution! 1) I assume get_folder_size() is the function you use from the folder_sizes plugin? Have you tried installing YOUR plugin in the $plugins list BEFORE folder_sizes? Does it work OK? 2) It would be nice to see this have an option of using IMAP Quota functionality instead of the folder_sizes plugin. You can easily steal code from the quota_usage plugin (or create a patch to add nag functionality to that plugin, maybe I'll do that some day...) 3) Internationalization! I know it's on your list... it doesn't take much more that a few minutes to get a plugin properly internationalized Let me know the answer to question #1 and I'll get you set up with an account to upload the plugin. Cheers, Paul Walker Wheeler wrote: > For your consideration a new plugin, mail_nag. Here's part of the README > on it. I'd like this to be considered by the plugin developer team. For > the most part it conforms to all the requirements. I do plan on trying to > get the internationalization setup for it, but most of the text is > configurable. This plugin should help some admins let there users know > when they have to much in their INBOX or trash. Here's part of the README. > > ==================================================================== > Plugin Name and Author: > Mail Nag by Walker Wheeler <fx...@ua...> > License: GNU Public License > ----------------------------------------------------------------------------- > > Current Version: 1.0 (Intial Deployment) > > Category: Miscellaneous, Visual Additions, or User Notification > > Dependencies: Requires the folder_sizes plugin. > > Short Description: Nags users about size of INBOX or Trash when > greater than a configured threshold. > > Plugin Description: > Mail_nag nags a SquirrelMail user when their INBOX or Trash is greater > than a configurable threshold. It displays a mail_nag box on any mailbox > index page. The plugin can be configured to only nag when the user first > logs in or continuously while in a mailbox index. > > Features: > * Users can be warned at any time or just after login. > * The warning mechanism can be turned off for either the Trash or the > INBOX. > * Warning sizes can be assigned for the Trash or INBOX. > * The note text for the INBOX or Trash can be assigned independently. > * The colors for the background and border of the box can be defined. > * The mail_nag header can be configured. > ==================================================================== > > Thank you, > > Walker Wheeler > ========================================== > fx...@ua... > 907.474.7173 > University of Alaska Fairbanks > Division of Computing and Communication > Systems Programmer > ========================================== |