i don't know what to do with this :
Alright, if you open http://www.tmib.net/mod-pending-autoclose-osticket-17st(http://www.tmib.net/mod-pending-autoclose-osticket-17st), you see the guide on how to install the mod.
When you come to the point of "open include\staff\ticket-view.inc.php
circa line 485 locate"; you will have to paste allot of text. But there appears to be something wrong with the layout of the post. It cuts the point i added as a solution in that post off. Therefore osticket will give you the error that a line was not closed properly (if you enable this option in main.inc.php; http://osticket.com/forums/project.php?issueid=177(http://osticket.com/forums/project.php?issueid=177)).
If you look closely at the guide; you see a very small part is outside the quote area, and that part is:
<?php
} ?>
Because of that, you will probably not copy it correctly into the file you're trying to edit.
Below you will find the correct part that you need to fix your issue:
<?php
if($ticket->isClosed() || $thisstaff->canCloseTickets()) { ?>
Ticket Status:
<?php
$statusChecked=isset($info)?'checked="checked"':'';
if($ticket->isOpen()) { ?>
<?php echo $statusChecked; ?>> Mark as Pending
<?php
} elseif($ticket->isPending()) { ?>
<?php echo $statusChecked; ?>> Unmark as Pending
<?php
} ?>
<?php
$statusChecked=isset($info)?'checked="checked"':'';
if($ticket->isClosed()) { ?>
<?php echo $statusChecked; ?>> Reopen on Reply
<?php
} elseif($thisstaff->canCloseTickets()) { ?>
<?php echo $statusChecked; ?>> Close on Reply
<?php
} ?>
<?php
} ?>
I hope this makes sense for you, and that this will solve your issues.
EDIT:
Apparantly pasting it here destroys the layout of the text, i suggest you copy it correctly from the guide, with the missing part.