Page 1 of 1

? - Closed Tickets should remain closed please ...

Posted: Sat Sep 30, 2006 10:58 pm
by substyle
Script URL: localhost :lol:
Version of script: 0.9.31

Write your message below:

I have a questions about HESK:

When I close a Ticket a "Customer" may reopen
the Ticket by giving a reply to that Ticket.

Is there any way to get a closed Ticket stay closed ?
I tryed to manage removing the "Reply field" that's printed out,
but didn't succeded ... see I'm no real big php coder, but any
suggestions would be nice.

geetz

subby

Posted: Fri Oct 06, 2006 8:18 pm
by Klemen
You can try changing this in ticket.php

Code: Select all

<hr width="750">

<h3 align="center"><?php echo $hesklang['add_reply']; ?></h3>

<form method="POST" action="reply_ticket.php">
<p align="center"><?php echo $hesklang['message']; ?>: <font class="important">*</font><br>
<textarea name="message" rows="12" cols="60"></textarea></p>
<p align="center"><input type="hidden" name="orig_id" value="<?php echo $ticket['id']; ?>">
<input type="hidden" name="orig_name" value="<?php echo $ticket['name']; ?>">
<input type="hidden" name="orig_track" value="<?php echo $trackingID; ?>">
<input type="submit" value="<?php echo $hesklang['submit_reply']; ?>" class="button"></p>

</form>
to

Code: Select all

<?php
if ($ticket['status']) {
?>
<hr width="750">

<h3 align="center"><?php echo $hesklang['add_reply']; ?></h3>

<form method="POST" action="reply_ticket.php">
<p align="center"><?php echo $hesklang['message']; ?>: <font class="important">*</font><br>
<textarea name="message" rows="12" cols="60"></textarea></p>
<p align="center"><input type="hidden" name="orig_id" value="<?php echo $ticket['id']; ?>">
<input type="hidden" name="orig_name" value="<?php echo $ticket['name']; ?>">
<input type="hidden" name="orig_track" value="<?php echo $trackingID; ?>">
<input type="submit" value="<?php echo $hesklang['submit_reply']; ?>" class="button"></p>

</form>

<?php
}
?>
Haven't tested it though...

Posted: Fri Oct 06, 2006 11:22 pm
by substyle
Thank you very much :!:

This is absolutely what I'd like it to be, keep up the good work. :wink:
Hesk is a cool Projekt.

Btw. Are there any future plans to work with "skins", for myself I did a lot
of customization on the frontend to get it fit our "Web 2.0-Like" intranet
style

subby @ bremen @ germany <- right, sorry for my pure english ... :oops: [/url]

Posted: Fri Nov 10, 2006 10:11 pm
by kjc
Yep, View this post
viewtopic.php?t=930