########################################################
# 	Mantis Bugtracker Add-On
# 	Userdata Version 2.01
#	2022 plugin by Cas Nuy www.NUY.info
#	For Mantis 2.x only
########################################################

This plugin allows to allocate one or more additional fields for each user.
The data will be shown in the bug_view page in readonly mode (this is the data of the Reporter)

Maintenance is done via the user administration.
Upon deleting a user, all correspondingh data is deleted also.
In order to delete the user data, following changes are required:

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');

Eefine a signal in account_delete.php.
Add the following line :
	Also 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');

You can skip these changes and manally clean the database within the config of the plugin

********************************************************************************************
* Installation                                                                             *
********************************************************************************************
Copy the Userdata directory into the plugins folder of your installation.
After copying to your webserver :
- Start mantis as administrator
- Select manage
- Select manage Plugins
- Select Install behind Userdata 2.01
- Once installed, click on the plugin-name for further configuration.

********************************************************************************************
Configuration options                                                                      *
********************************************************************************************
// Should we show userdata inline when viewing an issue
userdata_show_inline		=	ON  // Show userdata along with the issue

// Should we show userdata without content
userdata_show_empty		=	OFF  // Only show fields with content
********************************************************************************************
License                                                                                    *
********************************************************************************************
This plugin is distributed under the same conditions as Mantis itself.

********************************************************************************************
Mantis Issue                                                                               *
********************************************************************************************
http://www.mantisbt.org/bugs/view.php?id=5278

********************************************************************************************
Greetings                                                                                  *
********************************************************************************************
Cas Nuy 
cas@nuy.info
http://www.nuy.info