Skip to:

Opened 9 years ago

Last modified 3 years ago

#6071 reopened enhancement

XProfile superfield

Reported by: sooskriszta's profile sooskriszta Owned by:
Milestone: Awaiting Contributions Priority: normal
Severity: normal Version:
Component: Extended Profile Keywords: trac-tidy-2018
Cc: sooskriszta


It would be good to have a replicable capsule of a superfield.

e.g. If like popular social networks, a BuddyPress-powered community wants its members to provide details of education or employment, they should be able to create a set of fields (e.g. from date, to date, employer name, job title) that the members can replicate over and over (say by clicking a button "add another job") if they need/want to to provide their education/employment history.

Attachments (8)

Superfield-Admin-Replicable.png (31.0 KB) - added by sooskriszta 9 years ago.
Superfield-Admin-Replicable-Example.png (31.5 KB) - added by sooskriszta 9 years ago.
Superfield-Frontend-Replicable-Example-1.png (15.5 KB) - added by sooskriszta 9 years ago.
Superfield-Frontend-Replicable-Example-2.png (16.9 KB) - added by sooskriszta 9 years ago.
Superfield-Admin-Multifield.png (32.9 KB) - added by sooskriszta 9 years ago.
Superfield-Admin-Multifield-Example.png (42.4 KB) - added by sooskriszta 9 years ago.
Superfield-Frontend-Multifield-Example.png (16.7 KB) - added by sooskriszta 9 years ago.
Superfield-Frontend-Multifield-Example.2.png (17.1 KB) - added by sooskriszta 9 years ago.

Download all attachments as: .zip

Change History (21)

#1 @imath
9 years ago

imho, if the only use case is using the profile fields as a resume, then a BuddyPress plugin might be a better solution than modifying core.

#2 @boonebgorges
9 years ago

I think the suggestion here can be broken out into three items:

  1. that BP support "multiplying" profile fields, those where you hit a little + to add another text field. So, for example, you could enter as many 'Favorite Colors' as you like.
  2. that BP support grouped fields
  3. that BP support groupied fields that are "multiplying"

I think 1 is definitely something we can look into. Let's look at how some form builder plugins do it for inspiration.

I'm not opposed to 2, but it's harder to envision how the UX would work. Again, form building plugins might be a good place to look.

If we can do 1 and 2, then 3 should follow pretty easily. 1 and 2 are the hard parts.

This ticket was mentioned in Slack in #buddypress by oc2ps. View the logs.

9 years ago

#4 @DJPaul
9 years ago

  • Milestone changed from Awaiting Review to Future Release

#5 @johnjamesjacoby
9 years ago

I like the ideas proposed here.

Because of the way XProfile field data is currently stored, I'm not highly confident how exactly we would store the information for user-definable multi-fields. Maybe in bp_xprofile_meta linking the field_id to an object_id & object_type with a meta_key that helps identify each sub-field and its value? The problem with this approach is those values not appearing in search results unless we somehow combine them into bp_xprofile_data's value column.

I agree with Boone's assessment that once we are satisfied with where to store the data and how to introduce the UI elements (both in wp-admin and in bp-legacy) that everything kinda would/should/could fall into place pretty quickly.

This ticket was mentioned in Slack in #buddypress by oc2ps. View the logs.

8 years ago

#7 @boonebgorges
8 years ago

Related: #6789. If we started storing things like checkbox and multiselect fields in separate rows in wp_bp_xprofile_data, we could use the same technique here.

#8 @DJPaul
6 years ago

  • Keywords trac-tidy-2018 added

We're closing this ticket because it has not received any contribution or comments for at least two years. We have decided that it is better to close tickets that are good ideas, which have not gotten (or are unlikely to get) contributions, rather than keep things open indefinitely. This will help us share a more realistic roadmap for BuddyPress with you.

Everyone very much appreciates the time and effort that you spent sharing your idea with us. On behalf of the entire BuddyPress team, thank you.

If you feel strongly that this enhancement should still be added to BuddyPress, and you are able to contribute effort towards it, we encourage you to re-open the ticket, or start a discussion about it in our Slack channel. Please consider that time has proven that good ideas without contributions do not get built.

For more information, see
or find us on Slack, in the #buddypress channel:

#9 @DJPaul
6 years ago

  • Milestone Awaiting Contributions deleted
  • Resolution set to maybelater
  • Status changed from new to closed

#10 @sooskriszta
3 years ago

  • Resolution maybelater deleted
  • Status changed from closed to reopened

Perhaps deserves another look, now that xprofile fields have been reworked?

#11 @imath
3 years ago

  • Milestone set to 8.0.0

I agree it's inspiring.

I believe we could start by making it easier to do Superfield-Frontend-Replicable-Example-2.png and what about conditional fields ?

This ticket was mentioned in Slack in #buddypress by vapvarun. View the logs.

3 years ago

#13 @imath
3 years ago

  • Milestone changed from 8.0.0 to Awaiting Contributions

We need more time to progress on this.

Note: See TracTickets for help on using tickets.