Welcome to Just Answer. I will do my best to fully answer your question(s).
Identifying intermitant plumbing odors are one of the most difficult problems to diagnose. However some things to do to reduce some of the possible sources are, install new wax ring on the toilet/ drain connection and clean the flooring around the toilet with mild bleach solution. Also pour the bleach solution into the overflow areas of the tub and lavatory sink to remove mold buildup in these moist areas. If the smell still occurs then its time to hire a professional to use an odor (gas) dectector to attempt to locate a possible pipe/ vent leak for sewer gas. Look for any drains that are rarely used and put water down them to eliminate traps that have evaporated from lack of use.