Adding monitoring for other users on bug creation
Moderators: Developer, Contributor
Adding monitoring for other users on bug creation
Hello, we are a team of 4 people. Two developers, and two managers. We the developers create bugs and assign to each other. But we also have to go through the extra step and enable monitoring for the managers, because they don't do it themselves. Is there a way to enable monitoring for the managers during bug creation?
Re: Adding monitoring for other users on bug creation
yes there is, have look @ this plugin: https://github.com/mantisbt-plugins/MonProj
Re: Adding monitoring for other users on bug creation
The version of mantis that I am using (2.25.7) does not seem to be compatible with the install.txt procedure of that plugin. I was not able to locate the first and the last spots to edit.
Code: Select all
************************************
* Adding events to core mantis *
************************************
The events below may appear in standard Mantis in one of the next versions.
Mantis can be patched manual like this:
Do ensure to define a signal in manage_user_edit_page.php.
Add the following line :
event_signal( 'EVENT_MANAGE_USER_FORM');
Just before :
include ( 'account_prefs_inc.php' );
Ensure to define a signal in manage_user_delete.php.
Add the following line :
event_signal( 'EVENT_ACCOUNT_DELETED', $f_user_id );
Just before :
form_security_purge('manage_user_delete');
Also ensure to define a signal in account_delete.php.
Add the following line :
event_signal( 'EVENT_ACCOUNT_DELETED', $f_user_id );
Just before :
html_page_top1();
Re: Adding monitoring for other users on bug creation
for the first adjustment, the line is found near the end and reads:
include( dirname( __FILE__ ) . '/account_prefs_inc.php' );
The last adjustment should be done just before the line layout_page_header();
include( dirname( __FILE__ ) . '/account_prefs_inc.php' );
The last adjustment should be done just before the line layout_page_header();