Set notify_flags in Manage Configuration

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Buga
Posts: 74
Joined: 31 Mar 2008, 12:10

Set notify_flags in Manage Configuration

Post by Buga »

Hi

I need to set the config variable notify_flags for ONE project so that all developers will get mails for all new issues:
$g_notify_flags['new']['threshold_min'] = DEVELOPER;
$g_notify_flags['new']['threshold_max'] = DEVELOPER;

Sure I can add this in the config file but I only need it for one project and not for all.

How can I add these options in the web interface Manage Configuration?

Using Mantis 1.1.1
Buga
Posts: 74
Joined: 31 Mar 2008, 12:10

Re: Set notify_flags in Manage Configuration

Post by Buga »

up
abdaizs
Posts: 13
Joined: 10 Mar 2008, 08:32

Re: Set notify_flags in Manage Configuration

Post by abdaizs »

Nofify_flags can't be managed per project.

You must change the config_default_inc.php file.
After $g_notify_flags line(s) you must insert the following line:

!!X is the project_id!!!

if $t_current_project == X {
$g_notify_flags['new']['threshold_min'] = DEVELOPER;
$g_notify_flags['new']['threshold_max'] = DEVELOPER;
}
Post Reply