-
@mercime replied to the topic Display recent user who viewed my profile in the forum How-to & Troubleshooting 10 years, 3 months ago
-
Henry Wright replied to the topic How to make a custom add friend link in buddypress in the forum Installing BuddyPress 10 years, 3 months ago
Hi @jaybee08
Building the link isn’t straightforward because there are a number of cases to consider. To take all of the conditions into account it is necessary to use a switch statement like this:
$is_friend = bp_is_friend( $potential_friend_id );
if ( empty( $is_friend ) )
return false;switch ( $is_friend ) {
case 'pending' :…[Read more] -
@mercime replied to the topic [Resolved] Error after clicking sign up button in the forum How-to & Troubleshooting 10 years, 3 months ago
@jaybee08 have you done some basic troubleshooting like changing to Twenty Fourteen theme and deactivating all plugins except BuddyPress?
@jaybee08
Active 7 years, 10 months ago