San Jose is only about an hour (in good traffic) from The City. There are a myriad of clubs and bars to hit up, both in San Jose proper and in the outlying regions. The best beaches lie southwest over Hwy 17 in Santa Cruz. If nude beaches are your thing
, there are several along Hwy 1 to the north. I personally don't care for them - too many trolls
The City has, obviously, The Castro, which is the north end of Market. It can get overwhelming, but it's fun. There is the Lone Star, the Lookout, the Fargo, and a whole slew of other clubs. The first 2 are frequented by San Francisco's very own Fog Rugby Team - a great group of guys and gals who often hold beer busts and events to raise money for the team and charity.
There's also Booty SF - the bay area's mash-up dance party. Music is awesome and the bodies even better
Too bad you'll miss SF Pride by a week. It's a...unique...experience
Let me know if you want me to garner other resources. I have a couple friends who enjoy the area and can direct you to more specific venues.