[buddypress-trac] [BuddyPress Trac] #7304: xProfile Group field

buddypress-trac noreply at wordpress.org
Wed Oct 26 08:48:05 UTC 2016


#7304: xProfile Group field
-------------------------------+------------------
 Reporter:  danbp              |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:
Component:  Extended Profile   |     Version:  2.7
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------

Comment (by danbp):

 No worry! Your second option is the good one @dcavins !
 It solves the question: how to hide/remove a field group tab from front-
 end xprofile edit screen.

 That said, sorry if it sounds picky, this should be disambiguated on the
 codex.

 I'm thinking about the use of {{{$retval['exclude_groups'] = '3';}}} and
 {{{bp_after_has_profile_parse_args filter}}}.

 While using this filter, you can only exclude a field group from the
 public profile view.

 If you want this to happen on the edit screen - which is, IMHO, the place
 where you essentially might use such a scenario - you need to use the
 {{{bp_profile_get_field_groups }}} filter.

 If i understood this ticket correctly, i think it should be
 mentionned/explained for "Profile" templating with bp_parse_args, as it is
 slightly different from ie. "Activities" , who hasn't an edit screen.

 Not really different, but, let's say "incomplete", for this special case
 of "Profile".

 What do you think ?

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


More information about the buddypress-trac mailing list