Are you saying that the non pi/c can log flying time if he's physically at the controls?
No:
I'm saying that once the OP has his PPL he can fly his mates aeroplane as much as he likes and log it towards his total hours, whoever is in the a/c with him.
Unless it's an examiner for a test/ renewal but I can't be ar sed to go into that one.
I was answering the OP's question/scenario, not yours
Cusco