Allocated Person
Posted: Thu Apr 30, 2009 10:09 am
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
I updated Hesk to 2.0 yesterday from 0.93x
All is working fine and it looks customisable to our liking. The only thing I am having troubles with is re-adding our option to allocate tickets to different users. I have re-edited the admin_ticket.php to add:
This has added a lovely drop down box at the bottom of the page, but it is unpopulated. I'm struggling to find the string needed to populate. It used to be "person".
Any ideas?
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
I updated Hesk to 2.0 yesterday from 0.93x
All is working fine and it looks customisable to our liking. The only thing I am having troubles with is re-adding our option to allocate tickets to different users. I have re-edited the admin_ticket.php to add:
Code: Select all
<!-- Change Allocated Person Mod-->
<form method="POST" action="admin_change_person.php">
<table border="0">
<tr>
<td align="right" width="150"><?php echo "Allocated Person"; ?>:</td>
<td align="left" width="200"><select name="user">
<?php
require_once('inc/database.inc.php');
hesk_dbConnect() or hesk_error("Can't connect to database! Please notify webmaster at $hesk_settings[webmaster_mail]!");
$sql = "SELECT * FROM `hesk_users`";
$result = hesk_dbQuery($sql) or hesk_error("Couldn't execute SQL: $sql<br>Please contact webmaster at $hesk_settings[webmaster_mail] and give him this error message");
while ($row=hesk_dbFetchAssoc($result))
{
echo "
<option value=\"$row[name]\">$row[name]</option>
";
}
?>
</select></td>
<td align="left" width="450">
<p align="left"><input type="hidden" name="track" value="<?php echo $ticket['trackid']; ?>">
<input type="hidden" name="s" value="<?php echo 0 ?>">
<input type="hidden" name="refresh" value="<?php echo $random; ?>">
<input type="submit" value="<?php echo "Update User"; ?>" class="button"></p>
</td>
</form>
</tr>
<!-- End Mod -->
Any ideas?