Don't call blog activity function if 'blogs' or 'activity' is deactivated

Fixes #30