Query

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
devcoder1
Posts: 10
Joined: Tue Apr 26, 2011 1:04 pm

Query

Post by devcoder1 »

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:

Hi all,

We are using Hesk helpdesk v2.2 and have a few queries:-

1. Where do I remove the MAIL icon in the toolbar? We don't use the MAIL feature, and want it removing entirely (or at least so it's not visible)

2. Is it possible to add an extra column to the table on the admin homepage, which displays tickets based on a customised field? I would like to be able to mark tickets as X (it's for an internal process separate to hesk) - if it's not marked as X then one of our agents will pick up on it.

3. Can we change the default search type from Tracking ID to a customised field that we have created?

4. Extend the session timeout limit, at the moment we are finding that our agents are getting logged out when they reply to the ticket with text that’s taken them 10-15 minutes to write. Is this software related or server based? Do I need to increase a limit somewhere in the apache config? Running debian.

Regards
Devcoder1
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Query

Post by Klemen »

Hi,

1. The code is in "inc/show_admin_nav.inc.php", open it in notepad and remove

Code: Select all

			<td><a href="mail.php"><img src="../img/ico_mail.gif" width="26" height="26" border="0" alt="<?php echo $hesklang['menu_msg']; ?>" title="<?php echo $hesklang['menu_msg']; ?>" /><br /><?php echo $hesklang['menu_msg']; ?> (<?php echo $num_mail; unset($num_mail); ?>)</a><br /><img src="../img/blank.gif" width="50" height="1" alt="" /></td>
			<td>&nbsp;&nbsp;&nbsp;</td>
2. Possible yes, but the amount of work required is out of the scope of my free support here, sorry.

3. In "inc/show_search_form.inc.php" try changing

Code: Select all

$what = isset($_GET['what']) ? hesk_input($_GET['what']) : 'trackid';
to

Code: Select all

$what = isset($_GET['what']) ? hesk_input($_GET['what']) : 'custom1';
If you want to search by default in custom filed 3 for example you would change 'custom1' to 'custom3'

4. How long sessions take to expire is set in PHP configuration on the server - not something I can help with. You can aslo remove this piece of code from "admin/admin_reply_ticket.php":

Code: Select all

hesk_token_check($_POST['token']);
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
devcoder1
Posts: 10
Joined: Tue Apr 26, 2011 1:04 pm

Re: Query

Post by devcoder1 »

Klemen wrote:Hi,

1. The code is in "inc/show_admin_nav.inc.php", open it in notepad and remove

Code: Select all

			<td><a href="mail.php"><img src="../img/ico_mail.gif" width="26" height="26" border="0" alt="<?php echo $hesklang['menu_msg']; ?>" title="<?php echo $hesklang['menu_msg']; ?>" /><br /><?php echo $hesklang['menu_msg']; ?> (<?php echo $num_mail; unset($num_mail); ?>)</a><br /><img src="../img/blank.gif" width="50" height="1" alt="" /></td>
			<td>&nbsp;&nbsp;&nbsp;</td>
2. Possible yes, but the amount of work required is out of the scope of my free support here, sorry.

3. In "inc/show_search_form.inc.php" try changing

Code: Select all

$what = isset($_GET['what']) ? hesk_input($_GET['what']) : 'trackid';
to

Code: Select all

$what = isset($_GET['what']) ? hesk_input($_GET['what']) : 'custom1';
If you want to search by default in custom filed 3 for example you would change 'custom1' to 'custom3'

4. How long sessions take to expire is set in PHP configuration on the server - not something I can help with. You can aslo remove this piece of code from "admin/admin_reply_ticket.php":

Code: Select all

hesk_token_check($_POST['token']);
To change the question 3 on this in v2.3, I can't seem to find that code in /inc/show_search_form.inc.php?

Thanks
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Query

Post by Klemen »

In 2.3 if you click "More options" you have an option to "Make this my default view" - just select all the options you want then save it as your default.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Lisaweb
Posts: 94
Joined: Sun Sep 25, 2011 3:23 pm

Re: Query

Post by Lisaweb »

To implement this view in 2.3, find this code in "inc/show_search_form.inc.php" (near the top of the page)

Code: Select all

if (!isset($what))
{
	$what = 'trackid';
}
And then replace "trackid" with whatever field you would like it to default to.

Code: Select all

if (!isset($what))
{
	$what = 'subject';
}
OR for a custom field:

Code: Select all

if (!isset($what))
{
	$what = 'custom1';
}
- Lisa
Post Reply