• No results found

Adding a New Custom Profile Field Back to Top

In document Manual vBulletin Version 4.1.4 (Page 163-168)

Single-Line Text Box

Back to Top

Field Editable by User - If disabled, this field will not appear to user when they edit their profile. Only at registration allows the user to only edit this field at registration or if the field is blank and set to be required.

Private Field - This field will only be visible to other users who have usergroup permission to view private profile fields.

Field Searchable on Members List - If enabled, this field is searchable via the Advanced Member's Search. If this field is hidden, then only Admins and Moderators will be able to search on this field.

Show on Members List - If enabled, field will appear on the member's list and if it is hidden only Administrators and Moderators will see it.

Regular Expression - Expressions allow you to filter the data you allow the user to input in the field. Regex can be rather complicated so ask for assistance if you have trouble getting this to work properly. For example, the following regex would only accept a number in the range of 1 to 50:

The following regex would only accept a 7 or 8 digit number:

Title - The name of your profile field.

Description - Explain to the member what you want them to answer in this field.

Default Value - If the member doesn't change this field, then this will be the value stored in their profile.

Max length of allowed user input - The maximum number of characters that the member will be allowed to input.

Field Length - The HTML width of the input box on the screen.

Text Area Height - Sets how many line tall the box is.

Display Order - The order of the field in relation to any other custom profile fields.

Field Required - You can require the user to answer this field at registration. If you add it after the user registers, then they will need to answer it before they can update their profile. If set to Yes, always then the user will be forced to complete this field before doing anything else on the forum. If you wish to display this field at registration but not have it required, select No, but display at registration.

^([1-9]$|[1-4][0-9]|50)$

^([0-9]{7,8})$

Multiple-Line Text Box

Back to Top

Field Editable by User - If disabled, this field will not appear to user when they edit their profile. Only at registration allows the user to only edit this field at registration or if the field is blank and set to be required.

Private Field - This field will only be visible to other users who have usergroup permission to view private profile fields.

Field Searchable on Members List - If enabled, this field is search able via the Advanced Member's Search. If this field is hidden, then only Admins and Moderators will be able to search on this field.

Regular Expression - Expressions allow you to filter the data you allow the user to input in the field. Regex can be rather complicated so ask for assistance if you have trouble getting this to work properly. For example, the following regex would only accept a number in the range of 1 to 50:

The following regex would only accept a 7 or 8 digit number:

Note:

^([1-9]|[1-4][0-9]|50)$

^([0-9]{7,8})$

Multiple-Line Text box fields can not be listed on the memberlist.

Single-Selection Radio Buttons

Back to Top

Title - The name of your profile field.

Description - Explain to the member what you want them to answer in this field.

Items Per Line - This is the number of radio buttons that will appear on one line in the user's browser. Set to 0 to have all of the choices appear on one line.

Options - Enter each of the options that the user can choose from. You need to enter each option on its own line.

Set Default - If this is set to <Yes> then the first option from above will be chose by default when the user registers.

Display Order - The order of the field in relation to any other custom profile fields.

Field Required - You can require the user to answer this field at registration. If you add it after the user registers, then they will need to answer it before they can update their profile. If set to Yes, always then the user will be forced to complete this field before doing anything else on the forum. If you wish to display this field at registration but not have it required, select No, but display at registration.

Field Editable by User - If disabled, this field will not appear to user when they edit their profile. Only at registration allows the user to only edit this field at registration or if the field is blank and set to be required.

Private Field - This field will only be visible to other users who have usergroup permission to view private profile fields.

Field Searchable on Members List - If enabled, this field is searchable via the Advanced Member's Search. If this field is hidden, then only Admins and Moderators will be able to search on this field.

Show on Members List - If enabled, field will appear on the member's list and if it is hidden only Administrators and Moderators will see it.

If you would like to also allow the choose the option of entering their own choice in addition to choosing one your yours, set Allow user to input their own value for this option to <Yes>.

Max length of allowed user input - The maximum number of characters that the member will be allowed to input.

Field Length - The HTML width of the input box on the screen.

Regular Expression - Expressions allow you to filter the data you allow the user to input in the field. Regex can be rather complicated so ask for assistance if you have trouble getting this to work properly. For example, the following regex would only accept a number in the range of 1 to 50:

^([1-9]$|[1-4][0-9]|50)$

The following regex would only accept a 7 or 8 digit number:

^([0-9]{7,8})$

Title - The name of your profile field.

Description - Explain to the member what you want them to answer in this field.

Options - Enter each of the options that the user can choose from. You need to enter each option on its own line.

Set Default - There are three options:

z None - The selected option will be a blank field. If you require this field, this will force the user to make a choice.

z Yes, Including a First Blank Option - This sets the first option above as selected but also creates a blank option allowing the user to choose nothing if this field isn't required.

