2
in XOOPS 2.2.x, this is managed by profile params in xoops_version.php,
for example:
$modversion['profile']['field'][] = array(
'name' => 'vip',
'title' => 'USER VIP',
'description' => '',
'type' => 'textbox',
'valuetype' => XOBJ_DTYPE_INT,
'maxlength' => 3,
'default' => 0,
'show' => 1,
'edit' => 0,
'required' => 0,
'config' => 1,
);