Welcome to HealingWell!
Do you get random attacks or do you battle D on a daily basis? If your episodes are sporatic then I'd guess they are brought on by stress and/or a trigger food. You might want to keep a food diary to see what exactly might be causing you trouble.
If you're battling D on a daily basis then I would consider taking calcium. There's a lot of info on this board regarding calcium and how it helps control daily D.
Do you take any meds or supplements (fiber, vitamins, probiotics, etc.)? Probiotics are great for helping keep a healthy digestive system. Yogurt can also help control IBS symptoms because of the combination of calcium and probiotics.
I think many of us can relate to you regarding pooping in public. I only do it if absolutely necessary. I mean, I've been know to leave a place to run home and use the bathroom (if I'm close enough). Public bathrooms stink!