What is the ruling on ablution if vaginal discharge is expelled, and is it impure?
If these discharges exit from the external genitalia (apparent part of the vagina), they are not impure and do not invalidate ablution. If they exit from the internal part, they are impure and do invalidate ablution. If it is uncertain whether they are from the internal or external part, they are not impure and do not invalidate ablution.
The apparent part is what becomes visible when sitting, and what the husband's penis reaches during intercourse is considered part of the apparent. The internal part is what is beyond that. And Allah the Almighty knows best.
Is wearing a cap permissible for boys, or girls?
All Perfect Praise is due to Allah, The Lord of The Worlds.
In principle, anything is permissible sol long as there is no Sharia evidence prohibiting it, thus wearing the cap by boys is permissible as long as it isn`t done in imitation of the disbelievers. Moreover, a Muslim woman should avoid all that which attracts the attention of men because whatever leads to the forbidden is forbidden. And Allah Knows Best.
Is it permissible for a man to wear transparent clothing?
It is not permissible for a man to wear transparent clothing that reveals his 'Awrah (the area that must be covered). The 'Awrah of a man is "from his navel to his knees", and modesty is more prudent. And Allah Knows Best.
What is the ruling on not offering prayer in a nearby mosque, and going to a distant one?
All perfect praise be to Allah the Lord of the Worlds. May Allah`s peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
Praying in the nearby mosque takes precedence unless there was a circle of knowledge, or a larger congregation in the distant mosque provided that the congregational prayer in the nearby mosque isn`t undermined. And Allah Knows Best.