BuddyPress Xprofile Custom Field Types

BuddyPress Xprofile Custom Field Types plugin adds some essential profile field types to BuddyPress. The new BuddyPress custom profile fields allows you to provide more flexibility to your users.

BuddyPress Custom Xprofile Fields:-

  • Birthdate/Age:- Allows users to select a date and show it as age/date.
  • Checkbox Acceptance:- Want to get users consent on something. Use this as the terms box.
  • From/To Value:- Can be used to show 2 number or text strings.
  • Image field:- Let users upload/add images on their profile.
  • File Field:- Allows users to add files to their profile field.
  • Post Type Selector:- Let users select a post and show it on their profile.
  • Multi Post Types Selector:- Lets user select multiple posts and shows it on their BuddyPress Profile.
  • Taxonomy Selector:- Allows users to select a term and show it on their profile.
  • Multi Taxonomy selector:- Allows users to show multiple terms on their profile. Optionally, You can also allow users to create new terms.
  • Email:- Let users add a valid email on the profile.
  • Color:- Let users choose a color and show it.
  • Date selector:- Honestly, you don’t need it. It is for backward compatibility with BuddyPress Xprofile Custom Fields Type plugin.
  • Slider:- Allow users to select values within a range using the range slider.
  • Min Max Xprofile field:- Allows you to force users add a value between the given min/max range.
  • Decimal:- Allow users to select a decimal value.
  • Web:- It is same as BuddyPress URL field.

The current profile field types are similar to the BuddyPress Xprofile Custom Fields Type plugin. If you are upgrading from the non maintained plugin, Please read notes about migration.

In next version, we will be adding more fields. Support for BP Profile search plugin will be around 3.1.




  • Visit to dashboard->Plugins->Add New
  • Search for “BuddyPress Xprofile Custom Field Types”
  • Click Install, and activate it after installation.

Adding New Profile Fields:-

Please visit dashboard->Users->Profile Fields

  • Add New Field
  • Select a field type(from Custom Fields)
  • If the field has options, please update the otpions and save.
  • Have fun or you may want to visit the profile edit section to test it.

Deleting and existing Field:-

  • Visit Dashboard->Users->Profile Fields
  • Delete.

Migrating from BuddyPress Xprofile Custom Fields Type:-

The main noticeable difference for site admins between these plugins is how we store the field preferences. In our version, we are storing the settings in the meta field. The original version(not ours), stored it in the child options which was a bad choice.

In order to migrate:-

  • Make sure to take a backup of your database.
  • Only following field types need to be updated:- Birtdate, Checkbox Acceptance, Slider, Min Max, Post Type, Multi Post Types, Taxonomy, Multi taxonomy, Decimal. All these fields will lose old settings.
  • Visit your profile Fields Screen, and for each of the above field type, Note down the settings.
  • Now either disable or remove the old BuddyPress Xprofile Custom Fields Type plugin and activate ours.
  • Visit the Edit field page in admin for each of the above field type.
  • Update the settings as required.
  • That’s it.

Frequently Asked question:-

How much credit to the original plugin?

For inspiration 95%(or give 100%), for code 30%(I might deduct some more).

How is this plugin better?

I may misguide you, why not enlighten your self by looking at the code. The lights of your IDE should guide you to the right choice.

What did you do to the original plugin’s field type:-

Added some power punch and revived it. They are better, stronger and are here to become your friend(again). Also, I can promise that they are going to live longer now.

Is this a new plugin or just an update of the BuddyPress Xprofile Fields Type:-

At the moment, It is a complete new rewrite and whole new structure. It still keeps the old field types for backward compatibility.

What is the future of this plugin?

Don’t ask me, ask the Oracle. If I have to predict, the future looks promising to me.

Why the fields are same as older plugin:-

It is to provide backward compatibility dear Watson. Will you like your users to get mad at you? I thought otherwise.

Why the migration headache?

A wise mine once said that the pain makes you stronger. In this case, It will make your website stronger and more resilient.

If I migrate, will users data be lost?

Nope.  We do not want you to look bad to your members. After all, if you are using our plugin, you are a part of family(extended may be). No user data will be lost in migration.

What is the minimum php version required:-

PHP 5.3. Anything below it is bad for the health of your site. Also, you should consider upgrading to PHP 7(.1,.2 whatever).

When will you add support for BP Profile search:-

As promised, We have added support for BP Profile Search plugin. BuddyPress Xprofile Custom Field Types 1.0.3 added support for BP Profile Search plugin.

Any other comments:-

Yes. I believe the field types color, datepicker, Web are unnecessary types in this plugin. They are either not that great(someone should make  BuddyPress great again) or have better alternative in BuddyPress core. Also, if there is anything good in this plugin, I will gladly take all the credit. If there is something bad, let us find someone else to blame.

Where do I get support:-

If you can, buy a membership and use our premium forums. If you can’t, no problem. Use our community forums.

Release History

  • Version: 1.0.7

    Friday, 01 March, 2019
    • Tested With: BuddyPress 4.2
    • Compatible With: BuddyPress 2.9+

    Fix a bug with multi post type selector.
    Fix upload issue in dashboard profile update screen. Thank you @laudag.
    Fix the loading of locale file for select2 js.

  • Version: 1.0.6

    Monday, 05 November, 2018
    • Tested With: BuddyPress 3.2
    • Compatible With: BuddyPress 2.9+

    Update select2 js library to latest stable version(1.0.6)
    Enable select2 on dashboard edit profile page if enabled.
    Fix a notice.

  • Version: 1.0.5

    Thursday, 06 September, 2018
    • Tested With: BuddyPress 3.1
    • Compatible With: BuddyPress 2.9+

    * Fix the date format for birthdate checking. Now it validates correctly(Earlier only year and month was significant).
    * Fix a validation issue with registration page when birthdate is not selected correctly and min age is required.
    * Improve from/to field display filter.
    * Fix translation for the birthdate field.

  • Version: 1.0.4

    Sunday, 01 July, 2018
    • Tested With: BuddyPress 3.1
    • Compatible With: BuddyPress 2.9+

    Fix signup validation

  • Version: 1.0.3

    Sunday, 10 June, 2018
    • Tested With: BuddyPress 3.1
    • Compatible With: BuddyPress 2.9+

    Added support for BuddyPress Profile Search plugin.

  • Version: 1.0.2

    Wednesday, 06 June, 2018
    • Tested With: BuddyPress 3.1
    • Compatible With: BuddyPress 2.9+

    Fixed the admin selection of custom post type

  • Version: 1.0.1

    Monday, 04 June, 2018
    • Tested With: BuddyPress 3.0
    • Compatible With: BuddyPress 2.9+

    - Added From/To field type.
    - Added option to show hide months with Birthdate field while showing age
    - Fixed textdomains to the plugin slug.

  • Version: 1.0.0

    Monday, 28 May, 2018
    • Tested With: BuddyPress 3.0
    • Compatible With: BuddyPress 2.9+

    Initial release.