[MC] Infinite Scroll

[MC] Infinite Scroll 1.0.0 Beta 5

No permission to download
  1. Added: Mobile scrolling distance option. I added this option to help counteract long sidebars below content.
  2. Added: User preference option to disable infinite scrolling. This user preference is enabled by default.
  3. Added: User group permission to use infinite scrolling.
  4. Added: Clicking on Page X in the page divider will now take you to that page.
Known Issues:
  1. AdSense does not work between posts. I'm currently working on getting an AdSense account set up to test this.
  2. Depending on your uBlock configuration, it may block the infinite scrolling script. I changed the ad detection class infinite-scroll-ad-container to infinite-scroll-container to help counter act this. It's working on my end with uBlock enabled, but I would like feedback regarding this.
  • Like
  • Love
Reactions: Ferry and goyo
Beta 3
  • Fix: Better handling for loading procedures in all areas
  • Fix: Better handling for reply stopper in posts
  • Fix: Article forum grid support
  • Added: Page divider for threads and posts. This option is located in style properties to enable.
Screenshot 2025-09-28 at 09-51-03 MC Infinite Scroll XenForo - Admin control panel.webp


Thank for the feedback everyone!
  • Like
Reactions: goyo
Thanks to @ge66 for identifying this problem.
  1. Added: Support for in-between post ads in thread view. For this to work correctly, you need to wrap the ad HTML in the following class container:
Code:
<div class="infinite-scroll-ad-container">
    <!-- ad here -->
</div>
  • Like
Reactions: goyo
Doing a beta round, since more issues have been identified. @Max Taxable has very helpful in testing and identifying problems.
  1. Fixed: S9e Media Embeds were not being initialized after load. This issue has been fixed.
  2. Added: For extremely long threads, it is difficult to reply to it with the infinite loading. So I have added a reply stopper that appears when a user clicks on a reply button in the thread. Once the reply has been clicked, there will be a button under the last post that says "Resume loading". This is a phrase and can be changed.
  3. Added: Added a style property to force top pagination back on mobile. Something I overlooked is that the default theme removes top pagination so it can be difficult to navigate through the thread. Some themes already do this, so I only recommend clicking on this style property if your current theme doesn't do it.
  • Fix: Better handling to prevent duplicate entries at the end of the list.
  • Added: Infinite scrolling to [XB] Forum Content List Tabs
    • Supports Thread tab and News Feed tab
    • 'Show "View more" button' option must be set for each tab for this to work
    • Maximum entries for these tabs should be set to 20 or more.
This is the real reason I made this add-on for my site. It allows a Discourse like view on the index page. You can view my site as demo for this feature.

Screenshot 2025-09-25 at 12-56-15 MC Infinite Scroll XenForo - Admin control panel.webp


Next version will most likely be marked as stable, unless anyone finds something that needs to be fixed.
  • Like
Reactions: goyo
  • Fix: Disabling infinite scroll for threads/posts didn't work properly
  • Fix: Bottom pagination did not come back when infinite scroll was disabled.
  • Added: Scroll distance percentage option. Default is 85%.
Screenshot 2025-09-24 at 12-45-16 Options MC Infinite Scroll altBoards Gaming Forum - Admin c...webp
Back
Top Bottom