Members tabs (Friends and non Friends)

Hello elggers,

I am using members plugin to show members list, and i would like to have only 2 tabs: Friends and Suggested friends. Thanks to this post https://community.elgg.org/discussion/view/1550369/list-of-friends-function-not-working, i could obtain the friends tab, but i don't how to code the other one ( which will only display those who are members but not friends of the user).

Any help will be appreciated.

Thank you.