Adding owner to tickets

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
paul.mercea
Posts: 6
Joined: Mon Nov 09, 2009 3:13 pm

Adding owner to tickets

Post by paul.mercea »

Script URL:
Version of script:2.1
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

I have managed (for us) to have owner for tickets.
For this is necesary to create new field in hesk_tickets table, named owner (smalint).

Modified files an new files can be dowloaded from http://www.almexa.ro/hesk.zip .

Regards to all
Klemen
Site Admin
Posts: 10143
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Thanks for sharing. Something similar will be included in HESK version 2.2.
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
th3tech
Posts: 5
Joined: Wed Apr 22, 2009 1:43 pm

Post by th3tech »

thanks! this works great!
MacJoyful
Posts: 17
Joined: Wed Sep 02, 2009 9:58 pm

Future Upgrades to Help Desk

Post by MacJoyful »

Klemen wrote:Thanks for sharing. Something similar will be included in HESK version 2.2.
I'd gladly buy you a beer once you add some of the requests to this product.

Anyway, we are hoping to see a method for assigning tickets to specific users in the database. Currently, we have to log the request ourselves and use our name and email for the user that's requested the problem. It gets a little confusing as time passes as far as who entered the request. Fortunately, we have a fairly small department. This sort of help desk solution would not work for a large department.
MacJoyful
Posts: 17
Joined: Wed Sep 02, 2009 9:58 pm

Re: Adding owner to tickets

Post by MacJoyful »

paul.mercea wrote:Script URL:
Version of script:2.1
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

I have managed (for us) to have owner for tickets.
For this is necesary to create new field in hesk_tickets table, named owner (smalint).

Modified files an new files can be dowloaded from http://www.almexa.ro/hesk.zip .

Regards to all
Can you tell me which script controls the Email Reply Title? Everything I've implemented which you created works great except for the email sent out when an owner has been assigned has the subject as follows:

Ticket owner has changed to %s

I see that the text.php file contains the new owner information. Is this something to be modified in reply_ticket.php or possibly the admin_ticket.php file? Thank you for your help. This really would be helpful if we can get the subject line of the automated email to be correct.
emmettg
Posts: 2
Joined: Tue Mar 09, 2010 5:02 pm

Adding owner to tickets

Post by emmettg »

Hi,

Has anyone been able to resolve the issue with the emails containing the variable names rather than the correct values.

The owner assignment update is great but it would be the icing on the cake to resolve the email issue as well.

Anyone provide a fix or point me in the right direction.

Thanks.
slabbe
Posts: 3
Joined: Tue Mar 16, 2010 1:33 am

Post by slabbe »

Just want to know how to force Hesk to display only assigned tickets to a specific user (ex.: John Doe got 5 assigned tickets. In his admin page I want to only show those who has been assigned to him. The admin will see everything).
IgMuSh
Posts: 5
Joined: Fri Mar 12, 2010 12:55 pm

Re: Adding owner to tickets

Post by IgMuSh »

emmettg wrote: Has anyone been able to resolve the issue with the emails containing the variable names rather than the correct values.
Try this(line #118 in owner.php):

Code: Select all

@mail($email,$hesklang['owner_email'].$owner_name['name'],$msg,$headers);
Then you must remove " %s" in text.php

Code: Select all

$hesklang['owner_email']='Ticket owner has changed to ';
emmettg
Posts: 2
Joined: Tue Mar 09, 2010 5:02 pm

Post by emmettg »

Thanks for the reply. I have it working now. I needed to add code into the owner.php file to pickup the NUM and LIST_TICKETS data for the return email.

All working now :-)
slabbe
Posts: 3
Joined: Tue Mar 16, 2010 1:33 am

Post by slabbe »

slabbe wrote:Just want to know how to force Hesk to display only assigned tickets to a specific user (ex.: John Doe got 5 assigned tickets. In his admin page I want to only show those who has been assigned to him. The admin will see everything).
BUMP !
slabbe
Posts: 3
Joined: Tue Mar 16, 2010 1:33 am

Post by slabbe »

slabbe wrote:
slabbe wrote:Just want to know how to force Hesk to display only assigned tickets to a specific user (ex.: John Doe got 5 assigned tickets. In his admin page I want to only show those who has been assigned to him. The admin will see everything).
BUMP !
Post Reply