Buddypress XProfile Custom Field Types Reloaded

By SeventhQueen

★ 4.0/5 (1 ratings)40+ active installationsVersion 2.6.7

Extends the default Buddypress XProfile field types you can set for profile. Some XProfile Field types are: Birthdate, Email, Url, Datepicker, Checkbo …

Description

Forked and Compatible with former Buddypress XProfile Custom Fields Type plugin.

This plugin adds more fields type to Buddypress XProfile module. The fields type added are:

  • Birthdate.
  • Email.
  • Web.
  • Datepicker.
  • Custom post type selector.
  • Custom post type multiselector.
  • Checkbox acceptance.
  • Image.
  • File.
  • Colorpicker.
  • Decimal number.
  • Number within min/max values.
  • Custom taxonomy selector.
  • Custom taxonomy multiselector.
  • Range input (slider)
  • Select2 javascript plugin for select boxes.

Works with BP Profile Search. Available on Github. If you need more fields type, you are free to add them yourself or request me at hi@seventhqueen.com

Installation

  1. Upload the plugin to your ‘wp-content/plugins’ directory
  2. Activate the plugin
  3. Go to Users > Profile Fields
  4. Create or Edit a field (default buddypress field Name don’t allow changing type, it will not work here).
  5. In Field Type select, you can see new field’s type.
  6. For select2, you can see a new box below submit button only with selectbox, multiselectbox,
    custom post type selector, custom post type multiselector, custom taxonomy selector and
    custom taxonomy multiselector.
  7. Enjoy!

FAQ

Which field types does BuddyPress have built in?

BuddyPress 14 has these profile field types in core: Text Box, Multi-line Text Area, Date Selector (it can show the time elapsed, for example “30 years ago”, and limit the years), Checkboxes, Drop Down Select Box, Multi Select Box, Radio Buttons, Number, Phone Number, URL, Checkbox Acceptance (BuddyPress 8.0+) and the WordPress name and biography fields. The Email, Image, File, Color, Decimal number, Number within min/max values, Range input, custom post type and custom taxonomy selectors and the Select2 option are only available with this plugin.

Where are image and file uploads saved?

In wp-content/uploads/profiles/<user ID>/. The folder can be changed with the bxcft_upload_dir filter. Allowed types are JPG, GIF and PNG for images and DOC, DOCX and PDF for files (filters bxcft_images_ext_allowed, bxcft_files_ext_allowed), up to 8 MB (filters bxcft_images_max_filesize, bxcft_files_max_filesize).

Changelog

2.6.7 (2026-11-13)

  • Maintenance release, no new features
  • Compatibility with WordPress 7.1, BuddyPress 14 (BP Nouveau and BP Legacy) and PHP 7.4 to 8.5
  • Fixed: PHP 8 fatal error when saving a Birthdate field with a minimum age (profile edit and registration)
  • Fixed: Decimal number, Number within min/max values, Range input, Checkbox acceptance and Custom taxonomy multiselector values were rejected on BuddyPress 7.0+
  • Fixed: saving the profile without choosing a new file emptied the Image and File fields; the previous file is now deleted when it is replaced or removed
  • Fixed: files smaller than 5 KB were ignored
  • Fixed: Select2, color picker and slider scripts did not load on the front-end profile edit screen with BuddyPress 12+
  • Fixed: PHP deprecation notices (BuddyPress 12 URL functions, dynamic properties) and warnings
  • Security: escaped the field values, labels and admin options on output
  • Security: uploads are checked against the allowed file types with WordPress, and only files inside the uploads folder can be deleted
  • Security: the custom post type selectors no longer display the titles of private or draft posts
  • Script versions now follow the plugin version (they were stuck at 2.6.4)

2.6.6

  • Changed field label tag with legend tag to match BuddyPress structure

2.6.5

  • Adding notice in case Buddypress is not activated

2.6.4

  • Fixed vulnerability as described here https://wpvulndb.com/vulnerabilities/9058