Add last_activity attribute to all post types. Add last_activity logic into models and controller.