"Homogeneous and inhomogeneous magnetic phases of constrained dipolar bosons"