Loads content seamlessly as the user scrolls to the bottom of the page.
- Download the latest stable release
- Extract the zip
- Copy the contents of the
upload
folder to the root of your Xenforo installation - Install and activate the add-on in your Admin CP
- Scrolling to the bottom of a content container (e.g. discussions, member lists, search results) loads content via AJAX request.
- Adjustable settings, e.g.
- At what scroll position should new content be loaded, e.g. 100 pixels away from the bottom
- What element's bottom should be used to load new content, e.g. the entire window or the bottom of a discussion
- Whether the new URL should be pushed to the history or used to replace the current
- Like my plugins and have some extra coffee money? Throw it my way!
- Clone or fork the repository
- Create a symbolic link for the AjaxPaging folder in your XF2 installation to the one in the repository directory, e.g.
> mklink /D "C:/Fake User/My Site/src/addons/Shinka/InfiniteScroll" "C:/Fake User/Dev/xf2_ajax_paging/upload/src/addons/Shinka/InfiniteScroll"
Import development output by executing
> php cmd.php xf-dev:import --addon Shinka/InfiniteScroll
- Bump up the version using Xenforo's recommended version ID format and then build
> php cmd.php xf-addon:bump-version Shinka/InfiniteScroll --version-id [version_id] --version-string [version_string]
> php cmd.php xf-addon:build-release Shinka/InfiniteScroll
- Uses a custom XF handler that pigeons code and logic from XFAjaxSubmit
- My JavaScript is terrible, don't emulate me