Modelling community structure and temporal spreading on complex networks (Computational Social Networks, 2021)