If you disabled search engines from indexing your site (under “Settings > Reading” in the WP dashboard), then bbPress will not add any activity entries to the site.
Here’s a ticket I posted on the bbPress site about this:
https://bbpress.trac.wordpress.org/ticket/2151
To override this behavior, add the following snippet to your theme’s functions.php:
add_filter( 'bbp_is_site_public', '__return_true' );
Thank you! That was exactly what I was looking for!
hi! i have exactly same problem….
tried inserting add_filter( ‘bbp_is_site_public’, ‘__return_true’ );
into themes functions.php
but it made no difference….
is there a specific place in the .php where the filter needs to go?
many thanks!
Thanks! That worked.
But only for new posts,
is there any way to retroactively list posts created before?
Thanks a lot @r-a-y and @mercime – I have the same issue as @jhave2 – any way of adding older topics and replies to the stream?
Thanks
@biswadip
Using some custom sql is probably the simplest approach for gathering old entries.
But if it’s in the activity stream, those entries should be pushed off the first page very soon so perhaps you can justify not bothering ? 🙂
The filter in the link posted by @mercime writes the forum data from the wp_posts table to the bp_activity table.
So I suppose legacy posts could be transferred from one table to the other by writing the values from the columns of one table to the columns of the other.
But the id of the same entry in the two tables are different so you would need to get the id of the last item in the bp_activity table and then increment the id’s for each new row added from the wp_posts table. I am not experienced enough to be able to estimate the difficulty of this task – does anyone else have any idea?
Good point @shanebp and thanks for the pointer! 🙂