Okay
  Print

How to disable Woffice Notifications & Activity Streams

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------


From the version 2.0.5 Woffice provide powered notifications and activity streams.

If you want disable all notifications or activity streams of your site, you can do it in buddypress settings:

But if you want just disable some or all notifications and activity streams added by Woffice, then you can following lines. Add one or more of them in the functions.php of your child theme.

Notifications:

/* PROJECTS */
//Disable notification of todo assignation
define('WOFFICE_DISABLE_PROJECT_TODO_NOTIFICATION', true);
//Disable notification of member assignation
define('WOFFICE_DISABLE_PROJECT_MEMBER_NOTIFICATION', true);
//Disable notification of comments
define('WOFFICE_DISABLE_PROJECT_COMMENT_NOTIFICATION', true);
/* WIKI */
//Disable notification of likes
define('WOFFICE_DISABLE_WIKI_LIKE_NOTIFICATION', true);
//Disable notification of comments
define('WOFFICE_DISABLE_WIKI_COMMENT_NOTIFICATION', true);
/* BLOG POST */
//Disable notification of likes
define('WOFFICE_DISABLE_BLOG_POST_LIKE_NOTIFICATION', true);
//Disable notification of comments
define('WOFFICE_DISABLE_BLOG_POST_COMMENT_NOTIFICATION', true);

Activity streams:

/* PROJECTS */
//Disable activity stream for project creation and editing
define('WOFFICE_DISABLE_ACTIVITY_STREAM_PROJECT_CREATION', true);
//Disable activity stream for project comments
define('WOFFICE_DISABLE_ACTIVITY_STREAM_PROJECT_COMMENT', true);
/* WIKI */
//Disable activity stream for wiki likes
define('WOFFICE_DISABLE_ACTIVITY_STREAM_WIKI_LIKE', true);
//Disable activity stream for wiki comments
define('WOFFICE_DISABLE_ACTIVITY_STREAM_WIKI_COMMENT', true);
/* BLOG POSTS */
//Disable activity stream for post likes
define('WOFFICE_DISABLE_ACTIVITY_STREAM_BLOG_LIKE', true);
//Disable activity stream for post comments
define('WOFFICE_DISABLE_ACTIVITY_STREAM_BLOG_COMMENT', true)