Thanks for the answer, but I want also privacy, if the user decides so, when a user is locked in and no friend.
Is it possible to protect group/event/activity-pages the same way as the Member-Profile? If the User decided to show his activities only to friends, that only friends see them, although the group is public.