Adding Classifieds and directory activity to buddypress

Hi,

Is it possible to add activity from the classifieds and directory plugins into the activity feed within buddypress?

I have looked at a few forum answers and implemented the following code in my bp-custom.php within the root of the buddypress plugin folder.

function bbg_record_my_custom_post_type_comments( $post_types ) {
$post_types[] = 'classified';
return $post_types;
}
add_filter( 'bp_blogs_record_comment_post_types', 'bbg_record_my_custom_post_type_comments' );

Thanks