# This file could be either user_fields.dat or user_fields.default.
# You should only modify user_fields.dat. user_fields.default is replaced during upgrades
# to ensure that any new fields added for new versions will have valid values.
# Any values specified in user_fields.dat override values specified in user_fields.default.

# For changing what user fields are and what is required etc.
# After changing anything in here, must do a ini-file reload command (eg dbabblesvr -reload)
# See end of file for a few examples
# If you upgrade your server, then the file user_fields.dat is left unchanged,
# but user_fields.eg is replaced (so that you can see what new options (if any) are available
# Custom field values are not available to users on other servers
# You can't change what the select options for some fields are (eg gender, user-details visible to , accept messages from)

# Each field is specifed of the form
# field_name xxxx
# field_help yyyy
# field usage change type order [default[,option1,[option2...]]]

# where 
# usage is 0 (Not Used), 1 (Optional), or  2 (Required)
# change is 0 (User can change), 1 (Admin can change), 2 (no-one can chage), 3 (user can set when creating their account, but only admin can change later)
# type is 0 (Normal field), 1 (Select a value from an option list)
# order is 0-999 representing order in which fields appear. Lower numbered fields appear first.
# default is default value for the field (optional)
# optionx is option available for the option list (if usage is required, then user must choose something other than the first option)

user_name User Name
user_help Name used to login
user 2 2 0 0

pass_name Password
pass_help Password used to login
pass 2 0 0 0

name_name Full Name
name_help Your full name
name 1 0 0 4

display_name Display Name
display_help The name that others users see you as (nickname)
display 2 0 0 0

email_name Email Address
email_help Your email address
email 1 0 0 5

hello_name Keywords/Interests
hello_help A list of interests or anything you want other users to see
hello 1 0 0 60

country_name Country
country_help Your country of residence
country 1 0 0 12

city_name City
city_help Your city of residence
city 1 0 0 10

permissions_name Permission Group
permissions_help The permission group that your permissions are taken from. If specified, all other permission values take on the permissions of this permission group
permissions 1 1 1 0

quota_name Message Quota
quota_help The amount of disk-space you are allowed for storing of messages
quota 1 1 0 1

phone_name Phone Number (work)
phone_help 
phone 0 0 0 12

fax_name FAX Number
fax_help 
fax 0 0 0 13

address_name Address
address_help 
address 0 0 0 9

state_name State
state_help Your state of residence within your country
state 0 0 0 11

zip_code_name Zip Code
zip_code help
zip_code 0 0 0 0

email_home_name Email Address (home)
email_home_help
email_home 0 0 0 0

phone_home_name Phone Number (home)
phone_home_help
phone_home 0 0 0 100

fax_home_name FAX Home (home)
fax_home_help
fax_home 0 0 0 100

language_name Language
language_help The language that all text is displayed to you in
language 1 0 1 1
# language is a special field. It always appears as an option list of values specified in the dbabblesvr.ini setting "languages", but is only visible to the user if more than 1 language is available.

custom0_name Custom Field 0
custom0_help Whatever you want
custom0 0 0 0 100

custom1_name Custom Field 1
custom1_help Whatever you want
custom1 0 0 0 100

custom9_name Phone Number (mobile)
custom9_help
custom9 0 0 0 13

birthday_name Birthday
birthday_help Date and year of birth
birthday 1 0 0 21

gender_name Gender
gender_help
gender 1 0 1 20

details_visible_name User Details Visible To
details_visible_help Specifies which users are allowed to view your user details
details_visible 1 0 1 2 0

messages_from_name Accept Messages From
messages_from_help Specifies which users are allowed to send messages and talk requests to you
messages_from 1 0 1 3 0

f_create_chats_name Create Chat Rooms
f_create_chats_help Able to create chat rooms
f_create_chats 1 1 0 1

f_create_groups_name Create Discussions
f_create_groups_help Able to create discussion groups
f_create_groups 1 1 0 1

f_root_name Administrator Permissions
f_root_help Able to perform any server administrator functions
f_root 1 1 0 200

f_broadcast_name Broadcast Messages
f_broadcast_help Able to broadcast instant messages to all users
f_broadcast 1 1 0 1

