As you may have heard, stars move. The only reason we cannot see this is because they are so far away, and it takes so long to make a difference. Currently, the closest star to us is Proxima Centauri, which is part of the Alpha Centauri grouping. It is 4.2 light years away, and if you think that is attractive for an interstellar voyage, just wait a bit. In 28,700 years it will be a whole light year closer. That is a clear saving in travelling time, especially if you do not travel close to light speed.
However, there have been closer encounters. Sholz’s star, which is a binary; a squib of a red dwarf plus a brown dwarf, came within 0.82 light years 78,000 years ago. Our stone age ancestors would probably have been unaware of it, because it is so dim that even when that close it was still a hundred times too dim to be seen by the naked eye. There is one possible exception to that: occasionally red dwarfs periodically emit extremely bright flares, so maybe they would see a star appear from nowhere, then gradually disappear. Such an event might go down in their stories, particularly if something dramatic happened. There is one further possible downside for our ancestors: although it is unclear whether such a squib of a star was big enough, it might have exerted a gravitational effect on the Oort cloud, thus generating a flux of comets coming inwards. That might have been the dramatic event.
That star was too small to do anything to disrupt our solar system, but it is possible that much closer encounters in other solar systems could cause all sorts of chaos, including stealing a planet, or having one stolen. They could certainly disrupt a solar system, and it is possible that some of the so-called star-burning giants were formed in the expected places and were dislodged inwards by such a star. That happens when the dislodged entity has a very elliptical orbit that takes it closer to the star where tidal effects with the star circularise it. That did not happen in our solar system. Of course, it does not take a passing star to do that; if the planets get too big and too close their gravity can do it.
It is possible that a modestly close encounter with a star did have an effect on the outer Kuiper Belt, where objects like Eris seem to be obvious Kuiper Belt Objects, but they are rather far out and have very elliptical orbits. It would be expected that would arise from one or more significant gravitational interactions.
The question then is, if a star passed closely should people take advantage and colonise the new system? Alternatively, would life forms there have the same idea if they were technically advanced? Since if you had the technology to do this, presumably you would also have the technology to know what was there. It is not as if you do not get warning. For example, if you are around in 1.4 million years, Gliese 710 will pass within 10,000 AU of the sun, well within the so-called Oort Cloud. Gliese 710 is about 60% the mass of the sun, which means its gravity could really stir up the comets in the Oort cloud, and our star will do exactly the same for the corresponding cloud of comets in their system. In a really close encounter it is not within the bounds of possibility that planetary bodies could be exchanged. If they were, the exchange would almost certainly lead to a very elliptical orbit, and probably at a great distance. You may have heard of the possibility of a “Planet 9” that is at a considerable distance but with an elliptical orbit has caused highly elliptical orbits in some trans Neptunian objects. Either the planet, if it exists at all, or the elliptical nature of the orbits of bodies like Sedna, could well have arisen from a previous close stellar encounter.
As far as I know, we have not detected planets around this star. That does not mean there are not any because if we do not lie on the equatorial plane of that star we would not see much from eclipsing observations (and remember Kepler only looks at a very small section of the sky, and Gliese 710 is not in the original area examined) and at that distance, any astronomer with our technology there would not see us. Which raises the question, if there were planets there, would we want to swap systems? If you accept the mechanism of how planets form in my ebook “Planetary Formation and Biogenesis”, and if the rates of accretion, after adjusting for stellar mass for both were the same, then any rocky planet in the habitable zone is likely to be the Mars equivalent. It would be much warmer and it may well be much bigger than our Mars, but it would not have plate tectonics because its composition would not permit eclogite to form, which is necessary for pull subduction. With that knowledge, would you go?