History: User Preference Field
Preview of version: 18
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 Tiki22)
Copy to clipboard
MariaDB [xxx_tiki22]> select distinct prefName from tiki_user_preferences order by prefName; +------------------------------+ | prefName | +------------------------------+ | admin_recent_prefs | | allowMsgs | | country | | default_calendars | | diff_versions | | display_12hr_clock | | display_timezone | | email is public | | filegals_autoupload | | gender | | 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_features | | objectperm_admin_groups | | perspective_preferred | | pref_filters | | read_language | | realName | | remember_closed_rboxes | | show_mouseover_user_info | | tasks_maxRecords | | user_dbl | | user_information | | userbreadCrumb | | xmpp_custom_server_http_bind | | xmpp_jid | | xmpp_password | +------------------------------+ 44 rows in set (0.007 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