I added an additional activity feed to my profile page that queries for a linked user and returns their activity. The problem is, I want to write this over to a function as there will often be other areas of the site that need to use this same query.I added an additional activity feed to my profi