Support » Plugin: Asgaros Forum » Forum posts showing up in Buddypress Activity Stream

  • Resolved naomibuch


    Hi there,

    When posting in the Forum all comments are showing up in the Activity Stream of Buddypress. I like the notifications when a user replies to a post. But not the forum post showing in the activity stream. I have the Asgaros Forum BuddyPress-Integration plugin activated, but when I deactivate the plugin I no longer get Asagros Forum notifications in Buddypress.

    How can I filter the Asgaros forum comments out?

    I already have filters in my theme php file below that filters certain updates out of the Activity Stream below, maybe you can provide Asagros hook?

    function bp_activity_dont_save( $activity_object ) {
        $exclude = array(
        // if the activity type is empty, it stops BuddyPress BP_Activity_Activity::save() function
        if( in_array( $activity_object->type, $exclude ) ) {
            $activity_object->type = false;    
    add_action('bp_activity_before_save', 'bp_activity_dont_save', 10, 1 );



Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Asgaros


    Hello @naomibuch

    I suggest you to remove the following two lines from the activity-integration-plugin:

    add_action('asgarosforum_after_add_post_submit', array($this, 'add_activity_post'), 10, 6);
    add_action('asgarosforum_after_add_topic_submit', array($this, 'add_activity_topic'), 10, 6);

    You can find them both relatively in the top of the plugin-file.



    Hi there,

    I already found it and commented those lines out , I posted on the Asgaros website support forum.

    Thanks a bunch for all your help.


Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.