Adding monitoring for other users on bug creation

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
taydin
Posts: 2
Joined: 24 Jan 2024, 06:23

Adding monitoring for other users on bug creation

Post by taydin »

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?
cas
Posts: 1622
Joined: 11 Mar 2006, 16:08
Contact:

Re: Adding monitoring for other users on bug creation

Post by cas »

yes there is, have look @ this plugin: https://github.com/mantisbt-plugins/MonProj
taydin
Posts: 2
Joined: 24 Jan 2024, 06:23

Re: Adding monitoring for other users on bug creation

Post by taydin »

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(); 
cas
Posts: 1622
Joined: 11 Mar 2006, 16:08
Contact:

Re: Adding monitoring for other users on bug creation

Post by cas »

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();
Post Reply