This topic has 5 replies, 3 voices, and was last updated 11 years by guy_fraser.
-
Author
-
April 27, 2014 at 19:01 #16207
vasikgreif
ParticipantIs there a setting to make new blog posts show in the Activity stream, as on the demo page?
I’m also trying to add custom post type with the following code, but I guess that cannot work as long as the regular posts are not showing:
COPY CODEadd_filter ( 'bp_blogs_record_post_post_types', 'activity_publish_custom_post_types',1,1 ); function activity_publish_custom_post_types( $post_types ) { $post_types[] = 'second-hand'; return $post_types; } add_filter('bp_blogs_activity_new_post_action', 'record_cpt_activity_action', 1, 3); function record_cpt_activity_action( $activity_action, $post, $post_permalink ) { global $bp; if( $post->post_type == 'second-hand' ) { $activity_action = sprintf( __( '%1$s created a new second hand item, %2$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '' . $post->post_title . '' ); } return $activity_action; }April 29, 2014 at 12:12 #16350Abe
KeymasterBuddypress is only going to show activity that has taken place after Buddypress has been installed. It will show you any activity after the plugin install
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.April 29, 2014 at 12:16 #16353vasikgreif
ParticipantHi Gabriela, installing BuddyPress was the very first thing I did, but still after adding a new blog post, nothing is in the Activity…
April 29, 2014 at 13:30 #16375guy_fraser
ParticipantYou have to turn on tracking of stuff external to BP, here’s how…
Site Admin > Settings > BuddyPress > Components tab > Tick “Site Tracking” then Save
Attachments:
You must be logged in to view attached files.April 29, 2014 at 13:39 #16378guy_fraser
ParticipantAwesome 🙂 Please mark the topic as Resolved (top of page)
-
AuthorPosts
The topic ‘New blog posts are not showing in the Activity stream’ is closed to new replies.

