Peer influence of production and consumption behaviour in an online social network of collective learning