On 13-Feb-08, at 2:27 AM, Fabian Cenedese wrote:

>
>>>> I think you are looking for $g_notify_flags variable; check in
>>>> config_defaults_inc.php for its usage.
>>>>
>>>> If I understand what you are trying to do, you probably need to  
>>>> use:
>>>>
>>>> $g_notify_flags['new']['threshold_min'] = ADMINISTRATOR;
>>>> $g_notify_flags['new']['threshold_max'] = ADMINISTRATOR;
>>>
>>> Thanks, I saw this variable before. But I'm not sure about the  
>>> usage.
>>> If I add this then do not all administrators get an email? I used  
>>> the
>>> "Manage Configuration" page like this:
>>>
>>> Configuration Option: notify_flags
>>> Type: complex
>>> Value:
>>> array (
>>> 'new' =>
>>> array (
>>>   'threshold_min' => ADMINISTRATOR,
>>>   'threshold_max' => ADMINISTRATOR,
>>> ),
>>> )
>>>
>>> I'll see if that works. Can I also add user and project specific
>>> options
>>> in the confic_inc.php (or some other) file? I like configuration in
>>> files
>>> much better than in the database. I saw a lot of options with levels
>>> and thresholds, but not with users or projects.
>>>
>>
>>  Note that the email distribution is much more easily configured
>> through the checkboxes on the Manage -> Manage Configuration -> Email
>> Notifications page. The code figures out the optimal settings based  
>> on
>> the boxes checked.
>
> I know that page. The problem I have with it is that I can only change
> settings globally, on user rights level. But I want to change settings
> for every single user individually, so I needed to change the  
> notify_flags
> for a single user. If I can also do that with the Email Notification  
> page
> I'd be glad to learn about it.


   The Email Notifications page works on a project or global basis,  
depending on whether the project selector at the top right is set to a  
specific project, or "All Projects". The user "severity" settings are  
separate, and are used to filter out messages that would normally have  
been sent. There isn't an easy way to override the user setting.

   Does this help, or am I missing the point?

    ... Glenn
-- 
Glenn Henshaw                     Logical Outcome Ltd.
e: [EMAIL PROTECTED]     w: www.logicaloutcome.ca
Mantis Developer and User




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
mantisbt-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mantisbt-help

Reply via email to