The TS is not building a PIR he's using a HC-SR505 and the opto is not the problem and you don't need two transistors.By far, the most important factor in the success of your sensor is the lens you pair with the sensor.
If he would have just wired it up correctly as in post #2 we wouldn't be having this discussion.