Does passing wind from the anus affect ritual purity?
Ablution is nullified by the passing of wind from the anus, but washing the anus is not required as wind leaves no impurity.
Does wiping over one's socks during ablution permissible?
If the socks were thick, then wiping over them during ablution is permissible so long as wiping conditions are observed. And Allah Knows Best.
What is the ruling on smoking?
All Perfect Praise is due to Allah, The Lord of The Worlds
Smoking is forbidden (Haram) since it is harmful to one`s health as confirmed by trustful physicians, and Islam has forbidden taking anything that causes harm. The Prophet (PBUH) said: "There should be neither harm nor reciprocated harm." [Ibn Majah and Ahmad]. And Allah Knows Best.
Is it true that if a ritually impure, or a menstruating woman visits one who is in confinement, harm will be inflicted on the latter, or her baby?
This is completely wrong and unfounded piece of information.