
Hi Mark, On Tue, Feb 18, 2003 at 09:14:54AM +0100, Mark N. wrote:
Would it be possible to make a button/link (next to the Lock, Zoom, Close, etc. buttons) in the Queue view, that would move a ticket to the Junk queue (or maybe delete it)? We get a lot of spam in some of our queues and it takes time to close all those tickets :(
Any better ideas?
Yes, you could do this: a) add a delete queue (and memorize the queue_id) b) add a "delete" link to the dtl-template, e. g. Kernel/Output/HTML/Standard/TicketView.dtl [...] $Text{"Delete"}</a> - [...] replace the DestQueueID=x param with your delete queue_id c) Let do the delete (or maybe just a simple close) jobs the GenericAgent.pl every 20 minutes (http://otrs.org/pages/index.pl?Action=Ext&Site=Docu/generic-agent.html) -=> Then you need just one click for spam tickets! ,-)
Mark Nellemann Happy OTRS User
:)) Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "Security is a process, not a product." - Bruce Schneier