Well, binary stars may not a high percentage of planets.
But if the planets are close enough to one of the stars or far enough away from both of them, then their orbits will be stable. That's about 1/3 of their separation for orbiting one planet (S type) and 3 times the separation for orbiting both (P type, circumbinary, "Tatooine"). Nevertheless, in between those stable zones is likely to be a big cleared-out region with only transient objects like comets in it.
Some multiple-star systems are indeed known to have planets, and these planets are present in both kinds of locations.
Same for stars in clusters.
Most star clusters are not dense enough for their stars to pose much of a threat to each others' planets.
One can estimate in a hand-waving sort of way how much density a cluster must have to have before its stars are much of a threat to each others' planets.
One uses a common way of analyzing gases and the like: finding the mean free path of a star between planetary-system-disrupting interactions and then the time needed to travel that path.
(mean free path) = 1 / ( (number density) * (interaction cross section) )
The interaction cross section for disruption I will take to be about 1 AU
2. The worst case for number density of stars in a cluster is in the center of a globular cluster or a galactic core, and that is 1000 per cubic parsec, or 10
-13 AU
-3. This gives a distance of 10
13 AU or 5*10
7 parsecs to travel before disrupting a planetary. Using 100 km/s for a relative velocity (relatively high for solar-neighborhood relative velocities, but low for orbital velocities), I find that it is 100 parsecs per million years or 10
5 parsecs per billion years. Thus, in the worst case, it would be about 500 billion years before a planetary system gets disrupted by a close encounter of the stellar kind.