f_create_global_chats_name Create Global Chat Rooms
f_create_global_chats_help Able to create chat rooms that are accessible from other servers linked to this one
f_create_global_chats 1 1 0 2

f_create_global_groups_name Create Global Discussions
f_create_global_groups_help Able to create discussion groups that are accessible from other servers linked to this one
f_create_global_groups 1 1 0 2

f_can_modify_account_name Modify Account Details
f_can_modify_account_help Able to modify your own accounts details - for example your display name and birthday.
f_can_modify_account 1 1 0 1

f_local_visible_name Only Visible To Local Users
f_local_visible_help If set, then only local users are able to find you
f_local_visible 1 0 0 3

f_banned_name Banned
f_banned_help
f_banned 1 1 0 1

f_create_ugroups_name Create User Groups
f_create_ugroups_help Create User groups
f_create_ugroups 1 1 0 2 1

f_ugroups_others_find_name Create Non-Personal User Groups
f_ugroups_others_find_help Create user groups that other members can find
f_ugroups_others_find 1 1 0 2 1

f_ugroups_all_others_find_name Create Public User Groups
f_ugroups_all_others_find_help Create user groups that all other users can find
f_ugroups_all_others_find 1 1 0 2 0

f_ugroups_others_see_name Show User Groups To Others
f_ugroups_others_see_help Make user groups appear in other users lists
f_ugroups_others_see 1 1 0 2 0

f_is_exempt_name Exempt from Footers
f_is_exempt_help Exempt from having the standard footers added to discussion articles read and posted
f_is_exempt 1 1 0 2 0

f_delete_articles_name Can Delete and Moderate All Articles
f_delete_articles_help Can delete and moderate discussion group articles from every discussion group
f_delete_articles 1 1 0 2 0

f_prevent_posting_name Prevented From Posting to Discussions
f_prevent_posting_help Can not post articles to any discussion groups
f_prevent_posting 1 1 0 2 0

f_modify_every_group_name Can Modify Every Group
f_modify_every_group_help Can modify the properties of every chat and discussion group
f_modify_every_group 1 1 0 2 0

f_modify_every_group_users_name Can Modify Every Group Members
f_modify_every_group_users_help Can modify the members of every chat and discussion group
f_modify_every_group_users 1 1 0 2 0

f_invite_create_accounts_name Can Invite Users
f_invite_create_accounts_help Can invite users to join and create accounts for them
f_invite_create_accounts 1 1 0 2 0

f_disable_jabber_name Disable Using ICQ, MSN, etc
f_disable_jabber_help Disable communication with ICQ, MSN, etc users.
f_disable_jabber 1 1 0 2 0

f_disable_chat_rooms_name Disable use of chat rooms
f_disable_chat_rooms_help
f_disable_chat_rooms 1 1 0 2 0

f_disable_discussions_name Disable use of discussion groups
f_disable_discussions_help
f_disable_discussions 1 1 0 2 0

f_disable_user_groups_name Disable use of user groups
f_disable_user_groups_help
f_disable_user_groups 1 1 0 2 0

f_disable_instant_messages_name Disable user of instant messages
f_disable_instant_messages_help
f_disable_instant_messages 1 1 0 2 0

f_disable_todo_feature_name Disable use of the todo feature
f_disable_todo_feature_help
f_disable_todo_feature 1 1 0 2 0



# Now for some examples:
# uncomment the first line to make it active

# Example 1:
# country 2 0 1 12 Select Your Country,Select Your Country,USA,New Zealand
# make it a select option (1)
# Default option is "Select Your Country"
# Options available are Select Your Country,USA,New Zealand.
# Since it is required(2), first option will result in user being told to select a value

# Example 2:
# country 1 0 1 12 USA,Australia,New Zealand,USA
# Make the country default to USA, but user can change it.

# Example 3:
# messages_from 1 0 1 2 3
# The user can choose who they accept messages from, 
# but it defaults to option 3 (Local Users)

# Example 4:
# f_local_visible 1 1 0 0 1
# Default users to only being locally visible, and only admin can change this setting


