[ Another Mantis plugins Website ]
[ Home ] [ MantisUserImport Plugin ] [ MantisLanguages Plugin ]
The plug-in « MantisUserImport » is a plug-in Mantis which allows users importation from an LDAP directory.
The version necessary to use this plug-in is the 1.2RC. Also, it is recommended to configure Mantis to authorize the creation of user account without email address ($g_allow_blank_email=ON). To download the plug-in, please use the following link:[ MantisImportUser 1.0 ]
As Mantis 1.2rc includes by default a plug-in manager ( Setup, unSetup), to install “MantisImportuser”, you need only to download and uncompress it under the plug-in directory in the Mantis tree. It looks like the following:
At this stage, it ‘s only remaining to use the admin GUI, and especially the section named: “Manage Plugins”. In the list of available plug-ins, you might see the "MantisUserImport" plug-in ready to be installed. Click on “Installation” to setup It.
Let’s configure this plugin ! No worries, the configuration is simple. This one is based only on the constant change. In the repertory “pages” of our plug-in, there is a file named “constant_inc.php”. This file holds constants linked to some default parameter associated to the LDAP, as well as the plug-in configuration (e.g: design, position on Mantis).
For example, in the case of we have to change the default address of the LDAP hosting server, we have just to modify the constant named "MANTIS_IMPORTUSER_LANG_DFT_LDAPSERVER".
It is possible to choose which menu will host the plug-in. We just have to modify the constant named "MANTIS_IMPORTUSER_PLACE_PLUGIN". The theoretical available values are listed in this page.[ See the event Menu list ]
Thus, if we need to position the plugin in the administration menu, we fix the constant like the following.
This plug-in is multi-language. In order to modify the translation as our wishing, we need to go in the “lang” repertory of this plug-in. This repertory holds for each language, one file associated. For example, to modify the English translation associated to a title or button label, we need only to change the value associated to the corresponding variable. In the case of the language file needed is not, all we have to do is to create it with the same variables inside as the “English” language file. Then, it’s only remaining to do the translation.