Nonequatorial scalar rings supported by magnetized Schwarzschild-Melvin black holes