@yariplus a post is related to the existing post if they are in the same category. Hope you could give me a solution 🙂
Issue displaying custom_profile_info when loading posts
I am using the filter:posts.custom_profile_info, which for the most part is working as expected
That is, on first load of the page the info created is visible
However, if the topic contains a lot of posts, and you scroll to load more, it looks like this hook is not fired for these newly displayed posts and the info is not inserted on the page.
Is there an issue with this hook not firing when loading more posts for a topic with a lot of posts
What version/git-revision of nodebb? That hook does fire on first topic load and every following trigger of the infinite load.
v0.6.1 (not sure which git revision)
Certainly seeing it on the first load,
it is the infinite load i am having trouble
(if i do a manual refresh of the page when they dont show up in the infinite load, they will then appear)
is there a way to monitor the trigger/loading in the logs?
Put a console.log here https://github.com/NodeBB/NodeBB/blob/v0.6.x/src/posts/user.js#L63 and see if its triggered on infinite load. I don't think there were any changes to that part of the code betwee 0.6.x and 0.7.0.
cheers, let me work on it after the weekend