It is working now! Thanks guys! It was the variable name top. I changed it to _top and it works perfectly
@PitaJ Issue created at https://github.com/NodeBB/NodeBB/issues/5643
@learner are you taking about using the infinite scroll module? Or implementing your own infinite scroll?
I'm guessing you did this for the latest version? The one that is not compatible with the stable version of nodebb?
Aside from building some pretty if/else blocks, is there any way to specify a distinct template for a particular forum or subforum?