The influence of environment on outer rings and pseudo-rings in galaxies