Input problems with 74HC595

so you can't use the 595 for inputs?

Correct.

That tutorial you posted is good if you use the right chips.