Moodle Plugins directory: User Field DB: Versions: 1.1.11 | Moodle.org
User Field DB
User profile fields ::: profilefield_database
Maintained by
Eduardo Kraus
This plugin allows Moodle administrators to create user profile fields filled with data from a database table. By using this plugin, administrators can create data tables that students can select from and automatically generate reports in Kopere BI.
User Field DB 1.1.11
Moodle 4.1, 4.2, 4.3, 4.4, 4.5, 5.0, 5.1
Released: دوشنبه، 3 نوامبر 2025، 9:16 PM
Code prechecks
overview
phplint
phpcs103 | 0
js
css1 | 0
phpdoc
savepoint
thirdparty
grunt
shifter
mustache
gherkin
HTML | XMLPlugin User Field DB
This plugin allows Moodle administrators to create user profile fields filled with data from a database table. By using this plugin, administrators can create data tables that students can select from and automatically generate reports in Kopere BI.
Features
- Create user profile fields linked to database tables.
- Define categories of data stored in the database.
- Allow users to select predefined data when editing their profile.
- Facilitate data consistency and minimize entry errors by using database-based options.
Setup
- Go to Site Administration > Users > User profile fields.
- Create a new profile field of type "User Field DB".
- Configure the field by specifying:
- Database table from which data will be extracted.
- Key and value columns to display options.
- Additional conditions to filter the data (optional).
- Save the field and check if it appears in the user profile form.
Usage
- Users will see a dropdown list when editing their profile and will see the data previously set by the administrator.
- Administrators can update the data in the database table to dynamically modify the available options.
Requirements
- Moodle 4.1 or higher.
- Access to configure custom profile fields.
Use Case Examples
- Cost Center: Allows users to select their cost center from a pre-configured list in the database.
- Department Selection: Allows users to select their department from a pre-configured list in the database.
- Branches: Use a database table to maintain a list of branches by region for users to choose from.
- Custom Options: Any scenario where a dynamic list of options is needed in user profiles.
Support
For issues, feature requests, or contributions, open an issue or submit a pull request in this repository.
License
This plugin is licensed under the GNU GPL v3.
Developed by Eduardo Kraus
Version information
- Version build number
- 2025110300
- Version release name
- 1.1.11
- Maturity
- نسخهٔ پایدار
- MD5 Sum
- 41b406616c0f038777410c91136d573c
- Supported software
- Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4, Moodle 4.5, Moodle 5.0, Moodle 5.1
- Latest release for Moodle 4.1
- Latest release for Moodle 4.2
- Latest release for Moodle 4.3
- Latest release for Moodle 4.4
- Latest release for Moodle 4.5
- Latest release for Moodle 5.0
- Latest release for Moodle 5.1
Version control information
- Version control system (VCS)
- GIT
- VCS repository URL
- VCS tag
- 1.1.11
Default installation instructions for plugins of the type User profile fields
- Make sure you have all the required versions.
- Download and unpack the module.
- Place the folder (eg "myfield") in the "user/profile/field" subdirectory.
- Visit http://yoursite.com/admin to finish the installation