[buddypress-trac] [BuddyPress] #4784: Site Page Comments Don't Reach Activity
buddypress-trac
noreply at wordpress.org
Thu Jan 24 06:47:38 UTC 2013
#4784: Site Page Comments Don't Reach Activity
--------------------------+------------------------------
Reporter: clivoo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Activity | Version: 1.6
Severity: major | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by r-a-y):
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
[http://codex.buddypress.org/developer/customizing/bp-custom-php/ 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.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4784#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list