[buddypress-trac] [BuddyPress Trac] #6356: Filtering the group invites list

buddypress-trac noreply at wordpress.org
Sat Apr 11 20:32:11 UTC 2015


#6356: Filtering the group invites list
--------------------------------+--------------------
 Reporter:  henry.wright        |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  2.3
Component:  Component - Groups  |     Version:  2.2.1
 Severity:  normal              |  Resolution:
 Keywords:                      |
--------------------------------+--------------------

Comment (by henry.wright):

 You could just change the condition from:

 {{{if ( bp_is_active( 'friends' ) && bp_get_total_friend_count(
 bp_loggedin_user_id() ) ) :}}}

 to

 {{{if ( bp_is_active( 'friends' ) && friends_get_friends_invite_list() )
 :}}}

 if {{{friends_get_friends_invite_list()}}} is {{{false}}} then the
 following text will be shown:

     Once you have built up friend connections you will be able to invite
 others to your group.

 But then, it might be worth changing that text to something slightly more
 generic because it doesn't quite make sense for all scenarios.

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


More information about the buddypress-trac mailing list