MyBB Community Forums

Full Version: Endless scrolling in MyBB?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8
tried that, also realized that .post was nothing so i changed it to the correct .item but still no good.
Try swapping it for jQuery document ready. The problem may be that you're initiating it before the threads are loaded. You're also loading masonry after the code so that might also be a problem
Shouldn't this be:

  next        : "a.pagination_next",
        // Enter the selector of the link element that
        // links to the next page. The href attribute
        // of this element will be used to get the items
        // from the next page.

Unless you've changed your pagination.

Edit: Yeah just checked, you should change your selector to what's above.
Sad still no good
Well, while you had a.pagination_next, you also had .masonryitem in the one above it. xD /stalker

a.pagination_next is definitely the right selector, so maybe try it with .item?
She's workin!
Got it working, thanks! Think I messed up the selectors by accidentally overwriting. Had two edit template windows open.

Now to work on the styling and getting masonry playing nice.
Looks great, perfect for what you're using it for too.
https://github.com/webcreate/infinite-ajax-scroll

check out integrating with masonry section ... whenever i add this code it stops working Confused

also integrating with masonry is going to be a pain it seems, the masonry-brick class isn't appending to newly loaded elements.

* brad-t cries

i'll share the finished code publicly once everything is working.
Pages: 1 2 3 4 5 6 7 8