With your back history i don't know if any squats at all are a good idea.

Why don't you use leg curls for your hamstrings and leg press for your quads? Yes, you won't progress like you would with squats but the likelihood of injury ( which you seem to be prone to ) is minimum.

You could also add leg extensions assuming you don't have bad knees as well