BuddyPress Xprofile Custom Field Types plugin adds some essential field types to BuddyPress Profile.
The newly added BuddyPress field types are:-
* Checkbox acceptance.
* Country field.
* From/To field(can be used to show 2 numbers or text strings).
* Token (can be used to set a list of predefined approved codes for registration etc).
* oEmbed ( allow your users to use youtube/facebook, vimeo and other oembed supporting urls to embed in their profile).
* Custom post type selector.
* Custom post type multiselector.
* Decimal number.
* Number within min/max values.
* Custom taxonomy selector.
* Custom taxonomy multiselector.
* Range input (slider)
BuddyPress Xprofile Custom Field Types is 100% compatible with BP Profile Search plugin.
At the moment, following fields are searchable using BP Profile Search:-
* Number Min/Max
* Range Input
* Decimal Number
Other fields such as post type, taxonomy etc are not searchable as they are stored in serialized format( due to back compatibility).
The plugin is opensource and currently developed on github. We welcome you to be part of its future development at https://github.com/buddydev/bp-xprofile-custom-field-types.
Discuss the plugin on our release post or view the plugin’s detailed documentation here.
The idea is based on @donmik’s plugin. This plugin is a complete rewrite. Some field type do share code with the original plugin. My guess, we are using 20-30% of the code for field types from the original.
In the future, we hope to add more fields.
Note: This plugin is not 100% backward compatible
It is very easy to migrate. Should take less than 5 minute. If you are looking to move from the older plugin to this one, please read our migration guide.
Note 2: The Custom taxonomy field does not allow you to categorize users. They allow you to let users select some terms and display the terms on their profile.
It is not intended for classifying user
@donmik for the BuddyPress Xprofile Custom Fields Type from where we adopted the field types in our first version.
In the first version, te plugin brought all the profile fields offered by the currently abandoned The “BuddyPress Xprofile Custom Fields Type” plugin.
We love BuddyPress and we have created 100+ BuddyPress plugins.
Please take a look at our
1. Free BuddyPress Plugins
1. Premium BuddyPress plugins
We hope that it will help you take your BuddyPress network to the next level.
BuddyPress Custom development & Maintenance Service
If you need any assistance with setting up or adding new features to BuddyPress or this plugin, Our team is available for hire.
Please use our BuddyPress Development Services for any custom development needs.
- Upload the plugin to your ‘wp-content/plugins’ directory
- Activate the plugin
- Go to Dashboard > Users > Profile Fields
- Create or Edit a field.
- In Field Type select, you can see new field types under the “Custom Fields” group.
- 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.
Can I replace BuddyPress Xprofile Custom Fields Type with this?
Yes, but you will need to follow our migration guide. We have changed the internal architecture and the admin field settings need to be updated.
Is the upgrade from BuddyPress Xprofile Custom Fields Type safe?
Yes, 100%. For better performance, we have changed the way field settings were stored in admin. The user data will be preserved and they won’t notice the difference.
What is the supported BuddyPress Version?
5.0+, Tested with 10.6.0
Where do I get support?
Please use BuddyDev support forums.
Can I hire you for BuddyPress development?
We will love to work with you. Please let us know if you need any of our services.
Contributors & Developers
“BuddyPress Xprofile Custom Field Types” is open source software. The following people have contributed to this plugin.Contributors
“BuddyPress Xprofile Custom Field Types” has been translated into 2 locales. Thank you to the translators for their contributions.
Interested in development?
- Fix issue with Tags type oon PHp 8.0+
- Updated compatibility with BP Profile Search plugin for Country field type. Props @dontdream
- Upgrade note:- If you are using Country field with BP profile search, Please verify that the interface works.
- Added filter ‘bpxcftr_enable_tag_removal_on_view_profile’ to allow enabling/disabling the tag removal from profile view.
- Added Support for Country field when used with BP Profile Search plugin.
- Fixed the selected country not working for country field editing. Props Michal Lan.
- Added the filter ‘bpxcftr_countries_list’ to allow customizing countries list via code.
- Fixed file size notice.
- Added Tags Field Type(allows adding custom tags by user). Development sponsored by a kind gentleman.
- Added support for BuddyBoss Profile search.
- Added country field.
- Added option for admins to choose if web links would open in new window/tab.
- Fixed the issue with From/To value deletion. Thank you @johan_walter
- Fixed web field always using http schema instead of the specified one.
- Fix image/file not getting deleted when a user was deleted or marked spam.
- Fix issue with the default values of from/to field not being shown.
- Add option to select value separator in the from/to field.
- Fix deletion of value of From/To field when using numeric values.
- Prop @johan_walter for the suggestions.
- Fix conflict of bitrhdate settings with date field settings.
- Fix terms checkbox issue in the dashboard.
- Cleanup files/images on user being marked spam or user deletion.
- Added French translations. Props @johan_walter
- Fix script loading on dashboard profile edit page.
- Update to avoid registering our script handles on the pages not relavan to us. Fixes select2 conflict for some.
- Added an action to notify file deletion.
* Update to include select2 full version.
* Pass more data with the age display filter.
- Fix the signup token validation.
- New: Include German translations by Thorsten Wollenhöfer
- New: Added oEmbed field type. allows using facebook, youtube, vimeo and other urls and embed them in BuddyPress user profile.
- New: Token field type. Define a set of codes and ask your users to enter the codes. Could be used to simulate invite only registration.
- Updated: TOS field type to allow adding more html tags and not filtering the attributes like traget etc.
- Fix:- Options loading in admin.
- New:- Add extra label for Age(Birthdate field type). You can use different label for view/edit field name.
- For More, please see our release post.
- Fix a required file/image fields asking to reupload on edit profile, even when user has already added files.
- Tested with WordPress 5.2.1 & BuddyPress 4.3
- Fix a upload error on signup page when a file is not selected.
- 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.
- Enable select2 in dashboard edit profile if enabled.
- Fix a notice.
- 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.
- Fix the signup validation. Thank you Thank you @carsten-lund.
- Add support for BP Profile Search plugin by Andrea.
- Fix the custom post type selection in admin. Thank you @jcdeckard.
- Added From/To field type. Thank you @carsten-lund for the suggestion.
- Added option for birthdate field to show/hide months while showing age.
- Updated text domain to use the plugin slug.
Initial release. Includes all field types supported by the older BuddyPress Xprofile Fields Type plugin.