Display only new/reply required tickets in staff section

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
PashaSilence
Posts: 3
Joined: Wed May 16, 2007 1:24 pm

Display only new/reply required tickets in staff section

Post by PashaSilence »

Script URL: http://www.wnsoft.ru/support/
Version of script: 0.94
Hosting company: http://www.mastak.com
URL of phpinfo.php: http://www.wnsoft.ru/support/phpinfo.php
URL of session_test.php: http://www.wnsoft.ru/support/session_test.php
What terms did you try when SEARCHING for a solution: settings for admin part

Write your message below:

Is this possible to display only new or reply required tickets in the admin section by default? Our support members when login into admin section see all tickets including replied tickets. There a feature in the bottom of the admin page to show only new tickets by setting Status radio list to necessary state. But this is time spending if do this action every time after login. Can anyone show the way to display only new or reply required tickets right after login without any additional actions? As I understand admin part source code is crypted, so I can’t change it manually.

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

Post by Klemen »

None of the code is Hesk is encrypted except a very small portion which takes care of printing out "Powered by" links is encoded a bit.

Try this:
- open file "print_tickets.inc.php" inside the "inc" folder with Notepad
- change line 43 from

Code: Select all

if (!isset($_GET['status'])) {$status=6; $sql .= " AND (`status`='0' OR `status`='1' OR `status`='2') ";}  
to

Code: Select all

if (!isset($_GET['status'])) {$status=5; $sql .= " AND (`status`='0' OR `status`='1') ";}  
- save, upload, test.

Just a reference what status numbers mean if anyone has some different requirements:
0 = NEW
1 = WAITING REPLY
2 = REPLIED
3 = RESOLVED
4 = ANY STATUS
5 = 0 + 1
6 = 0 + 1 + 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
power
Posts: 31
Joined: Fri Feb 16, 2007 3:05 am

Post by power »

I dont understand what you guys are talking about.....when you login to admin....how dose the tickets get listed ? new, reply, awaiting first ...it that the order ?
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Tickets which have status either NEW, WAITING REPLY or REPLIED are listed by default and sorted by Priority.
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
power
Posts: 31
Joined: Fri Feb 16, 2007 3:05 am

Post by power »

hey PashaSilence,

did the code work for you ?
Post Reply