BuddyDev

Disable bbPress Forum Actions BuddyPress Activity recording

If you are looking for a way to disable activity recording of various bbPress forum actions, there is no setting to allow it. There is a simple way to do it though.

You can put the following code in your bp-custom.php

and it will disable the BuddyPress Activity recording for various bbPress actions.

How it works:-

bbPress uses a class named “BBP_BuddyPress_Activity” for adding BuddyPress activity recording of various forum actions. If you declare it before bbPress declares it, bbPress won’t redeclare it(it uses class_exists to check) and that way, our dummy class disables the bbPress to BuddyPress activity integration completely.

Leave a Reply

Are you looking for support?

Please ask support questions in BuddyDev Forum and help us serve you better. Please use comment for general discussion/feature suggestions.

Your email address will not be published. All the fields marked as * are required.

If you are posting code, please use <pre> { Your Code Block } </pre>. Example:- <pre> echo $name; </pre>

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">


Subscribe