if you want to make your magma-forges ect at the lvl, you found the magme, you can simply create a little area to flood with magma. then(or before, however you like) channel single tiles the z-Level above to create your forges/smelter.
all smelter have a solid tile in the middle of the top row. The forge has it on the outer tiles of the middle row. when you place these solid tiles on the channeld part, the building will be powered but wont let anything move through the hole. Even buildingdestoyer cant get through, because creatures cant destoy buildings above them.
If you still want to seal off the area with a floodgate/door, the easiest accesseble materials would be glas (sand can be collected/brought from Caravans), Iron/steel (caravan) or simply obsidian, for whitch you just need water.
IF you have water acceseble you could even use that to seal of the area. While simple ponding seems to have problems at magma-flow (but should work to create an "wall" in the magma) you can still pond it some z-level above.
XP_
XHX
XW_
XMX
X= Wall. Natural or artifical
P= Channel with a declared Pond.
H= Channel to collect the Water.
W= artifical Wall (easier to create the channel)
M= Magma
After you filled the Channel above the Wall with water and the declared area has the desired amoud of Magma inside, simply deconstruct the wall. The water will cool of the Magma creating an Obsidian-wall that seals of the area. Now you just need to seal of the normal walkeble areas, if you haven't done it before.
and for the piston-method you dont need magma-save materials. Constructed Floors dont need to be Magma-save, so you can build the piston this way:
. . . XXXX . . .
___ . XX . ____ <-top level after the piston lands.
XX . .XX . . XX
XX . XXXX . XX
x=Wall
_ = floor
. = open space
This way the Floors dont have contact while the piston is ready to be lunches and therefor dont support it, but will catch the Magma after launching. The only negative part is, that you will loose 2 "blocks" of magma for each tile of the circumference from the Piston. the center will still teleport all its Magma on top of the piston.
The last thing im not sure about: is clay magmasave? and how about ceramic-bricks?