Zp charged branes in flux compactifications