Hi
Thanks for sharing this plugin
are the new fields supposed to appear in view_user_page?
Judging by the fact you posted your plugin here
https://www.mantisbt.org/bugs/view.php?id=5278
I would assume it allows for custom user fields, but so far what I am seeing is that it is something completely different from Heiko's Plugin.
Heiko's plugin:
- user has more fields under his account settings/profile.
- the user can modify his own custom fields.
- view_user_page.php?id=XX shows the customs fields
have a look at the screenshot posted in OP where you can see "custom field 1"
https://www.mantisbt.org/bugs/file_down ... 9&type=bug
This is what a custom user field means. It means custom fields for the user profile. For example, adding a user's team name, gender, age, address, etc
What your plugin seems to do IIUC from my quick trial is to add custom data per user account on issues.
Do you mind providing some context?
What kind of use case do you have in mind exactly with your plugin? what is it exactly that you are trying to achieve by showing custom user data on the issue page? What is the added benefit of associating them with the reporter? why not simply create new fields in the issue form and allow the user to fill in whatever they want (granted if it is the same value every time, you will be asking the user to refill the fields with the same data every time)? I am assuming this for example to add some client_id? or some internal identifiers that you do not want the user to mess with? Perhaps, if that's the case it will be worth clearing up the confusion and adding more details in the main post especially since you posted it in a reply to issue 5278 while in reality, it is not similar at all to what we're discussing there.
As for the plugin itself, there are a lot of warnings thrown
Code: Select all
#view.php
Deprecated functionality: "db_query_bound()", use "db_query()" instead. (in C:\xampp\htdocs\mantis\plugins\Userdata\Userdata.php line 33)
Deprecated functionality: "db_query_bound()", use "db_query()" instead. (in C:\xampp\htdocs\mantis\plugins\Userdata\pages\showdata.php line 36)
Deprecated functionality: "db_query_bound()", use "db_query()" instead. (in C:\xampp\htdocs\mantis\plugins\Userdata\pages\showdata.php line 44)
Deprecated functionality: "helper_alternate_class", use "CSS" instead. (in C:\xampp\htdocs\mantis\plugins\Userdata\pages\showdata.php line 57)
#/plugin.php?page=Userdata/userdata_definition
Deprecated functionality: "db_query_bound()", use "db_query()" instead. (in C:\xampp\htdocs\mantis\plugins\Userdata\pages\userdata_definition.php line 71)
Deprecated functionality: "helper_alternate_class", use "CSS" instead. (in C:\xampp\htdocs\mantis\plugins\Userdata\pages\userdata_definition.php line 76)
#manage_user_edit_page.php?user_id=2
Deprecated functionality: "db_query_bound()", use "db_query()" instead. (in C:\xampp\htdocs\mantis\plugins\Userdata\pages\editdata.php line 34)
Deprecated functionality: "db_query_bound()", use "db_query()" instead. (in C:\xampp\htdocs\mantis\plugins\Userdata\pages\editdata.php line 42)
Deprecated functionality: "helper_alternate_class", use "CSS" instead. (in C:\xampp\htdocs\mantis\plugins\Userdata\pages\editdata.php line 50)