The fun places are probably populated almost entirely by the young crowd. The HI hostels are probably reliably ok, but sometimes way outside the center of the city. In San Francisco, CA there are several HI hostels and people of all ages can be found there.