Skip to:
Content
Pages
Categories
Search
Top
Bottom

each editing session of a post is published in activity stream


  • scrittopoli
    Participant

    @scrittopoli

    Hi,
    since I installed the last versions of WP 4.0 and Buddypress 2.1.1 each time I edit a post in a group forum and save it, it appears in the Activity stream. Is there a way to avoid to have the same post reapeted so many times? I asked for a solution to my theme’s support too and this is what they replied:

    “I was curious about this, so I searched through the bbpress code and found two actions that fire when an edit is made to a topic or a reply. I tried using remove_action in my functions.php file, but that didn’t work. It still created a new activity.

    The only way I could get it to work is to comment out the action calls within bbpress core code. That’s not ideal. So again, I suggest you post this question over on the bbpress forum.

    If you want, you can tell them I tried

    global $BBP_BuddyPress_Activity;
    remove_action( 'edit_post', array( $BBP_BuddyPress_Activity , 'topic_update' ) );
    remove_action( 'edit_post', array( $BBP_BuddyPress_Activity , 'reply_update' ) );

    It could be that I’m just doing it wrong. Good luck. Sharmstr”

Viewing 2 replies - 1 through 2 (of 2 total)

  • scrittopoli
    Participant

    @scrittopoli

    Thank you for your help!


    Hugo Ashmore
    Participant

    @hnla

    > I suggest you post this question over on the bbpress forum.

    Yet you are posting on the buddypress help forum! 🙂

    This is a bbPress issue and there is a trac ticket and resolution over on bbp site, likely that will in the next bbp release.

    You could apply the fix manually in the interim if you wished the trac ticket is located here:
    https://bbpress.trac.wordpress.org/ticket/2690

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘each editing session of a post is published in activity stream’ is closed to new replies.
Skip to toolbar