Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #6356, comment 13


Ignore:
Timestamp:
04/11/2015 08:31:27 PM (10 years ago)
Author:
hnla
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6356, comment 13

    initial v1  
    11Right - so that just needs `bp_new_group_invite_friend_list()` adding to the friend count check but there ought to be a more elegant way of performing the check. ( I should have paid more attention to the subnav in SC)
     2
     3As for messages there is  general one that takes into account zero friends return which from this stage in a groups creation is all that could be returned i.e you either have friends or don't, however you have introduced a custom state where types of user come into play. Really that needs accounting for too but we would need to know that was why we were getting a zero return - we need an if friend count == true && invite_friend_list == false then assume the list has been filtered as your friends couldn't already be members of this group at this stage, and post a second message, 'your friends are persona non grata in this group'