Page 1 of 1

submit reply ticket to all staff

Posted: Sat Jan 12, 2008 9:51 am
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

Posted: Sun Jan 13, 2008 11:34 am
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'];