Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,866
- How-to & Troubleshooting
- 128,922
- Creating & Extending
- 25,745
- Requests & Feedback
- 9,448
- Third Party Plugins
- 9,773
- Showcase
- 3,317
- Ideas
- 1,390
- Miscellaneous
- 9,140
-
@gregfielding Yes, you can do that. I’m not sure if this is the best way (definitely open to more input!) but where you see this:
function my_is_friend_check( $friend_id = false) {
global $bp;
if ( is_site_admin() )
return true;
if ( !is_user_logged_in() )
return false;
Change that last part to:
if ( !is_user_logged_in() )
return true;
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS