Page 1 of 1

Set notify_flags in Manage Configuration

Posted: 28 May 2009, 08:20
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

Re: Set notify_flags in Manage Configuration

Posted: 05 Jun 2009, 11:01
by Buga
up

Re: Set notify_flags in Manage Configuration

Posted: 10 Jun 2009, 14:22
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;
}