Changes between Initial Version and Version 1 of Ticket #3856, comment 16
- Timestamp:
- 03/01/2014 05:00:03 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3856, comment 16
initial v1 11 11 12 12 So i thought about it, at first i've tried a patch to remove the activity that was concerning inactive components. Although i really think, that this is something we should do like the check we're doing in the notifications component thanks to the function {{{bp_notifications_get_registered_components()}}}, i thought about plugins. If we were to do that, then a lot of plugins wouldn't have their activity displayed although they're activated. 13 So i've tried a second patch using {{{buddypress()->deactivated_components}}} and "array_intersecting" it with a hardcoded array of components that are generating activities. It was working, but i realized i wasn't in the scope of this ticket. I've checked the way activity was displayed in case a component was inactive, and they are actually displayed :)13 So i've tried a second patch using {{{buddypress()->deactivated_components}}} and "array_intersecting" it with a hardcoded array of components that are generating activities. It was working, but i realized i wasn't in the scope of this ticket. I've checked the way activity was displayed in 1.9.x in case a component was inactive, and they are actually displayed :) 14 14 15 15 So i thought well, having "something happened 3 minutes ago" will avoid having for instance a link to a group that would lead to a 404 :)