I have extended the activity streams community component, but the custom code is getting called only in 1 case where activity streams component is dropped under user profile component. When I dropped this component on other pages, the custom code is not getting called.
The use case for extending this component is to remove the repeating behavior of activities. I observed that when any user enters comments or reply on any existing blog posts, the activities are getting repeated along with the original post. I want to remove this repeating behavior and was able to successfully remove when activity streams dropped on the same page where user profile component is configured, but not on other pages.