submit reply ticket to all staff

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
acardipane
Posts: 2
Joined: Sat Jan 12, 2008 9:42 am

submit reply ticket to all staff

Post by acardipane »

Version of script: 0.94.1

hello, is possibile submit email "reply ticket" to all member staff how it happens when the ticket is opened?

help me, thank you
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Well, if you read the READ THIS BEFORE POSTING you would know that "is this possible" type of questions aren't my favorite and you can get a short answer "Yes, it is".


Hesk will only send e-mail notifications if two conditions are met:
1. staff has access to that category
2. staff doesn't have "receive notifications" disabled.

If you want to send them to ALL staff you can just sign them all up for that category (login as administrator and go to "Manage users").


The non-standard way of doing it is you can edit this code in submit_ticket.php and reply_ticket.php:

Code: Select all

    /* Is this an administrator? */
    if ($myuser['isadmin']) {$admins[]=$myuser['email']; continue;}
    /* Not admin, is he allowed this category? */
    $cat=substr($myuser['categories'], 0, -1);
    $myuser['categories']=explode(',',$cat);
    if (in_array($category,$myuser['categories']))
    {
        $admins[]=$myuser['email']; continue;
    }
Change it to just

Code: Select all

$admins[]=$myuser['email'];
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
Post Reply