Skip to:

Opened 4 years ago

Last modified 4 years ago

#4784 new defect (bug)

Site Page Comments Don't Reach Activity

Reported by: clivoo Owned by:
Milestone: Future Release Priority: normal
Severity: major Version: 1.6
Component: Activity Keywords:


I had BP working fine until I updated to latest BP and WP. I then lost all of my Activity comments from my blogs. I tried disabling plugins etc, reverting to buddypress default theme – nothing gives. I’ve done fresh installs on different servers with the same problem.

I think I’ve isolated the problem. Comments on PAGES don't seem to be being added to the Activity stream. All of my recent comments are comments to pages NOT TO POSTS. If I comment to a page it doesn’t appear, if I comment to an old post it does.

Also, network update doesn't add page originated comments either.

I think this happened with 16.0 but it might have been 1.6.1

Change History (3)

#1 @clivoo
4 years ago

  • Component changed from Core to Activity

#2 @r-a-y
4 years ago

By default, BP only records post comments into the activity stream.

To expand this to the 'page' post type, you might want to look at the code snippet in #4106.

Here's something to try in wp-content/plugins/bp-custom.php:

function bp_ticket_4784_record_custom_comment_post_types($cpts) {
   $cpts[] = 'page';

   return $cpts;
add_filter( 'bp_blogs_record_comment_post_types', 'bp_ticket_4784_record_custom_comment_post_types' );

Untested, but give it a shot.

#3 @DJPaul
4 years ago

  • Milestone changed from Awaiting Review to Future Release

Not entirely sure why we don't let page comments into the Activity stream?

Note: See TracTickets for help on using tickets.