Tagged: activity stream, recent comments
Hi there, I am using your Community Builder theme here: http://test4.savemi.net/lakerholics-blog/. New posts and comments are not automatically refreshing, despite having the box ticked for Activity Auto Refresh and Site Tracking.
Best Regards, Jon.
Hi Jon,
Thank you for using the theme.Please visit dashboard->Settings->BuddyPress->Options and select “BuddyPress Legacy” from the template pack.
Then save it and if the auto refresh is not enabled, enable that and save again.
That will fix it.
Our theme has its own template pack(it does not uses Nouveau or the bundled legacy). Since we can not register a new template pack from theme, we have named it legacy to make it work.
Please try that and let me know if it works or not?
Regards
BrajeshHi Jon,
I still see the BP Nouveau template pack enabled on your test site.Here is what you will see for new activities on Legacy
https://i.imgur.com/KsgZdV7.png
and when you click on “Load Newest”, It will load the new activities without refreshing the page.
Regards
BrajeshHi Brajesh,
Thats weird, because we have changed the settings: https://imgur.com/qzqcQnj
We are not using any caching either.
Regards
Jon
Hi Jon,
Thank you.I see now.
The problem is the home page is using activity shortcode plugin. I am not sure, but I do not remember adding support for loading new activity in it.
Here is your actual activity page
http://test4.savemi.net/activity/This supports auto refresh and loading(This is the page created by BuddyPress).
Regards
BrajeshHi Brajesh,
Yes we use the plugin shortcode so we can add the front end editor to the top of the page above it.
Another question, is there a way to get the activity feed to auto populate with new posts and comments rather than have a “Load Newest” button?
Regards
Jon
Hi Jon,
Thank you.1. You can most probably set the activity as home page.
2. yes it is doable by binding to the event ‘heartbeat:activity:new’. The porblem is we do not expose a public API for doing the fetch.
There is another way like simulate trigger on the load new but there are no events currently fired after that element is appended to the dom. I will be adding an event in the next release.Regards
Brajesh
You must be logged in to reply to this topic.