Development:Customisable user profiles: Difference between revisions
From MoodleDocs
Line 13: | Line 13: | ||
=== Splitting the current user table === | === Splitting the current user table === | ||
The following fields will be moved from the | The following fields will be moved from the '''user''' table and placed in a category named '''optional''' | ||
*icq | *icq | ||
*skype | *skype | ||
Line 25: | Line 25: | ||
*address | *address | ||
*url | *url | ||
The remaining fields will remain hardcoded in the user profile form. | |||
== Admin's Interface == | == Admin's Interface == |
Revision as of 02:01, 22 December 2006
Overview
The main goal is to allow administrators to add/edit user profile fields. These fields may also be categorised, ordered, locked, hidden.
Database Changes
New tables
There are 3 new tables:
- user_info_field
- user_info_category
- user_info_data
Splitting the current user table
The following fields will be moved from the user table and placed in a category named optional
- icq
- skype
- yahoo
- aim
- msn
- phone1
- phone2
- institution
- department
- address
- url
The remaining fields will remain hardcoded in the user profile form.
Admin's Interface
Various field flags
Adding/Editing fields
User's Interface
User profile page
Signup page
See also
- Using Moodle Should I hack the mdl_user table, or add my own? forum discussion