For gluing things together that are meant for aquarium use, I would always use aquarium sealant. Not only can you reseal aquariums with it, it's great for gluing rocks and things together for tank decorations. I saw a post on here not too long ago where a guy used to it to glue pieces of slate together to act as a cave for his fish. It was pretty kool.