Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: BP 1.2 r2238 – Error on Members page if 'Friends' is disabled


featherodd
Participant

@featherodd

@haloid if you want to jump the gun, wrap the elements that are calling “bp_get_total_friend_count” with the following:

<?php if ( function_exists( 'friends_install' ) ) : ?>

{{ li item here }}

<?php endif; ?>

As far as I know, the calls are made in the following places (inside the new default):

/plugins/buddypress/bp-themes/bp-default/activity/index.php

/plugins/buddypress/bp-themes/bp-default/members/index.php

I’m with your brother. Friending is wack for niche networks. Fingers crossed that this is abolished in place more advanced grouping https://buddypress.org/forums/topic/friends-and-groups-for-buddypress-13

UPDATE: I forgot about /group/create.php, which relies heavily on a users “friends” for the invite stage. Lame!!

Skip to toolbar