gnu-social/plugins/InfiniteScroll
Mikael Nordfeldth f110fc5c9a Using GNUSOCIAL_VERSION instead of STATUSNET_VERSION 2013-11-01 13:51:41 +01:00
..
locale Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
InfiniteScrollPlugin.php Using GNUSOCIAL_VERSION instead of STATUSNET_VERSION 2013-11-01 13:51:41 +01:00
README Fix infinite scroll to work on 1.0.x 2011-04-28 13:26:15 -04:00
ajax-loader.gif added Infinite Scroll plugin 2009-08-05 17:09:19 -04:00
infinitescroll.js Fix for #3463. Make InfiniteScroll plugin use config['plugins']['server'] if defined to build ajax-loader.gif URL 2013-06-15 13:13:15 +02:00
jquery.infinitescroll.js Fix regression in last year's update of InfiniteScroll -- having debug off caused breakage due to bad code interpreting every variable as a selector, and jQuery then failing when passed 'false'. 2011-01-06 16:36:57 -08:00
jquery.infinitescroll.min.js added Infinite Scroll plugin 2009-08-05 17:09:19 -04:00

README

Infinite Scroll adds the following functionality to your StatusNet installation:
When a user scrolls towards the bottom of the page, the next page of notices is
automatically retrieved and appended. This means they never need to click "Next
Page", which dramatically increases stickiness.

Note that there is a configuration option to make it so that the plugin doesn't
trigger when the user approaches the bottom of the page, but instead triggers
when the "next" button is clicked.

Installation
============
Add "addPlugin('InfiniteScroll',
    array('setting'=>'value', 'setting2'=>'value2', ...);"
to the bottom of your config.php

Settings
========
on_next_only (false): trigger infinite scroll when the next button is clicked.
Note that this means you really don't have "infinite scrolling" as the trigger
is clicking, not scrolling.

Example
=======
addPlugin('InfiniteScroll', array(
    'on_next_only'=>false
));