History: User Preference Field
Preview of version: 16
Since Tiki >= 2.0
This field allows you to be able to change user preferences value directly from a tracker.
The value of the field will be taken from the user preferences, and if the field is changed the value will be changed. This permits, for example, for a user to change his password in the same screen as the rest of the User Tracker fields.
Parameters
Parameter | Value |
preference | password, email |
About Tiki4.0+, we also have
Parameter | Value |
preference | realName, ... (see below) |
Tiki 6.0+, we also have
have
Parameter | Value |
preference | language |
Configuration
- the tracker must have a user field of type 1 that will give the user name.
- you might need to set Admin Home / Community / User Preferences Screen on (e.g. for realName)
How to find out which preferences can be used?
(the result shown below is from a Tiki5.0Beta1)
Copy to clipboard
mysql> select distinct prefName from tiki_user_preferences order by prefName; +--------------------------+ | prefName | +--------------------------+ | allowMsgs | | country | | diff_versions | | display_timezone | | email is public | | gender | | gmap_defx | | gmap_defy | | gmap_defz | | homePage | | language | | lat | | lon | | mailCharset | | mailCurrentAccount | | mess_archiveAfter | | mess_maxRecords | | mess_sendReadStatus | | minPrio | | mytiki_articles | | mytiki_blogs | | mytiki_forum_replies | | mytiki_forum_topics | | mytiki_gals | | mytiki_items | | mytiki_msgs | | mytiki_pages | | mytiki_tasks | | objectperm_admin_groups | | realName | | show_mouseover_user_info | | tasks_maxRecords | | theme | | ticket | | userbreadCrumb | | user_dbl | | user_information | +--------------------------+ 37 rows in set (0.00 sec)
Note
As of Tiki 16.x, while you can use some field like country and user_information, they show up just as text fields and don't provide a drop down.
Links
- I wanna create custom user preferences
- The old wish log More preference to come in future versions (Full name, avatar, etc) ...
Alias names for this page:
RealName | Real Name | Real Names | Real Names