Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 23, 20177 yr Hello, system/Content/Content.php /** * @brief [Content\Item] Include this content type in user profiles */ public static $includeInUserProfiles = TRUE; How this should work? I think this should hide a tab in user profile and exclude items or comments or reviews from activity. But this works with items only. Partly. Hide all tabs only. Example I created new event, added comment and review I want to hide Event Comments tab and exclude event comments. I added in applications/calendar/sources/Event/Comment.php /** * @brief [Content\Item] Include this content type in user profiles */ public static $includeInUserProfiles = false; Result I have reverted the changes. Now I want to hide Events tab and exclude events. I added in applications/calendar/sources/Event.php /** * @brief [Content\Item] Include this content type in user profiles */ public static $includeInUserProfiles = false; Result
June 23, 20177 yr Right now it applies to a content item and that content items children (comments/reviews), and does not affect the all activity view. I've raised this internally, however, to see if we can make improvements to the code based on your feedback.
Archived
This topic is now archived and is closed to further replies.