M.G.
I don't have experience with the gallbadder attacks, but have in the past had trouble with constipation. If your medicine allows I would highly recommend taking Milk of Magnesia. You can call the MD to check. You can get it at places like Walgreens,etc. I took it once a day and it did the trick perfectly. Just take it on a day you are close to a bathroom because when you start to feel like you have to go - it comes on fast.
Hope this is helps and good luck!