Skip to:
Content
Pages
Categories
Search
Top
Bottom

Is there a way to not log certain posts into database?

  • @tjbrewers

    Participant

    Is there a way to not log certain posts into database, such as “are now friends”, “changed profile”, and “changed avatar”? These messages seem like a waste of data space and clog up the activity stream.

    Thank you!

Viewing 1 replies (of 1 total)
  • @tjbrewers

    Participant

    I see that in plugins/buddypress/bp-friends/bp-friends-functions.php in function friends_accept_friendship( $friendship_id ), I can comment out friends_record_activity() on lines 91-98 and 100-107. But is there an easier way to do this so that I don’t have to touch the bp code directly (i.e. for updates)?

Viewing 1 replies (of 1 total)
  • The topic ‘Is there a way to not log certain posts into database?’ is closed to new replies.
Skip to toolbar