Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #3856, comment 16


Ignore:
Timestamp:
03/01/2014 05:00:03 PM (10 years ago)
Author:
imath
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3856, comment 16

    initial v1  
    1111
    1212So 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 :)
     13So 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 :)
    1414
    1515So 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 :)