===================Change the name of the reporter to user defined within the form======================= For basic information on plugins, please refer: [[claromentis:development:infocapture_plugin]] In this section we would see how to change the reporter name to user defined name within the form You can find the xml file of the test project here: {{help:infocapture:plugins:ic_project_-_16_-_to_change_name_of_the_reporter_to_user_defined_within_the_form_-_sp_03-mar-2009_.xml|}} Lets suppose we have got this test project with ID = 16 {{claromentis:configuration_and_customization:infocapture:plugins:16.1.png|}} For this purpose, we require plugin_16_add_issue.php Load($pid)) { $errno = "Cannot load current project"; vard2($errno); exit; } //$user_id is the id of the reporter, which is "0" (ie. default reporter) if no other user is selected $user_id = $issue_fields["reporter_name"]; if ($user_id == 0) { //Here reporter name is set to id 1, which is the id of "myself"; $result = array(); $result["issue"] = array(); $result["issue"]["reporter"] = 1; $result["issue"]["fields_values"]["reporter_name"] = 1; return $result; } else { $result = array(); $result["issue"] = array(); $result["issue"]["reporter"] = $user_id; return $result; } } ?> Place the above file in folder: /httpdocs/intranet/helpdesk/plugins/ {{claromentis:configuration_and_customization:infocapture:plugins:16.2.png|}} Here, I have logged in as "Claromentis Administrator" and I have selected reporter's name as "User 1 TEST". When I report issue, the "Reported by" field is changed to "User 1 TEST" instead of the default reporter "Claromentis Administrator" {{claromentis:configuration_and_customization:infocapture:plugins:16.3.png|}}