Page 1 of 1

close ticket problem & suggestion

Posted: Sun Nov 26, 2006 8:46 pm
by iceman
Script URL:support.dreamlynxdigtalstudios.com
Version of script:newest
Hosting company:surpass hosting
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

My question:

Is there a way to keep a ticket closed for good. I have seen your post on closing a ticket using the other php code which removes the reply. However it leaves the open link at the top. is there a way to remove that link once the ticket has been closed so only the admin can reopen the ticket?

Also: is the a way to add a company field and account number field. It would be quite useful for on going customers and Identification reasons.

I believe you have a great product here. How do i donate.

Posted: Mon Nov 27, 2006 12:39 pm
by Klemen
With a little HTML knowledge you could simply change this (in ticket.php):

Code: Select all

else {echo "<font class=\"resolved\">$hesklang[close]</font> [<a
href=\"change_status.php?track=$trackingID&s=1&Refresh=$random\">$hesklang[open_action]</a>]";}
to this

Code: Select all

else {echo "<font class=\"resolved\">$hesklang[close]</font>";}
Haven't tested it, but should work...

Custom fields will be included in the next version, right now they would require a lot of editing and that is beyond the scope of this support.
I believe you have a great product here. How do i donate.
http://www.phpjunkyard.com/help-phpjunkyard.php

Regards,

That did it

Posted: Mon Nov 27, 2006 7:12 pm
by iceman
That worked perfect. Thanks so much. I will be making a donation this week.

Didnt work for me.

Posted: Tue Apr 21, 2009 6:46 am
by ISO Retail
i cut and pasted it word for word and i got this error.

Parse error: syntax error, unexpected T_ELSE in /home/a1419099/public_html/support/ticket.php on line 129

Posted: Tue Apr 21, 2009 6:05 pm
by Klemen

Posted: Tue Apr 21, 2009 11:35 pm
by ISO Retail
oh that easy? he's da man!