Check if BP activity component is active before using its API
Merge branch 'master' of https://github.com/WebDevStudios/CollabPress