z Yes, but No First Blank Option - This also sets the first option above as selected but doesn't allow the user to choose a nothing since their is no empty option to choose from.

Display Order - The order of the field in relation to any other custom profile fields.

Field Required - You can require the user to answer this field at registration. If you add it after the user registers, then they will need to answer it before they can update their profile. If set to Yes, always then the user will be forced to complete this field before doing anything else on the forum. If you wish to display this field at registration but not have it required, select No, but display at registration.

Single-Selection Menu

Back to Top

Field Editable by User - If disabled, this field will not appear to user when they edit their profile. Only at registration allows the user to only edit this field at registration or if the field is blank and set to be required.

Private Field - This field will only be visible to other users who have usergroup permission to view private profile fields.

Field Searchable on Members List - If enabled, this field is searchable via the Advanced Member's Search. If this field is hidden, then only Admins and Moderators will be able to search on this field.

Show on Members List - If enabled, field will appear on the member's list and if it is hidden only Administrators and Moderators will see it.

If you would like to also allow the choose the option of entering their own choice in addition to choosing one your yours, set Allow user to input their own value for this option to <Yes>.

Max length of allowed user input - The maximum number of characters that the member will be allowed to input.

Field Length - The HTML width of the input box on the screen.

Regular Expression - Expressions allow you to filter the data you allow the user to input in the field. Regex can be rather complicated so ask for assistance if you have trouble getting this to work properly. For example, the following regex would only accept a number in the range of 1 to 50:

The following regex would only accept a 7 or 8 digit number:

^([1-9]|[1-4][0-9]|50)$

^([0-9]{7,8})$

Title - The name of your profile field.

Description - Explain to the member what you want them to answer in this field.

Limit Selection - Limits the number of choices that the user may make. If you want to allow them to select all of the choices you offer, set this to 0.

Box Height - Sets how many of the choices to display on the screen. If this number is smaller than the number of choices than the the first X choices will be shown with the rest accessible to the user by scrolling.

Options - Enter each of the options that the user can choose from. You need to enter each option on its own line. You can enter a maximum of 32 options.

Display Order - The order of the field in relation to any other custom profile fields.

Field Required - You can require the user to answer this field at registration. If you add it after the user registers, then they will need to answer it before they can update their profile. If set to Yes, always then the user will be forced to complete this field before doing anything else on the forum. If you wish to display this field at registration but not have it required, select No, but display at registration.

Multiple-Selection Menu

Back to Top

Field Editable by User - If disabled, this field will not appear to user when they edit their profile. Only at registration allows the user to only edit this field at registration or if the field is blank and set to be required.

Private Field - This field will only be visible to other users who have usergroup permission to view private profile fields.

Field Searchable on Members List - If enabled, this field is searchable via the Advanced Member's Search. If this field is hidden, then only Admins and Moderators will be able to search on this field.

Show on Members List - If enabled, field will appear on the member's list and if it is hidden only Administrators and Moderators will see it.

Multiple-Selection Checkbox

Back to Top

Title - The name of your profile field.

Description - Explain to the member what you want them to answer in this field.

Limit Selection - Limits the number of choices that the user may make. If you want to allow them to select all of the choices you offer, set this to 0.

Items Per Line - Sets how many of the choices to display on one line.

Options - Enter each of the options that the user can choose from. You need to enter each option on its own line. You can enter a maximum of 32 options.

Display Order - The order of the field in relation to any other custom profile fields.

Field Required - You can require the user to answer this field at registration. If you add it after the user registers, then they will need to answer it before they can update their profile. If set to Yes, always then the user will be forced to complete this field before doing anything else on the forum. If you wish to display this field at registration but not have it required, select No, but display at registration.

Field Editable by User - If disabled, this field will not appear to user when they edit their profile. Only at registration allows the user to only edit this field at registration or if the field is blank and set to be required.

Private Field - This field will only be visible to other users who have usergroup permission to view private profile fields.

Field Searchable on Members List - If enabled, this field is searchable via the Advanced Member's Search. If this field is hidden, then only Admins and Moderators will be able to search on this field.

Show on Members List - If enabled, field will appear on the member's list and if it is hidden only Administrators and Moderators will see it.

Editing a profile field follows the same procedures as adding a profile field. Navigate to User Profile Fields->User Profile Field Manager and select <Edit> next to the field you wish to edit.

There are a few points that you must consider when modifying an existing custom profile field.

The first is that profile fields are limited in what other field types that they can be converted to.

z Single-Line Text box can be converted to a Multiple-Line Text box and vice versa

z Multi-Selection Checkbox can be converted to a Multi-Selection Menu and Vice Versa Any other conversions are not supported.

Secondly, a special form is required when modifying the user choices in the two Multi-Selection fields.

In document Manual vBulletin Version 4.1.4 (Page 163-168)