Re: How to print all user profiles
You aren’t inside a function so there’s no need to globalise $bbdb.
This will get you every user (including all meta) into the array $users:
$user_ids = $bbdb->get_col( "SELECT ID FROM $bbdb->users WHERE user_status = 0 ORDER BY id;", 0 );
$users = bb_get_user( $user_ids );
print_r( $users );