knee injury

Are squats ok for someone with a history of subluxing their kneecap??

Find the cause and try to fix and/or prevent it. I personally would not do squats or its variants. Strengthen your knees structure (muscles, tendons, ligament , muscle balance, ext) before any heavy squats. Do your home work find out as much as you can about your condition. Remember knowledge is not power but applied knowledge is!