Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Apparent Bug in BuddyPress when Friends is disabled.


Slushman
Member

@butimnoexpert

On line 52, replace

with

`<?php if (bp_is_active('friends')) :
echo bp_member_add_friend_button();
endif; ?>`

That keeps the function in there if you ever use Friends again, but takes it out if it’s turned off. Not sure why this isn’t the default way of doing this.

Skip to toolbar