[buddypress-trac] [BuddyPress Trac] #6347: XProfile fields used for signup should be configurable

buddypress-trac noreply at wordpress.org
Fri Apr 16 05:29:32 UTC 2021


#6347: XProfile fields used for signup should be configurable
------------------------------+------------------------------
 Reporter:  johnjamesjacoby   |       Owner:  johnjamesjacoby
     Type:  enhancement       |      Status:  reopened
 Priority:  high              |   Milestone:  8.0.0
Component:  Extended Profile  |     Version:  1.0
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------------------

Comment (by imath):

 In [changeset:"12885" 12885]:
 {{{
 #!CommitTicketReference repository="" revision="12885"
 Improve the Field/Group APIs to pick selected fields as signup ones

 - Introduce the `bp_xprofile_get_signup_field_ids()` function to get an
 ordered list of field IDs to use as signup fields.
 - Introduce the `bp_xprofile_signup_args()` function to get the signup
 arguments to use into the registration page xProfile loop. If no signup
 fields are available, it falls back to the primary fields group.
 - Introduce the `$signup_fields_only` xProfile loop argument to restrict
 fetched fields to signup ones if set to `true`.
 - Adapt the `BP_XProfile_Data_Template` class to build a unique xProfile
 field group out of any possible field groups containing one or more signup
 fields when the `$signup_fields_only` argument is set to true and
 registration is allowed on the site.
 - Adapt the `BP_XProfile_Field` class to get the possible field's signup
 position and add a new metabox to add a field to signup ones from the
 xProfile Field Administration screen.
 - Adapt the `BP_XProfile_Group` class to ignore non signup fields if the
 `$signup_fields_only` argument is set to true.

 Props johnjamesjacoby, boonebgorges, DJPaul, Offereins

 See #6347
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6347#comment:35>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list