|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Delete Purge All Buttons PluginHello everyone,
We have received many requests from our users for the ability to delete all messages in their folders similar to the purge button for Trash in left_main.php. Currently it takes multiple clicks to do this (show all messages then toggle all and then delete). We have developed a plugin to add Delete all messages and Purge all messages buttons to specified folders. Deleting all messages will send all messages from the folder to Trash. Purging would be the equivalent of expunging the messages. These buttons are similar to those that appear on gmail and yahoo's mail services. We have also included javascript and DHTML tooltips for alerts. The plugin is attached or available below: http://jla.rutgers.edu/~ngavini/delete_purge_all_buttons-1.0-1.4.tar.gz Please let us know of any bugs you may find testing it and any feedback you may have. Thanks! -- Naveen Gavini Student Systems Programmer OSS/CSS - OIT Rutgers ngavini@... ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ----- squirrelmail-plugins mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-plugins@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins |
|
|
Re: Delete Purge All Buttons Plugin> We have received many requests from our users for the ability to delete all
> messages in their folders similar to the purge button for Trash in > left_main.php. Currently it takes multiple clicks to do this (show all > messages then toggle all and then delete). We have developed a plugin to add > Delete all messages and Purge all messages buttons to specified folders. I am baffled why you didn't look for such a plugin *before* you went about investing the time and effort to .... sadly.... reinvent the wheel. You also could have asked here and would have been pointed to the Empty Folders plugin (which may need some updating, but that's beside the point). > Deleting all messages will send all messages from the folder to Trash. > Purging would be the equivalent of expunging the messages. These buttons are > similar to those that appear on gmail and yahoo's mail services. We have > also included javascript and DHTML tooltips for alerts. Sounds like you added buttons somewhere in the interface instead of adding a link similar to the "purge" one next to folder names in the folder pane(?). I'll try to have a look as time allows (next week?), but the upshot is, although we REALLY REALLY APPRECIATE your effort and the willingness to share, you should have done your homework first -- this kind of functionality belongs as an update to (if it's not already just a duplicate of) the Empty Folders plugin. Perhaps we can look into that. > The plugin is attached or available below: > > http://jla.rutgers.edu/~ngavini/delete_purge_all_buttons-1.0-1.4.tar.gz > > Please let us know of any bugs you may find testing it and any feedback you > may have. > > Thanks! ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ----- squirrelmail-plugins mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-plugins@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins |
|
|
|
|
|
Re: Delete Purge All Buttons PluginNaveen,
Please do not top-post. Please read the mailing list posting guidelines. >>> We have received many requests from our users for the ability to delete all >>> messages in their folders similar to the purge button for Trash in >>> left_main.php. Currently it takes multiple clicks to do this (show all >>> messages then toggle all and then delete). We have developed a plugin to add >>> Delete all messages and Purge all messages buttons to specified folders. >> >> I am baffled why you didn't look for such a plugin **before** you went >> about investing the time and effort to .... sadly.... reinvent the >> wheel. You also could have asked here and would have been pointed to >> the Empty Folders plugin (which may need some updating, but that's >> beside the point). >> >>> Deleting all messages will send all messages from the folder to Trash. >>> Purging would be the equivalent of expunging the messages. These buttons are >>> similar to those that appear on gmail and yahoo's mail services. We have >>> also included javascript and DHTML tooltips for alerts. >> >> Sounds like you added buttons somewhere in the interface instead of >> adding a link similar to the "purge" one next to folder names in the >> folder pane(?). I'll try to have a look as time allows (next week?), >> but the upshot is, although we REALLY REALLY APPRECIATE your effort >> and the willingness to share, you should have done your homework first >> -- this kind of functionality belongs as an update to (if it's not >> already just a duplicate of) the Empty Folders plugin. Perhaps we can >> look into that. > > Sorry my explanation of the plugin might have been poor. This is not for > adding "purge" links to left_main.php but rather adding buttons inside > each of the folder. OK, I see. No need to apologize. > It hooks into mailbox_display and displays the button next to the move, > forward buttons. This button is either a purge or delete all depending > on the options you choose. I don't think the button text should change. I'm also not sure what the need for some complex third party javascript library is just for alt text for a simple button, but I'll see when I run the code. > I agree that maybe this might have been better as an addition to the > Empty Folders plugin instead, however we did not initially come across > that plugin. > Maybe I can rework this as an addition to Empty folders if it's better > seen fit. Seems to me it is. I am working through an update to that plugin now and I can send it to you offlist if you'd like. I can look at integrating your code of vice versa. > I apologize for any inconvenience, please send your feedback. Remember not to put closing ?> tags at the end of PHP files, and you should internationalize all your output. Thanks again, Paul >> The plugin is attached or available below: >> >> http://jla.rutgers.edu/~ngavini/delete_purge_all_buttons-1.0-1.4.tar.gz <http://jla.rutgers.edu/%7Engavini/delete_purge_all_buttons-1.0-1.4.tar.gz> >> >> Please let us know of any bugs you may find testing it and any feedback you >> may have. >> ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ----- squirrelmail-plugins mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-plugins@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins |
|
|
Re: Delete Purge All Buttons PluginPaul Lesniewski <paul <at> squirrelmail.org> writes:
> > Sorry my explanation of the plugin might have been poor. This is not for > > adding "purge" links to left_main.php but rather adding buttons inside > > each of the folder. > > OK, I see. No need to apologize. > > > It hooks into mailbox_display and displays the button next to the move, > > forward buttons. This button is either a purge or delete all depending > > on the options you choose. > > I don't think the button text should change. I'm also not sure what > the need for some complex third party javascript library is just for > alt text for a simple button, but I'll see when I run the code. We thought it would be easier for our users to understand if we created a distinct difference in wording for each button. "Deleting all messages" would have the action of moving the messages to trash. "Purging all messages" would have the action of expunging all messages off the server. We also chose "purge" because it is already displayed on the left frame next to trash. In the process of deleting and purging messages we noticed that currently the "purge" button has no warning or prompt for the action. We thought it would be a nice addition to add some sort of warning before deleting/purging all messages. We added a simple javascript alert for purging all messages, and we used the javascript library to generate a tooltip for deleting all messages. We wanted to provide a different and less harsh notification to provide a distinction between deleting and purging messages. Our thoughts were if we change the style of the warning message it will give a better chance that our users read it instead of just clicking yes. > > > I agree that maybe this might have been better as an addition to the > > Empty Folders plugin instead, however we did not initially come across > > that plugin. > > Maybe I can rework this as an addition to Empty folders if it's better > > seen fit. > > Seems to me it is. I am working through an update to that plugin now > and I can send it to you offlist if you'd like. I can look at > integrating your code of vice versa. I am not sure what updates you are adding to the plugin but it would be great if you can send us a copy when your done. When you have a chance to take a look at our plugin please feel free to integrate it into your update, if you want we can do this as well. > > > I apologize for any inconvenience, please send your feedback. > > Remember not to put closing ?> tags at the end of PHP files, and you > should internationalize all your output. Sorry, but can you clarify the what you mean by internationalize all your output? Thanks, please let us know any additional feedback you may have. - Naveen > > Thanks again, > > Paul ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ----- squirrelmail-plugins mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-plugins@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins |
|
|
Re: Delete Purge All Buttons PluginOn Wed, Jul 9, 2008 at 11:39 AM, Naveen Gavini <ngavini@...> wrote:
> Paul Lesniewski <paul <at> squirrelmail.org> writes: > >> > Sorry my explanation of the plugin might have been poor. This is not for >> > adding "purge" links to left_main.php but rather adding buttons inside >> > each of the folder. >> >> OK, I see. No need to apologize. >> >> > It hooks into mailbox_display and displays the button next to the move, >> > forward buttons. This button is either a purge or delete all depending >> > on the options you choose. >> >> I don't think the button text should change. I'm also not sure what >> the need for some complex third party javascript library is just for >> alt text for a simple button, but I'll see when I run the code. > > We thought it would be easier for our users to understand if we created a > distinct difference in wording for each button. "Deleting all messages" would > have the action of moving the messages to trash. "Purging all messages" would > have the action of expunging all messages off the server. We also chose "purge" > because it is already displayed on the left frame next to trash. > > In the process of deleting and purging messages we noticed that currently the > "purge" button has no warning or prompt for the action. We thought it would be a > nice addition to add some sort of warning before deleting/purging all messages. > We added a simple javascript alert for purging all messages, and we used the > javascript library to generate a tooltip for deleting all messages. We wanted to > provide a different and less harsh notification to provide a distinction between > deleting and purging messages. Our thoughts were if we change the style of the > warning message it will give a better chance that our users read it instead of > just clicking yes. > >> >> > I agree that maybe this might have been better as an addition to the >> > Empty Folders plugin instead, however we did not initially come across >> > that plugin. >> > Maybe I can rework this as an addition to Empty folders if it's better >> > seen fit. >> >> Seems to me it is. I am working through an update to that plugin now >> and I can send it to you offlist if you'd like. I can look at >> integrating your code of vice versa. > > I am not sure what updates you are adding to the plugin but it would be great if > you can send us a copy when your done. When you have a chance to take a look at > our plugin please feel free to integrate it into your update, if you want we can > do this as well. I have finished a thorough re-code of Empty Folders. It now includes the a button implementation inspired by your good work. By default, it uses simple JavaScript confirm() calls to show a warning to the user, but this is configurable (you can also turn it off) by the administrator or the user. You can also use something more fancy if you like by changing the onclick handler in the configuration file. I will send you a beta copy offlist. Testers appreciated - contact me offlist. PLEASE provide feedback, even if nothing went wrong. >> > I apologize for any inconvenience, please send your feedback. >> >> Remember not to put closing ?> tags at the end of PHP files, and you >> should internationalize all your output. > > Sorry, but can you clarify the what you mean by internationalize all your output? When users change the interface language, all the output of your plugin should be translated into the target language. This depends, of course, on translators providing translation files, but in order for that system to work, your code has to support it. There is plenty of information on the SM website about "internationalization" or "i18n", but feel free to ask if you need more help. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ----- squirrelmail-plugins mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-plugins@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins |
| Free Forum Powered by Nabble | Forum Help |