Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,005
- How-to & Troubleshooting
- 129,527
- Creating & Extending
- 25,791
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,782
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,170
-
@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